diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-11-18 09:26:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 12:26:26 -0500 |
commit | f940e7a5b9919a0494fbd07e39856bd01dfbf840 (patch) | |
tree | 67d2febbbe9d490ff7c454a0d0d176c69abeb6ec /runtime/lua/vim/lsp.lua | |
parent | 36538417f027758ee50faf50c5e4dcc6cb73431d (diff) | |
download | rneovim-f940e7a5b9919a0494fbd07e39856bd01dfbf840.tar.gz rneovim-f940e7a5b9919a0494fbd07e39856bd01dfbf840.tar.bz2 rneovim-f940e7a5b9919a0494fbd07e39856bd01dfbf840.zip |
feat(lsp): add tagfunc (#16103)
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r-- | runtime/lua/vim/lsp.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index 0fc0a7a7aa..6254bb542a 100644 --- a/runtime/lua/vim/lsp.lua +++ b/runtime/lua/vim/lsp.lua @@ -1587,6 +1587,13 @@ function lsp.formatexpr(opts) return 0 end +-- Provides an interface between the built-in client and `tagfunc` +-- +-- Used via `set tagfunc=v:lua.vim.lsp.tagfunc` +function lsp.tagfunc(...) + return require('vim.lsp.tagfunc')(...) +end + ---Checks whether a client is stopped. --- ---@param client_id (Number) |