commit 25ed5b843d027c0e3071157a235dbc56f86d35e8
parent 95bd40706b19a6df41a25fa08726639663552acb
Author: Thomas Vigouroux <thomas.vigouroux@protonmail.com>
Date: Fri, 26 Aug 2022 10:37:40 +0200
fix(lsp): correctly set tagfunc
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua/lsp_config.lua b/lua/lsp_config.lua
@@ -44,7 +44,7 @@ local function on_attach(client, bufnr)
set_keymap('gR', require "telescope.builtin".lsp_references)
set_keymap('<Leader>s', require "telescope.builtin".lsp_dynamic_workspace_symbols)
- vim.opt_local.tagfunc = vim.lsp.tagfunc
+ vim.opt_local.tagfunc = "v:lua.vim.lsp.tagfunc"
local f = nil
for _, path in pairs(vim.lsp.buf.list_workspace_folders()) do