diff options
author | Christian Chiarulli <[email protected]> | 2021-03-09 23:55:11 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-09 23:55:11 -0500 |
commit | 474f961b2a31c0fe8281188150c08cc2849bf4df (patch) | |
tree | 8a25933cd7a63eddbcab05220d702a6ba7c7f2b6 /lua/plugins/treesitter-config.lua | |
parent | 56f65b12a446fe05483a23585dd4e3104205b062 (diff) |
Native LSP, more Lua, less CoC
Diffstat (limited to 'lua/plugins/treesitter-config.lua')
-rw-r--r-- | lua/plugins/treesitter-config.lua | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lua/plugins/treesitter-config.lua b/lua/plugins/treesitter-config.lua new file mode 100644 index 00000000..b9549a46 --- /dev/null +++ b/lua/plugins/treesitter-config.lua @@ -0,0 +1,33 @@ +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 + }, +} + +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 + } +} + +-- require'nvim-treesitter.configs'.setup { +-- refactor = { +-- highlight_current_scope = { enable = false }, +-- }, +-- } + +-- require'nvim-treesitter.configs'.setup { +-- refactor = { +-- smart_rename = { +-- enable = true, +-- keymaps = { +-- smart_rename = "grr", +-- }, +-- }, +-- }, +-- } + |