mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
fix: type fixes
Type fixes caught by emmylua
This commit is contained in:
committed by
Lewis Russell
parent
4c333fdbb7
commit
3b6084ddf4
@@ -154,7 +154,6 @@ local function lint_match(buf, match, query, lang_context, diagnostics)
|
||||
end
|
||||
end
|
||||
|
||||
--- @private
|
||||
--- @param buf integer Buffer to lint
|
||||
--- @param opts vim.treesitter.query.lint.Opts|QueryLinterNormalizedOpts|nil Options for linting
|
||||
function M.lint(buf, opts)
|
||||
@@ -193,13 +192,11 @@ function M.lint(buf, opts)
|
||||
vim.diagnostic.set(namespace, buf, diagnostics)
|
||||
end
|
||||
|
||||
--- @private
|
||||
--- @param buf integer
|
||||
function M.clear(buf)
|
||||
vim.diagnostic.reset(namespace, buf)
|
||||
end
|
||||
|
||||
--- @private
|
||||
--- @param findstart 0|1
|
||||
--- @param base string
|
||||
function M.omnifunc(findstart, base)
|
||||
|
||||
Reference in New Issue
Block a user