feat(lsp): add tagfunc (#16103)

This commit is contained in:
Michael Lingelbach
2021-11-18 09:26:26 -08:00
committed by GitHub
parent 36538417f0
commit f940e7a5b9
2 changed files with 79 additions and 0 deletions

View File

@@ -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)