Turn off treesitter auto install and add some core parsers to ensure
installed
This commit is contained in:
parent
2dd9913802
commit
a96d1016fd
|
@ -24,7 +24,19 @@ return {
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
end,
|
end,
|
||||||
opts = {
|
opts = {
|
||||||
auto_install = true,
|
ensure_installed = {
|
||||||
|
"bash",
|
||||||
|
"fish",
|
||||||
|
"gitcommit",
|
||||||
|
"gitignore",
|
||||||
|
"lua",
|
||||||
|
"make",
|
||||||
|
"nix",
|
||||||
|
"python",
|
||||||
|
"vim",
|
||||||
|
"vimdoc",
|
||||||
|
},
|
||||||
|
auto_install = false,
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
disable = { "fortran" },
|
disable = { "fortran" },
|
||||||
|
|
Loading…
Reference in a new issue