nixos/pkgsets/nvim/lsp/harper.nix

14 lines
221 B
Nix
Raw Permalink Normal View History

{
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" },
})
''