mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
28 lines
834 B
Lua
28 lines
834 B
Lua
-- https://github.com/nvim-treesitter/nvim-treesitter/
|
|
require("nvim-treesitter.configs").setup({
|
|
ensure_installed = "all",
|
|
sync_install = false,
|
|
ignore_install = { "" }, -- List of parsers to ignore installing
|
|
autopairs = {
|
|
enable = true,
|
|
},
|
|
highlight = {
|
|
enable = true, -- false will disable the whole extension
|
|
disable = { "" }, -- list of language that will be disabled
|
|
additional_vim_regex_highlighting = true,
|
|
},
|
|
indent = { enable = true, disable = { "yaml", "css" } },
|
|
context_commentstring = {
|
|
enable = true,
|
|
enable_autocmd = false,
|
|
},
|
|
rainbow = {
|
|
enable = true,
|
|
extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean
|
|
max_file_lines = nil, -- Do not enable for files with more than n lines, int
|
|
},
|
|
playground = {
|
|
enable = true,
|
|
},
|
|
})
|