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
This commit is contained in:
Jakub Łuczyński 2020-06-02 15:59:13 +02:00
parent c934ea694c
commit 0b4d4b4140
2 changed files with 32 additions and 45 deletions

View file

@ -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"