feat(neovim): remove lazy loading
This commit is contained in:
1 parent
f5a6072bb5
commit
4473056bf3
3 files changed
+18
-19
No files matched your search
@@ -5,7 +5,16 @@
|
||||
blink-pairs.enable = true;
|
||||
blink-cmp = {
|
||||
enable = true;
|
||||
settings.signature.enabled = true;
|
||||
settings = {
|
||||
signature.enabled = true;
|
||||
keymap = {
|
||||
preset = "default";
|
||||
"<CR>" = [
|
||||
"accept"
|
||||
"fallback"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -3,22 +3,18 @@
|
||||
programs.nixvim = {
|
||||
opts.formatexpr = "v:lua.require'conform'.formatexpr()";
|
||||
|
||||
plugins.conform-nvim = {
|
||||
enable = true;
|
||||
lazyLoad.enable = true;
|
||||
lazyLoad.settings = {
|
||||
event = "BufWritePre";
|
||||
cmd = "ConformInfo";
|
||||
keys = [
|
||||
keymaps = [
|
||||
{
|
||||
__unkeyed-1 = "<leader>f";
|
||||
__unkeyed-2.__raw = ''
|
||||
key = "<leader>f";
|
||||
action.__raw = ''
|
||||
function() require 'conform'.format { async = true } end
|
||||
'';
|
||||
desc = "Format Buffer";
|
||||
options.desc = "Format Buffer";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
plugins.conform-nvim = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_format_opts.lsp_format = "fallback";
|
||||
format_on_save = {
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
{
|
||||
programs.nixvim.plugins.which-key = {
|
||||
enable = true;
|
||||
lazyLoad = {
|
||||
enable = true;
|
||||
settings.event = "VimEnter";
|
||||
};
|
||||
};
|
||||
programs.nixvim.plugins.which-key.enable = true;
|
||||
}
|
||||
Reference in new issue
Block a user