diagnosticls
https://github.com/iamcco/diagnostic-languageserver
Diagnostic language server integrate with linters.
Setup
require'lspconfig'.diagnosticls.setup{}
Default values
cmd = { "diagnostic-languageserver", "--stdio" }
filetypes = {}
root_dir = function(path)
if not path or #path == 0 then
return
end
local result = path:gsub(strip_sep_pat, ''):gsub(strip_dir_pat, '')
if #result == 0 then
return '/'
end
return result
end