[Github-comments] [geany/geany] Highlight syntax for files without an extension (#1899)

elextr notifications at xxxxx
Tue Feb 19 11:33:35 UTC 2019


@toxpal somehow missed your response, filetype detections have nothing to do with Scintilla, the app tells it which highlighting to use.

Note that Geany does in fact detect the prefixes you suggested:

```
<!DOCTYPE html
<html
<?xml
<?php
```
and a whole bunch of `#!` names.  It also allows the filetype to be extracted by regular expression (see `various` prefs).

The order is the list above, then regex then extension.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1899#issuecomment-465095249
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190219/d3ecbcc8/attachment.html>


More information about the Github-comments mailing list