mirror of
https://github.com/neovim/neovim.git
synced 2026-07-29 03:48:00 +00:00
refactor(api): omit optional param
This commit is contained in:
@@ -644,7 +644,7 @@ function lsp.enable(name, enable)
|
||||
else
|
||||
-- Only ever create autocmd once to reuse computation of config merging.
|
||||
lsp_enable_autocmd_id = lsp_enable_autocmd_id
|
||||
or nvim_on('FileType', api.nvim_create_augroup('nvim.lsp.enable', {}), function(ev)
|
||||
or nvim_on('FileType', api.nvim_create_augroup('nvim.lsp.enable'), function(ev)
|
||||
lsp_enable_callback(ev.buf)
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user