diff options
| author | Felix Zeller <felixazeller@gmail.com> | 2024-02-29 01:19:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-29 14:19:21 +0800 |
| commit | 8ec68f74bae74abddcc2cbcc77db7fef2b2a95ab (patch) | |
| tree | 01d2969256b98d0e01158428110fe8309f2040fa /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-8ec68f74bae74abddcc2cbcc77db7fef2b2a95ab.tar nvim-lspconfig-8ec68f74bae74abddcc2cbcc77db7fef2b2a95ab.tar.gz nvim-lspconfig-8ec68f74bae74abddcc2cbcc77db7fef2b2a95ab.tar.bz2 nvim-lspconfig-8ec68f74bae74abddcc2cbcc77db7fef2b2a95ab.tar.lz nvim-lspconfig-8ec68f74bae74abddcc2cbcc77db7fef2b2a95ab.tar.xz nvim-lspconfig-8ec68f74bae74abddcc2cbcc77db7fef2b2a95ab.tar.zst nvim-lspconfig-8ec68f74bae74abddcc2cbcc77db7fef2b2a95ab.zip | |
feat: add markdown-oxide lsp (#3030)
* feat: add markdown-oxide lsp
* fix: style
* fix: modify root_dir to include git repos
* fix: fix undefined lspconfig error
* fix: style
* fix: use util
Co-authored-by: Raphael <glephunter@gmail.com>
* fix: use find git ancestor
Co-authored-by: Raphael <glephunter@gmail.com>
* Update markdown_oxide.lua
Co-authored-by: Raphael <glephunter@gmail.com>
---------
Co-authored-by: Raphael <glephunter@gmail.com>
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/markdown_oxide.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/markdown_oxide.lua b/lua/lspconfig/server_configurations/markdown_oxide.lua new file mode 100644 index 00000000..d3fb74f3 --- /dev/null +++ b/lua/lspconfig/server_configurations/markdown_oxide.lua @@ -0,0 +1,19 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + root_dir = util.find_git_ancestor, + single_file_support = true, + filetypes = { 'markdown' }, + cmd = { 'markdown-oxide' }, + }, + docs = { + description = [[ +https://github.com/Feel-ix-343/markdown-oxide + +Markdown language server with advanced linking support made to be completely compatible with Obsidian; An Obsidian Language Server + +Check the readme to see how to get nvim-cmp properly working. + ]], + }, +} |
