From 74d6fe86e63e94a015a1911cdc33895a2c203766 Mon Sep 17 00:00:00 2001 From: alfarel Date: Sun, 7 Sep 2025 00:47:04 +0000 Subject: [PATCH] languages/markdown: add markdown-oxide server option --- docs/release-notes/rl-0.8.md | 2 ++ modules/plugins/languages/markdown.nix | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index 4f8e0a79..b4dd42b4 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -289,6 +289,8 @@ - Fix [blink.cmp] breaking when built-in sources were modified. - Fix [conform.nvim] not allowing disabling formatting on and after save. Use `null` value to disable them if conform is enabled. +- Add [markdown-oxide](https://github.com/Feel-ix-343/markdown-oxide) option to + markdown language module. [TheColorman](https://github.com/TheColorman): diff --git a/modules/plugins/languages/markdown.nix b/modules/plugins/languages/markdown.nix index 0a3f0945..a619e3c8 100644 --- a/modules/plugins/languages/markdown.nix +++ b/modules/plugins/languages/markdown.nix @@ -23,6 +23,13 @@ filetypes = ["markdown" "markdown.mdx"]; root_markers = [".marksman.toml" ".git"]; }; + + markdown-oxide = { + enable = true; + cmd = [(getExe pkgs.markdown-oxide)]; + filetypes = ["markdown"]; + root_markers = [".git" ".obsidian" ".moxide.toml"]; + }; }; defaultFormat = "deno_fmt";