Hello,
is it possible to use a lexer with file without extension?
For example I want to use lexer "bash skript" for shell skripts which have no explicit file extensions.
Is it alternativly possible to define a "default lexer" when files have a extension without a explicit deligated lexer?
Thanks.
rodario
Use a lexer for files without extension
Possible in this way:
a) you can use CudaText option to detect lexer by first line / filename
http://wiki.freepascal.org/CudaText#File_types_config
b) you can write in lexer's File Types field full names:
a) you can use CudaText option to detect lexer by first line / filename
http://wiki.freepascal.org/CudaText#File_types_config
b) you can write in lexer's File Types field full names:
Code: Select all
/.myname /.bashrc /myname2