fix(nvim): Translate extraLua*Config to nixvim
This commit is contained in:
parent
69d4af68da
commit
270ee14f16
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue