From b274c58d845ee5aeb51d340c1b25b041b1b42273 Mon Sep 17 00:00:00 2001 From: derped Date: Sat, 14 Dec 2024 21:45:21 +0100 Subject: [PATCH] nvim: add markdown lsp --- pkgsets/nvim/lsp/markdown.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pkgsets/nvim/lsp/markdown.nix diff --git a/pkgsets/nvim/lsp/markdown.nix b/pkgsets/nvim/lsp/markdown.nix new file mode 100644 index 0000000..626e0f8 --- /dev/null +++ b/pkgsets/nvim/lsp/markdown.nix @@ -0,0 +1,13 @@ +{ + lib, + config, + pkgs, + ... +}: + +lib.optionalString (lib.elem "nvim::lsp::markdown" config.machine.pkgs) # lua + '' + lspconfig.marksman.setup { + cmd = { "${pkgs.marksman}/bin/marksman", "server" }, + } + ''