You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kickstart.nvim/lua/custom/plugins/notes/vim-lexical.lua

16 lines
417 B
Lua

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' },
}