Turn off treesitter auto install and add some core parsers to ensure

installed
This commit is contained in:
Evie Litherland-Smith 2023-06-05 09:54:04 +01:00
parent 2dd9913802
commit a96d1016fd

View file

@ -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" },