From d098a8f9073c64ca99199ebfc0a1fb81c167d10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Fri, 16 Feb 2024 09:46:23 +0100 Subject: [PATCH] refactor(nvim): add parser dir to front of runtimedir --- modules/programs/nvim/plugins/treesitter.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/programs/nvim/plugins/treesitter.nix b/modules/programs/nvim/plugins/treesitter.nix index 31196bd..8401f9f 100644 --- a/modules/programs/nvim/plugins/treesitter.nix +++ b/modules/programs/nvim/plugins/treesitter.nix @@ -56,9 +56,7 @@ with builtins; require('nvim-treesitter.configs').setup(final_opts) ''; init = '' - local runtimepath = vim.opt.runtimepath:get() - table.insert(runtimepath, 4, "${parserDir}") - vim.opt.runtimepath = runtimepath + vim.opt.runtimepath:prepend("${parserDir}") ''; priority = 100; dependencies = [