use dofile instead of require
This commit is contained in:
parent
44cde39f72
commit
3cd1ef9e97
1 changed files with 6 additions and 6 deletions
|
@ -13,31 +13,31 @@ in {
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
{
|
{
|
||||||
plugin = nerdtree;
|
plugin = nerdtree;
|
||||||
config = "lua require(\"${./nerdtree.lua}\")";
|
config = "lua dofile(\"${./nerdtree.lua}\")";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
plugin = nerdtree-git-plugin;
|
plugin = nerdtree-git-plugin;
|
||||||
config = "lua require(\"${./nerdtree-git.lua}\")";
|
config = "lua dofile(\"${./nerdtree-git.lua}\")";
|
||||||
}
|
}
|
||||||
vim-devicons
|
vim-devicons
|
||||||
{
|
{
|
||||||
plugin = ctrlp-vim;
|
plugin = ctrlp-vim;
|
||||||
config = "lua require(\"${./ctrlp.lua}\")";
|
config = "lua dofile(\"${./ctrlp.lua}\")";
|
||||||
}
|
}
|
||||||
vim-nix
|
vim-nix
|
||||||
{
|
{
|
||||||
plugin = tagbar;
|
plugin = tagbar;
|
||||||
config = "lua require(\"${./tagbar.lua}\")";
|
config = "lua dofile(\"${./tagbar.lua}\")";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
plugin = vim-airline;
|
plugin = vim-airline;
|
||||||
config = "lua require(\"${./airline.lua}\")";
|
config = "lua dofile(\"${./airline.lua}\")";
|
||||||
}
|
}
|
||||||
copilot-vim
|
copilot-vim
|
||||||
rust-vim # for proper syntax highlighting
|
rust-vim # for proper syntax highlighting
|
||||||
{
|
{
|
||||||
plugin = nvim-lspconfig;
|
plugin = nvim-lspconfig;
|
||||||
config = "lua require(\"${./lsp.lua}\")";
|
config = "lua dofile(\"${./lsp.lua}\")";
|
||||||
}
|
}
|
||||||
vim-gitgutter
|
vim-gitgutter
|
||||||
nvim-web-devicons
|
nvim-web-devicons
|
||||||
|
|
Loading…
Reference in a new issue