From bc0a08394bff1b7881c0ad130893bc7661f18de4 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 12 Jul 2021 23:44:27 +0800 Subject: Add treesitter --- lua/config/treesitter.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lua/config/treesitter.lua (limited to 'lua/config/treesitter.lua') diff --git a/lua/config/treesitter.lua b/lua/config/treesitter.lua new file mode 100644 index 0000000..dc03fdb --- /dev/null +++ b/lua/config/treesitter.lua @@ -0,0 +1,8 @@ +require'nvim-treesitter.configs'.setup { + ensure_installed = {'python', 'cpp', 'lua', 'bash'}, + ignore_install = {}, -- List of parsers to ignore installing + highlight = { + enable = true, -- false will disable the whole extension + disable = {}, -- list of language that will be disabled + }, +} -- cgit v1.2.3