From 7966e89d2f4cec8f30f2de51b3140f5941a0b860 Mon Sep 17 00:00:00 2001 From: Uttarayan Mondal Date: Tue, 27 Feb 2024 21:42:01 +0530 Subject: [PATCH] [fix] Fix the neovim config --- config/nix/common/nvim.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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"; }; }; };