better formatting for markdown files
This commit is contained in:
parent
c8a544b3e4
commit
8021007d9f
2 changed files with 5 additions and 0 deletions
4
ftplugin/markdown.lua
Normal file
4
ftplugin/markdown.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
vim.opt_local.textwidth = 80
|
||||
vim.opt_local.wrapmargin = 0
|
||||
vim.opt_local.formatoptions:append({ 't' })
|
||||
vim.opt_local.linebreak = true
|
|
@ -18,6 +18,7 @@ return {
|
|||
PRETTIERD_LOCAL_PRETTIER_ONLY = 1,
|
||||
},
|
||||
extra_filetypes = { 'astro' },
|
||||
disabled_filetypes = { 'markdown' },
|
||||
}),
|
||||
null_ls.builtins.formatting.stylua,
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue