feat: authoring plugins

This commit is contained in:
Thomas Alcala Schneider 2023-05-20 13:46:50 +02:00
parent dfc3c98bf6
commit 3cdca2add9
No known key found for this signature in database
GPG key ID: 24BE5CF48622091B
7 changed files with 102 additions and 0 deletions

View file

@ -0,0 +1,15 @@
return {
'preservim/vim-lexical',
config = function()
vim.cmd [[
augroup lexical
autocmd!
autocmd FileType markdown,mkd call lexical#init()
autocmd FileType textile call lexical#init()
autocmd FileType text call lexical#init({ 'spell': 0 })
augroup END
let g:lexical#spelllang = ['en_us','fr',]
]]
end,
ft = { 'markdown', 'mkd', 'textile', 'tex', 'text' },
}