mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
feat(lsp): add tagfunc (#16103)
This commit is contained in:
committed by
GitHub
parent
36538417f0
commit
f940e7a5b9
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user