mirror of
https://github.com/neovim/neovim.git
synced 2026-05-03 20:45:02 +00:00
fix: lua annotations
This commit is contained in:
committed by
Lewis Russell
parent
c5b9fb2f25
commit
b8273c9a33
@@ -196,6 +196,7 @@ do
|
||||
group = nvim_terminal_augroup,
|
||||
desc = 'Respond to OSC foreground/background color requests',
|
||||
callback = function(args)
|
||||
--- @type integer
|
||||
local channel = vim.bo[args.buf].channel
|
||||
if channel == 0 then
|
||||
return
|
||||
@@ -270,6 +271,7 @@ if tty then
|
||||
-- Wait until Nvim is finished starting to set the option to ensure the
|
||||
-- OptionSet event fires.
|
||||
if vim.v.vim_did_enter == 1 then
|
||||
--- @diagnostic disable-next-line:no-unknown
|
||||
vim.o[option] = value
|
||||
else
|
||||
vim.api.nvim_create_autocmd('VimEnter', {
|
||||
|
||||
Reference in New Issue
Block a user