nvim: add better md support
This commit is contained in:
parent
435b46a249
commit
192e7d3c23
2 changed files with 74 additions and 72 deletions
|
@ -31,6 +31,8 @@ opt.wrap = false
|
||||||
opt.formatoptions = "cro"
|
opt.formatoptions = "cro"
|
||||||
opt.backspace = "indent,eol,start"
|
opt.backspace = "indent,eol,start"
|
||||||
opt.conceallevel = 0
|
opt.conceallevel = 0
|
||||||
|
opt.spelllang = "en_gb"
|
||||||
|
vim.opt.spell = true
|
||||||
|
|
||||||
diagnostic.config({
|
diagnostic.config({
|
||||||
virtual_text = false,
|
virtual_text = false,
|
||||||
|
|
|
@ -66,7 +66,7 @@ return {
|
||||||
end,
|
end,
|
||||||
|
|
||||||
["marksman"] = function()
|
["marksman"] = function()
|
||||||
nvim_lsp["pyright"].setup({
|
nvim_lsp["marksman"].setup({
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue