From 4cc7fbe714108e9220d49fe920b2cf38359dc817 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Thu, 6 Apr 2023 02:22:23 +0100 Subject: [PATCH] Update comment --- .config/nvim/after/plugin/lsp.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua index 0e1eb46..16110c0 100644 --- a/.config/nvim/after/plugin/lsp.lua +++ b/.config/nvim/after/plugin/lsp.lua @@ -6,7 +6,9 @@ vim.diagnostic.config({ lsp.on_attach(function(client, bufnr) lsp.default_keymaps({buffer = bufnr}) - -- set tagfunc to empty to use default tag jumpingn behaviour withouth going through the lsp + -- Set tagfunc back to empty instead of vim.lsp.tagfunc(), + -- to use default tag jumping behaviour withouth going through the lsp. + -- - see https://neovim.io/doc/user/lsp.html vim.opt.tagfunc = "" end)