feat(neovim): remove lazy loading

This commit is contained in:
leonhard committed 2026-10-13 15:53:39 +02:00
1 parent f5a6072bb5
commit 4473056bf3
3 files changed
+21 -22

No files matched your search

+10 -14
View File
@@ -3,22 +3,18 @@
programs.nixvim = {
opts.formatexpr = "v:lua.require'conform'.formatexpr()";
keymaps = [
{
key = "<leader>f";
action.__raw = ''
function() require 'conform'.format { async = true } end
'';
options.desc = "Format Buffer";
}
];
plugins.conform-nvim = {
enable = true;
lazyLoad.enable = true;
lazyLoad.settings = {
event = "BufWritePre";
cmd = "ConformInfo";
keys = [
{
__unkeyed-1 = "<leader>f";
__unkeyed-2.__raw = ''
function() require 'conform'.format { async = true } end
'';
desc = "Format Buffer";
}
];
};
settings = {
default_format_opts.lsp_format = "fallback";
format_on_save = {