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
Raw Normal View History

2023-08-08 16:24:15 +03:00
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
},
}