feat: authoring plugins
This commit is contained in:
parent
dfc3c98bf6
commit
3cdca2add9
7 changed files with 102 additions and 0 deletions
15
lua/custom/plugins/notes/vim-lexical.lua
Normal file
15
lua/custom/plugins/notes/vim-lexical.lua
Normal 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' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue