chore(nvim): fix deprecation warnings
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
1b22a41415
commit
638957dbb5
1 changed files with 9 additions and 3 deletions
|
@ -33,15 +33,21 @@ in {
|
|||
tbl[v] = k;
|
||||
end
|
||||
end;
|
||||
vim.diagnostic.is_disabled = function()
|
||||
return not vim.diagnostic.is_enabled();
|
||||
end;
|
||||
vim.tbl_islist = function(tbl)
|
||||
return vim.islist(tbl);
|
||||
end;
|
||||
vim.tbl_flatten = function(tbl)
|
||||
return vim.iter(tbl):flatten():totable();
|
||||
end;
|
||||
vim.diagnostic.is_disabled = function()
|
||||
return not vim.diagnostic.is_enabled();
|
||||
end;
|
||||
vim.lsp.buf_get_clients = function()
|
||||
return vim.lsp.get_clients();
|
||||
end;
|
||||
vim.lsp.get_active_clients = function()
|
||||
return vim.lsp.get_clients();
|
||||
end;
|
||||
|
||||
-- Start completion / snippet stuff
|
||||
vim.g.coq_settings = {
|
||||
|
|
Loading…
Reference in a new issue