refactor(nvim): use extraLuaConfig instead of wrapped lua

This commit is contained in:
Michael Mandl 2024-07-29 11:16:26 +02:00
parent a5706c6dd1
commit 5a01031a10
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2

View file

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