2016-03-21 19:16:02 +03:00
|
|
|
# Micro syntax highlighting files
|
|
|
|
|
|
|
|
These are the syntax highlighting files for micro. To install them, just
|
2016-03-23 01:29:56 +03:00
|
|
|
put all the syntax files in `~/.micro/syntax`.
|
2016-03-21 19:16:02 +03:00
|
|
|
|
|
|
|
They are taken from Nano, specifically from [this repository](https://github.com/scopatz/nanorc).
|
|
|
|
Micro syntax files are almost identical to Nano's, except for some key differences:
|
|
|
|
|
2016-03-23 01:29:56 +03:00
|
|
|
* Micro does not use `icolor`. Instead, for a case insensitive match, use the case insensitive flag (`i`) in the regular expression
|
|
|
|
* For example, `icolor green ".*"` would become `color green (i) ".*"`
|
|
|
|
* Micro does not support `start="..." end="..."`. Instead use the `s` flag to match newlines and put `.*?` in the middle
|
|
|
|
* For example `color green start="hello" end="world"` would become `color green (s) "hello.*?world"`
|