micro/runtime
Jöran Karl ceaa143c62
highlighter: Fix regions and patterns inside regions (#2840)
* highlighter: Fix regions and patterns inside regions

* highlighting: Remove 2nd recursive highlightRegion() call

...and add limitGroup checks to pattern search.

* yaml: Add TODO type highlighting

* highlighting: Don't stop in highlightRegion() at empty lines

...because possible region line end pattern must be detected.

* syntax/sh: Correct string handling due to additional pattern handling

* syntax/sh: Remove slash in variables

* highlighter: Accept nested region only in case it's within the current reagion

* highlighter: Accept nested patterns only in case it's within the current reagion

* highlighter: Don't search for nesting in case the region end was found at start
2023-07-11 13:49:12 -07:00
..
colorschemes Fix gruvbox-tc colorscheme (#2240) 2022-07-24 14:11:16 -07:00
help Update copypaste.md (#2826) 2023-07-08 14:08:15 -07:00
plugins Don't auto-detect commenttype if last_ft is empty 2023-02-15 21:57:12 -08:00
syntax highlighter: Fix regions and patterns inside regions (#2840) 2023-07-11 13:49:12 -07:00
README.md Update syntax readme and docs 2017-03-26 18:58:08 -04:00
runtime.go refactor(runtime): simplify AssetDir() (#2761) 2023-02-28 01:31:51 -08:00
runtime_test.go refactor(runtime): simplify AssetDir() (#2761) 2023-02-28 01:31:51 -08:00

Runtime files for Micro

This directory will be embedded in the Go binary for portability, but it may just as well be put in ~/.config/micro. If you would like to make your own colorschemes and syntax files, you can put them in ~/.config/micro/colorschemes and ~/.config/micro/syntax respectively.