From 2c7fda519662336f81ced84ff4d9a61fb229395a Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Sat, 7 Jun 2025 17:59:28 -0500 Subject: [PATCH] formatting --- home.nix | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/home.nix b/home.nix index 8d45f69..4925d84 100755 --- a/home.nix +++ b/home.nix @@ -253,18 +253,18 @@ yamlls.enable = true; }; - keymaps = { + keymaps = { silent = true; - lspBuf = { - gd = { - action = "definition"; - desc = "Goto Definition"; - }; + lspBuf = { + gd = { + action = "definition"; + desc = "Goto Definition"; + }; gr = { action = "references"; desc = "Goto References"; }; - gD = { + gD = { action = "declaration"; desc = "Goto Declaration"; }; @@ -272,7 +272,7 @@ action = "implementation"; desc = "Goto Implementation"; }; - gT = { + gT = { action = "type_definition"; desc = "Type Definition"; }; @@ -284,28 +284,30 @@ action = "workspace_symbol"; desc = "Workspace Symbol"; }; - "cr" = { + "cr" = { action = "rename"; desc = "Rename"; }; }; - diagnostic = { - "cd" = { - action = "open_float"; - desc = "Line Diagnostics"; - }; + + diagnostic = { + "cd" = { + action = "open_float"; + desc = "Line Diagnostics"; + }; "]d" = { - action = "goto_next"; + action = "goto_next"; desc = "Next Diagnostic"; }; "[d" = { action = "goto_prev"; desc = "Previous Diagnostic"; }; - }; - }; + }; + }; }; }; + extraConfigLua = '' local _border = "rounded" @@ -317,12 +319,12 @@ vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with( vim.lsp.handlers.signature_help, { - border = _border - } + border = _border + } ) vim.diagnostic.config{ - float={border=_border} + float={border=_border} }; require('lspconfig.ui.windows').default_options = {