nixvim
nixvim copied to clipboard
[PLUGIN REQUEST] markdown-oxide
| Field | Description |
|---|---|
| Plugin | markdown-oxide |
| Homepage | https://github.com/Feel-ix-343/markdown-oxide |
| Nixpkgs | pkgs.markdown-oxide |
Extra Information
This request is to include markdown-oxide as a server managed by the lsp plugin. From the website:
"Markdown-Oxide is a Personal Knowledge Management System(PKM) that composes with your favorite text-editor through the Language Server Protocol(LSP)."
I don't know how to go about doing this myself, or I would submit a pull request. I think I have it working using extraConfigLua as follows:
{
extraPackages = [ pkgs.markdown-oxide ];
extraConfigLua = ''
local capabilities = vim.lsp.protocol.make_client_capabilities()
require('lspconfig').markdown_oxide.setup({
on_attach = _M.lspOnAttach,
capabilities = "vim.tbl_deep_extend( 'force', capabilities or {}, { workspace = { didChangeWatchedFiles = { dynamicRegistration = true, }, }, })"
})
'';
}