]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/README.md
Remove duplicate PKGBUILD filetype
[micro.git] / runtime / syntax / README.md
index 5d4b2cb7d9963d019e08a2f36028145e370f4766..3a6a52903ce0af31cb49f0e50c6277156c457e9f 100644 (file)
@@ -1,12 +1,39 @@
 # Micro syntax highlighting files
 
 These are the syntax highlighting files for micro. To install them, just
-put all the syntax files in `~/.micro/syntax`.
+put all the syntax files in `~/.config/micro/syntax`.
 
 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:
 
 * 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"`
+
+# Using with colorschemes
+
+Not all of these files have been converted to use micro's colorscheme feature. Most of them just hardcode the colors, which
+can be problematic depending on the colorscheme you use.
+
+Here is a list of the files that have been converted to properly use colorschemes:
+
+* vi
+* go
+* c
+* d
+* markdown
+* html
+* lua
+* swift
+* rust
+* java
+* javascript
+* pascal
+* python
+* ruby
+* sh
+* git
+
+# License
+
+Because the nano syntax files I have modified are distributed under the GNU GPLv3 license, these files are also distributed
+under that license. See [LICENSE](LICENSE).