fix(nvim): Translate extraLua*Config to nixvim

This commit is contained in:
Jalil David Salamé Messina 2024-03-02 22:34:02 +01:00
parent 69d4af68da
commit 270ee14f16
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -61,7 +61,7 @@ in
nixpkgs-fmt nixpkgs-fmt
rust-analyzer rust-analyzer
]; ];
extraLuaPreConfig = '' extraConfigLuaPre = ''
-- Lua Pre Config -- Lua Pre Config
if vim.fn.has 'termguicolors' then if vim.fn.has 'termguicolors' then
-- Enable RGB colors -- Enable RGB colors
@ -77,7 +77,8 @@ in
end end
-- END: Lua Pre Config -- END: Lua Pre Config
''; '';
extraLuaPostConfig = '' extraConfigLuaPost = ''
-- Lua Post Config
do -- Setup cmp-cmdline do -- Setup cmp-cmdline
local cmp = require "cmp" local cmp = require "cmp"
cmp.setup.cmdline("/", { cmp.setup.cmdline("/", {
@ -97,6 +98,7 @@ in
do -- Setup idris2-nvim do -- Setup idris2-nvim
require("idris2").setup { } require("idris2").setup { }
end end
-- END: Lua Post Config
''; '';
}; };
}; };