dotfiles/symlinks/config/nvim/lua/plugin/treesitter.lua

13 lines
487 B
Lua
Raw Normal View History

2021-02-23 11:27:32 +00:00
require'nvim-treesitter.configs'.setup {
ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
highlight = {
2021-02-25 16:06:52 +00:00
enable = true, -- false will disable the whole extension
2021-02-23 11:27:32 +00:00
},
2021-02-25 16:06:52 +00:00
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
}
2021-02-23 11:27:32 +00:00
}