From 5553012178d5f1fdde2bccb527e97cdfeeb39d4c Mon Sep 17 00:00:00 2001 From: Tristan Date: Tue, 12 Aug 2025 15:00:41 +0100 Subject: [PATCH] framework: nixvim tweaks --- lib/nixvim.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/nixvim.nix b/lib/nixvim.nix index 1b26adb..55d2a9a 100644 --- a/lib/nixvim.nix +++ b/lib/nixvim.nix @@ -28,6 +28,7 @@ in { scrolloff = 4; smoothscroll = true; ignorecase = true; + winborder = "rounded"; undofile = true; undodir = lua ''vim.fn.expand("$HOME/.local/share/nvim/undo")''; @@ -72,10 +73,10 @@ in { options.desc = "copy to clipboard"; } { - key = "ca"; - action = '' - require("actions-preview").code_actions - ''; + mode = "n"; + options.desc = "LSP Format"; + key = "cf"; + action = luaFunc "vim.lsp.buf.format({async = true;})"; } { key = "";