mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
update: lvim, zsh
This commit is contained in:
parent
2921238137
commit
a537caddf0
6 changed files with 40 additions and 46 deletions
|
|
@ -12,7 +12,7 @@ require("dap-install").config("jsnode", {})
|
|||
|
||||
-- Lsp
|
||||
lvim.lang.javascript.lsp.setup.handlers = {
|
||||
["textDocument/publishDiagnostics"] = function(_, _, p, client_id, _, config)
|
||||
["textDocument/publishDiagnostics"] = function(_, _, p, id, _, cfg)
|
||||
if p.diagnostics ~= nil then
|
||||
local i = 1
|
||||
while i <= #p.diagnostics do
|
||||
|
|
@ -23,6 +23,6 @@ lvim.lang.javascript.lsp.setup.handlers = {
|
|||
end
|
||||
end
|
||||
end
|
||||
vim.lsp.diagnostic.on_publish_diagnostics(_, _, p, client_id, _, config)
|
||||
vim.lsp.diagnostic.on_publish_diagnostics(_, _, p, id, _, cfg)
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue