fix(nvim): get rid of treesitter autoinstall

This commit is contained in:
matt1432 2023-11-26 00:01:28 -05:00
parent 1f6c5f875f
commit 32741bf90b

View file

@ -1,12 +1,8 @@
lua << EOF lua << EOF
local path = "/home/matt/.cache/nvim/"
require('nvim-treesitter.configs').setup({ require('nvim-treesitter.configs').setup({
highlight = { enable = true }, highlight = { enable = true },
indent = { enable = true }, indent = { enable = true },
parser_install_dir = path,
auto_install = true,
}) })
require('treesitter-context').setup({ require('treesitter-context').setup({
@ -15,7 +11,6 @@ require('treesitter-context').setup({
min_window_height = 20, min_window_height = 20,
}) })
vim.opt.runtimepath:append(path)
EOF EOF
" Add line under context " Add line under context