diff options
author | Christian Chiarulli <[email protected]> | 2021-03-14 15:10:28 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-14 15:10:28 -0400 |
commit | 0dc3c5030b778d5256cad5d9529e9ecf7fbfb233 (patch) | |
tree | 420e44f62d95d138eec36baa4d1bd5b6c9390ae6 /lua/nv-treesitter/init.lua | |
parent | d002b0419a8621c5575c14119d0b8d9c4a7a44a0 (diff) |
The Lua Journey Begins...
Diffstat (limited to 'lua/nv-treesitter/init.lua')
-rw-r--r-- | lua/nv-treesitter/init.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/nv-treesitter/init.lua b/lua/nv-treesitter/init.lua new file mode 100644 index 00000000..f0ecf6ac --- /dev/null +++ b/lua/nv-treesitter/init.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 + }, + 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 + }, + rainbow = { + enable = false + } +} + |