refactor(nvim): add parser dir to front of runtimedir

nixos
Moritz Böhme 2024-02-16 09:46:23 +01:00
parent 591f981e71
commit d098a8f907
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 1 additions and 3 deletions

View File

@ -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 = [