From d27b06709cfee2b3edb723001bd695c84b288fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 19 Oct 2023 13:25:12 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(nvim):=20glance?= =?UTF-8?q?=20only=20for=20implementations=20and=20references=20and=20hint?= =?UTF-8?q?=20keyword=20added=20to=20the=20lspconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/lspconfig.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/lspconfig.lua b/.config/nvim/lua/plugins/lspconfig.lua index 3235391d..b271c7a5 100644 --- a/.config/nvim/lua/plugins/lspconfig.lua +++ b/.config/nvim/lua/plugins/lspconfig.lua @@ -3,7 +3,7 @@ return { "neovim/nvim-lspconfig", init = function() local keys = require("lazyvim.plugins.lsp.keymaps").get() - keys[#keys + 1] = { "gd", "Glance definitions", desc = "Goto definition" } + -- keys[#keys + 1] = { "gd", "Glance definitions", desc = "Goto definition" } keys[#keys + 1] = { "gr", "Glance references", desc = "References" } keys[#keys + 1] = { "gy", "Glance type_definitions", desc = "Goto t[y]pe definitions" } keys[#keys + 1] = { "gI", "Glance implementations", desc = "Goto implementations" } @@ -27,6 +27,9 @@ return { }, }, }, + inlay_hints = { + enabled = true, + }, }, }, }