diff options
author | Chris <[email protected]> | 2020-10-28 01:09:14 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2020-10-28 01:09:14 -0400 |
commit | ab0eb1b4230a67bd5912fb2c93a53d829271c546 (patch) | |
tree | 7b20d6c316370f2d30aac8b3ef24377b93cc723b /lua/treesitter.lua | |
parent | 07c81eaa31a0138dee4cee04d4c609871efd6bff (diff) |
we on .5 now
Diffstat (limited to 'lua/treesitter.lua')
-rw-r--r-- | lua/treesitter.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/treesitter.lua b/lua/treesitter.lua new file mode 100644 index 00000000..106c3731 --- /dev/null +++ b/lua/treesitter.lua @@ -0,0 +1,16 @@ +require'nvim-treesitter.configs'.setup { + ensure_installed = "all", -- one of "all", "maintained" (parsers with maintainers), or a list of languages + highlight = { + enable = true, -- false will disable the whole extension + disable = { "c", "rust" }, -- list of language that will be disabled + }, +} + +require "nvim-treesitter.configs".setup { + playground = { + enable = true, + disable = {}, + updatetime = 25, -- Debounced time for highlighting nodes in the playground from source code + persist_queries = false -- Whether the query persists across vim sessions + } +} |