mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
fix(treesitter): annotations
- Begin using `@package` in place of `@private` for functions that are accessed internally but outside their defined class. - Rename Node -> TSP.Node
This commit is contained in:
@@ -336,6 +336,8 @@ function TLua2DoX_filter.filter(this, AppStamp, Filename)
|
||||
offset = 1
|
||||
end
|
||||
|
||||
line = line:gsub('@package', '@private')
|
||||
|
||||
if vim.startswith(line, '---@cast')
|
||||
or vim.startswith(line, '---@diagnostic')
|
||||
or vim.startswith(line, '---@type') then
|
||||
|
Reference in New Issue
Block a user