use dofile instead of require

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-12 21:54:08 +01:00
parent 44cde39f72
commit 3cd1ef9e97
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -13,31 +13,31 @@ in {
plugins = with pkgs.vimPlugins; [
{
plugin = nerdtree;
config = "lua require(\"${./nerdtree.lua}\")";
config = "lua dofile(\"${./nerdtree.lua}\")";
}
{
plugin = nerdtree-git-plugin;
config = "lua require(\"${./nerdtree-git.lua}\")";
config = "lua dofile(\"${./nerdtree-git.lua}\")";
}
vim-devicons
{
plugin = ctrlp-vim;
config = "lua require(\"${./ctrlp.lua}\")";
config = "lua dofile(\"${./ctrlp.lua}\")";
}
vim-nix
{
plugin = tagbar;
config = "lua require(\"${./tagbar.lua}\")";
config = "lua dofile(\"${./tagbar.lua}\")";
}
{
plugin = vim-airline;
config = "lua require(\"${./airline.lua}\")";
config = "lua dofile(\"${./airline.lua}\")";
}
copilot-vim
rust-vim # for proper syntax highlighting
{
plugin = nvim-lspconfig;
config = "lua require(\"${./lsp.lua}\")";
config = "lua dofile(\"${./lsp.lua}\")";
}
vim-gitgutter
nvim-web-devicons