diff --git a/config/nix/common/nvim.nix b/config/nix/common/nvim.nix index a2e008f3..bd02e3a4 100644 --- a/config/nix/common/nvim.nix +++ b/config/nix/common/nvim.nix @@ -8,7 +8,7 @@ ''; options = { number = true; - relativenumberr = true; + relativenumber = true; }; plugins = { lspconfig = { @@ -31,15 +31,15 @@ }; mappings = { normal = { - "ff" = "require'telescope.builtin'.find_files()"; - "gg" = "require'telescope.builtin'.live_grep()"; - ";" = "require'telescope.builtin'.buffers()"; - "" = ""; - "vff" = "vertical Gdiffsplit"; - "" = "vim.lsp.buf.definition()"; - "gi" = "vim.lsp.buf.implementation()"; - "a" = "vim.lsp.buf.code_action()"; - "F" = "vim.lsp.buf.format( async = true )"; + "ff" = "require'telescope.builtin'.find_files"; + "gg" = "require'telescope.builtin'.live_grep"; + ";" = "require'telescope.builtin'.buffers"; + "" = "''"; + "vff" = "'vertical Gdiffsplit'"; + "" = "vim.lsp.buf.definition"; + "gi" = "vim.lsp.buf.implementation"; + "a" = "vim.lsp.buf.code_action"; + "F" = "function() vim.lsp.buf.format({ async = true }) end"; }; }; };