mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
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:
parent
c934ea694c
commit
0b4d4b4140
2 changed files with 32 additions and 45 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue