nixos/pkgsets/nvim/lsp/harper.nix

13 lines
221 B
Nix

{
lib,
config,
pkgs,
...
}:
lib.optionalString (lib.elem "nvim::lsp::harper" config.machine.pkgs) # lua
''
lspconfig.harper_ls.setup({
cmd = { "${pkgs.harper}/bin/harper-ls", "--stdio" },
})
''