This commit is contained in:
Lee Tang
2022-03-12 08:41:28 +08:00
commit 6fa77b0a86
37 changed files with 1944 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
-- treesitter
require('nvim-treesitter.configs').setup({
ensure_installed = 'maintained', -- one of "all", "maintained" (parsers with maintainers), or a list of languages
ignore_install = { 'javascript' }, -- List of parsers to ignore installing
highlight = {
enable = true, -- false will disable the whole extension
disable = {}, -- list of language that will be disabled
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = false,
},
})