refactor(nvim): use extraLuaConfig instead of wrapped lua

main
mandlm 2024-07-29 11:16:26 +02:00
parent a5706c6dd1
commit 5a01031a10
Signed by: mandlm
GPG Key ID: 088ED38F036C7AF2
1 changed files with 32 additions and 34 deletions

View File

@ -137,8 +137,7 @@
luaPackages.pathlib-nvim luaPackages.pathlib-nvim
]; ];
extraConfig = '' extraLuaConfig = ''
lua << EOF
${builtins.readFile ./keymaps.lua } ${builtins.readFile ./keymaps.lua }
${builtins.readFile ./options.lua } ${builtins.readFile ./options.lua }
${builtins.readFile ./commands.lua } ${builtins.readFile ./commands.lua }
@ -175,7 +174,6 @@
require("nvim-autopairs").setup({}) require("nvim-autopairs").setup({})
require("neogen").setup({ snippet_engine = "luasnip" }) require("neogen").setup({ snippet_engine = "luasnip" })
EOF
''; '';
}; };
}; };