refator(nvim): move neodev config to seperate file
parent
55d8df866b
commit
d7cdc05b3d
|
@ -132,16 +132,7 @@ with builtins;
|
|||
}
|
||||
{
|
||||
plugin = neodev-nvim;
|
||||
conf = /* lua */ ''
|
||||
require("neodev").setup({
|
||||
override = function(root_dir, library)
|
||||
if root_dir:find("/home/moritz/.dotfiles/", 1, true) == 1 then
|
||||
library.enabled = true
|
||||
library.plugins = true
|
||||
end
|
||||
end,
|
||||
})
|
||||
'';
|
||||
conf = readFile ./neodev-nvim.lua;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
require("neodev").setup({
|
||||
override = function(root_dir, library)
|
||||
if root_dir:find("/home/moritz/.dotfiles/", 1, true) == 1 then
|
||||
library.enabled = true
|
||||
library.plugins = true
|
||||
end
|
||||
end,
|
||||
})
|
Loading…
Reference in New Issue