Skip to content

Commit

Permalink
feat: update readme with nvim-lspconfig merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Feel-ix-343 committed Feb 29, 2024
1 parent 2893fbd commit 900c5b6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,7 @@ Adjust your neovim config as follows
local lspconfig = require('lspconfig')
local configs = require("lspconfig.configs")

configs["markdown_oxide"] = {
default_config = {
root_dir = lspconfig.util.root_pattern('.git', vim.fn.getcwd()),
filetypes = {"markdown"},
cmd = {"markdown-oxide"} -- This needs to be the path to the markdown-oxide binary, either in your PATH or the full absolute path.
},
on_attach = on_attach, -- do this only if you have an on_attach function already
}

-- Markdown_Oxide is now added to nvim-lspconfig; make sure to update
require("lspconfig").markdown_oxide.setup({
capabilities = capabilities -- ensure that capabilities.workspace.didChangeWatchedFiles.dynamicRegistration = true
})
Expand Down

0 comments on commit 900c5b6

Please sign in to comment.