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

This commit is contained in:
Moritz Böhme 2024-02-16 09:46:23 +01:00
parent 591f981e71
commit d098a8f907
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

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