nvim: add better md support

This commit is contained in:
thomasabishop 2024-10-28 14:00:13 +00:00
parent 435b46a249
commit 192e7d3c23
2 changed files with 74 additions and 72 deletions

View file

@ -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,

View file

@ -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,
}) })