mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +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:
@@ -17,6 +17,7 @@ local query = vim.treesitter.query
|
||||
local TSHighlighter = rawget(vim.treesitter, 'TSHighlighter') or {}
|
||||
TSHighlighter.__index = TSHighlighter
|
||||
|
||||
--- @nodoc
|
||||
TSHighlighter.active = TSHighlighter.active or {}
|
||||
|
||||
---@class TSHighlighterQuery
|
||||
@@ -205,7 +206,6 @@ function TSHighlighter:get_query(lang)
|
||||
return self._queries[lang]
|
||||
end
|
||||
|
||||
---@private
|
||||
---@param self TSHighlighter
|
||||
---@param buf integer
|
||||
---@param line integer
|
||||
|
||||
Reference in New Issue
Block a user