refactor(nvim): remove setting rtp for treesitter parser directory
This commit is contained in:
parent
f912a59015
commit
5df8610aa0
@ -127,10 +127,6 @@ return {
|
|||||||
"RRethy/nvim-treesitter-endwise",
|
"RRethy/nvim-treesitter-endwise",
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
local treesitter_dir = vim.fn.stdpath("data") .. "/treesitter"
|
|
||||||
|
|
||||||
vim.opt.runtimepath:append(treesitter_dir)
|
|
||||||
|
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup({
|
||||||
parser_install_dir = treesitter_dir,
|
parser_install_dir = treesitter_dir,
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user