This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/nvim/lua/plugin/treesitter.lua

24 lines
577 B
Lua

require('nvim-treesitter.configs').setup {
ensure_installed = "all",
sync_install = false,
auto_install = false,
-- ignore_install = { "javascript" },
-- parser_install_dir = "/some/path/to/store/parsers", -- Remember to run vim.opt.runtimepath:append("/some/path/to/store/parsers")!
highlight = {
enable = true,
use_languagetree = true,
-- disable = { "c" },
additional_vim_regex_highlighting = false,
},
indent = {
enable = true,
-- disable = {"python"}
},
autotag = {
enable = true
},
rainbow = {
enable = true
},
}