diff options
Diffstat (limited to 'nvim/.config')
-rw-r--r-- | nvim/.config/nvim/lua/tobyvin/lsp/configs.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua b/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua index 0e92e0f..99663a8 100644 --- a/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua +++ b/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua @@ -165,7 +165,9 @@ local M = { { title = client.name } ) elseif resp.result then - vim.ui.open(resp.result["local"] or resp.result.web or resp.result) + local url = resp.result["local"] or resp.result.web or resp.result + url = string.gsub(url, "/macros/macro%.", "/macro%.") + vim.ui.open(url) end return "<Ignore>" end |