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) require('nvim-treesitter.configs').setup(final_opts)
''; '';
init = '' init = ''
local runtimepath = vim.opt.runtimepath:get() vim.opt.runtimepath:prepend("${parserDir}")
table.insert(runtimepath, 4, "${parserDir}")
vim.opt.runtimepath = runtimepath
''; '';
priority = 100; priority = 100;
dependencies = [ dependencies = [