diff options
| author | Jakub Łuczyński <doubleloop@o2.pl> | 2020-06-02 15:59:13 +0200 |
|---|---|---|
| committer | Jakub Łuczyński <doubleloop@o2.pl> | 2020-06-21 00:11:58 +0200 |
| commit | 0b4d4b41408ff027888232f951000ca9d2e01fe4 (patch) | |
| tree | 1b620be74b3bce24e34d2c7ca19bb439ea357dd8 /lua | |
| parent | c934ea694cbd8a96fae23aad4406819797e9df45 (diff) | |
Updated python highlights
* allow for digits in constant names
* removed redundant/conflicting rules
* added missing hlmap
* fixed escape_sequence
* more explicit @constructor assignment
* added rules for function decoration identifiers
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/highlight.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/highlight.lua b/lua/nvim-treesitter/highlight.lua index ac46010b..0086fcb0 100644 --- a/lua/nvim-treesitter/highlight.lua +++ b/lua/nvim-treesitter/highlight.lua @@ -13,6 +13,7 @@ local hlmap = vim.treesitter.TSHighlighter.hl_map hlmap.error = "Error" hlmap["punctuation.delimiter"] = "Delimiter" hlmap["punctuation.bracket"] = "Delimiter" +hlmap["punctuation.special"] = "Delimiter" -- Constants hlmap["constant"] = "Constant" |
