From ab0eb1b4230a67bd5912fb2c93a53d829271c546 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 28 Oct 2020 01:09:14 -0400 Subject: we on .5 now --- lua/treesitter.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lua/treesitter.lua (limited to 'lua') 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 + } +} -- cgit v1.2.3