From 5df8610aa0b872956bd9cab1ae7f44fd3b128070 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 8 Nov 2023 21:42:37 -0600 Subject: [PATCH] refactor(nvim): remove setting rtp for treesitter parser directory --- dots/.config/nvim/lua/plugins/configs/treesitter.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/treesitter.lua b/dots/.config/nvim/lua/plugins/configs/treesitter.lua index 1de4ede7..70040e8f 100644 --- a/dots/.config/nvim/lua/plugins/configs/treesitter.lua +++ b/dots/.config/nvim/lua/plugins/configs/treesitter.lua @@ -127,10 +127,6 @@ return { "RRethy/nvim-treesitter-endwise", }, config = function() - local treesitter_dir = vim.fn.stdpath("data") .. "/treesitter" - - vim.opt.runtimepath:append(treesitter_dir) - require("nvim-treesitter.configs").setup({ parser_install_dir = treesitter_dir, auto_install = true,