Skip to content

zls

https://github.com/zigtools/zls

       `Zig LSP implementation + Zig Language Server`.

Setup

require'lspconfig'.zls.setup{}

Default values

cmd = { "zls" }
filetypes = { "zig", "zir" }
root_dir = function(fname)
      return util.root_pattern('zls.json', '.git')(fname) or util.path.dirname(fname)
    end,
Back to top