diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/markdown_oxide.lua | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lua/lspconfig/server_configurations/markdown_oxide.lua b/lua/lspconfig/server_configurations/markdown_oxide.lua index d3fb74f3..1ce2822a 100644 --- a/lua/lspconfig/server_configurations/markdown_oxide.lua +++ b/lua/lspconfig/server_configurations/markdown_oxide.lua @@ -1,9 +1,8 @@ -local util = require 'lspconfig.util' - return { default_config = { - root_dir = util.find_git_ancestor, - single_file_support = true, + root_dir = function(fname, _) + return require("lspconfig").util.root_pattern('.git', '.obsidian', '.moxide.toml')(fname) or vim.uv.cwd() + end, filetypes = { 'markdown' }, cmd = { 'markdown-oxide' }, }, @@ -11,9 +10,12 @@ return { 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 +Let's record your consciousness! Bring your own text editor! +Implemented as a language server compatible with any text +editor, Markdown-Oxide is attempting to be the best PKM +system for software enthusiasts. -Check the readme to see how to get nvim-cmp properly working. +Check the readme to see how to properly setup nvim-cmp. ]], }, } |
