diff options
| author | Akin Sowemimo <akin.sowemimo@gmail.com> | 2020-08-09 15:13:37 +0100 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-08-09 19:12:26 +0200 |
| commit | 1427c43cf0677fe221a44bc226b20e0c6538291a (patch) | |
| tree | 3249fa7fba4a720f329d9836ab3f0e6923ae43a0 /lua | |
| parent | Add break and increment operators and tweak formatting (diff) | |
| download | nvim-treesitter-1427c43cf0677fe221a44bc226b20e0c6538291a.tar nvim-treesitter-1427c43cf0677fe221a44bc226b20e0c6538291a.tar.gz nvim-treesitter-1427c43cf0677fe221a44bc226b20e0c6538291a.tar.bz2 nvim-treesitter-1427c43cf0677fe221a44bc226b20e0c6538291a.tar.lz nvim-treesitter-1427c43cf0677fe221a44bc226b20e0c6538291a.tar.xz nvim-treesitter-1427c43cf0677fe221a44bc226b20e0c6538291a.tar.zst nvim-treesitter-1427c43cf0677fe221a44bc226b20e0c6538291a.zip | |
Change capture groups and add variable highlights
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/highlight.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/highlight.lua b/lua/nvim-treesitter/highlight.lua index 1737d526c..ed2d7e301 100644 --- a/lua/nvim-treesitter/highlight.lua +++ b/lua/nvim-treesitter/highlight.lua @@ -54,6 +54,10 @@ hlmap["type.builtin"] = "TSTypeBuiltin" hlmap["structure"] = "TSStructure" hlmap["include"] = "TSInclude" +-- variable +hlmap["variable"] = "TSVariable" +hlmap["variable.builtin"] = "TSVariableBuiltin" + -- Text hlmap["text"] = "TSText" hlmap["text.strong"] = "TSStrong" |
