mirror of
https://github.com/neovim/neovim.git
synced 2025-11-14 22:39:08 +00:00
refactor(lua): consistent use of local aliases
This commit is contained in:
committed by
Christian Clason
parent
a33284c2c0
commit
c10e36fc01
@@ -365,7 +365,7 @@ local function trigger_event(p, event_name, kind)
|
||||
spec.version = spec.version or (uv.fs_stat(p.path) and git_get_default_branch(p.path))
|
||||
|
||||
local data = { kind = kind, spec = spec, path = p.path }
|
||||
vim.api.nvim_exec_autocmds(event_name, { pattern = p.path, data = data })
|
||||
api.nvim_exec_autocmds(event_name, { pattern = p.path, data = data })
|
||||
end
|
||||
|
||||
--- @param title string
|
||||
|
||||
Reference in New Issue
Block a user