refactor(nvim): use extraLuaConfig instead of wrapped lua
This commit is contained in:
parent
a5706c6dd1
commit
5a01031a10
1 changed files with 32 additions and 34 deletions
|
@ -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
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue