]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/README.md
convert tex.micro to use micro's colorscheme feature
[micro.git] / runtime / syntax / README.md
1 # Micro syntax highlighting files
2
3 These are the syntax highlighting files for micro. To install them, just
4 put all the syntax files in `~/.config/micro/syntax`.
5
6 They are taken from Nano, specifically from [this repository](https://github.com/scopatz/nanorc).
7 Micro syntax files are almost identical to Nano's, except for some key differences:
8
9 * Micro does not use `icolor`. Instead, for a case insensitive match, use the case insensitive flag (`i`) in the regular expression
10     * For example, `icolor green ".*"` would become `color green (i) ".*"`
11
12 # Using with colorschemes
13
14 Not all of these files have been converted to use micro's colorscheme feature. Most of them just hardcode the colors, which
15 can be problematic depending on the colorscheme you use.
16
17 Here is a list of the files that have been converted to properly use colorschemes:
18
19 * vi
20 * go
21 * c
22 * d
23 * markdown
24 * html
25 * lua
26 * swift
27 * rust
28 * java
29 * javascript
30 * pascal
31 * python
32 * ruby
33 * sh
34 * git
35 * tex
36
37 # License
38
39 Because the nano syntax files I have modified are distributed under the GNU GPLv3 license, these files are also distributed
40 under that license. See [LICENSE](LICENSE).