mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
docs(lua): more improvements (#24387)
* docs(lua): teach lua2dox how to table * docs(lua): teach gen_vimdoc.py about local functions No more need to mark local functions with @private * docs(lua): mention @nodoc and @meta in dev-lua-doc * fixup! Co-authored-by: Justin M. Keyes <justinkz@gmail.com> --------- Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:
@@ -7,7 +7,6 @@ local M = {}
|
||||
|
||||
-- FIXME: DOC: Expose in vimdocs
|
||||
|
||||
---@private
|
||||
--- Writes to error buffer.
|
||||
---@param ... string Will be concatenated before being written
|
||||
local function err_message(...)
|
||||
@@ -246,7 +245,6 @@ M['textDocument/references'] = function(_, result, ctx, config)
|
||||
end
|
||||
end
|
||||
|
||||
---@private
|
||||
--- Return a function that converts LSP responses to list items and opens the list
|
||||
---
|
||||
--- The returned function has an optional {config} parameter that accepts a table
|
||||
@@ -380,7 +378,6 @@ end
|
||||
--see: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_hover
|
||||
M['textDocument/hover'] = M.hover
|
||||
|
||||
---@private
|
||||
--- Jumps to a location. Used as a handler for multiple LSP methods.
|
||||
---@param _ nil not used
|
||||
---@param result (table) result of LSP method; a location or a list of locations.
|
||||
|
Reference in New Issue
Block a user