diff options
| author | jdhao <jdhao@hotmail.com> | 2021-07-12 23:44:27 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-07-12 23:47:11 +0800 |
| commit | bc0a08394bff1b7881c0ad130893bc7661f18de4 (patch) | |
| tree | 81fcb82fb7c23d4bdb81b948758356f993be97b7 /lua/config | |
| parent | b9801dd0bc45d06851d609d1d83052eef780663c (diff) | |
Add treesitter
Diffstat (limited to 'lua/config')
| -rw-r--r-- | lua/config/treesitter.lua | 8 |
1 files changed, 8 insertions, 0 deletions
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 + }, +} |
