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 | Merge pull request #68 from TravonteD/html (diff) | |
| download | nvim-treesitter-0b4d4b41408ff027888232f951000ca9d2e01fe4.tar nvim-treesitter-0b4d4b41408ff027888232f951000ca9d2e01fe4.tar.gz nvim-treesitter-0b4d4b41408ff027888232f951000ca9d2e01fe4.tar.bz2 nvim-treesitter-0b4d4b41408ff027888232f951000ca9d2e01fe4.tar.lz nvim-treesitter-0b4d4b41408ff027888232f951000ca9d2e01fe4.tar.xz nvim-treesitter-0b4d4b41408ff027888232f951000ca9d2e01fe4.tar.zst nvim-treesitter-0b4d4b41408ff027888232f951000ca9d2e01fe4.zip | |
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 ac46010bb..0086fcb0d 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" |
