开发者

vim set spell in any file

开发者 https://www.devze.com 2023-03-30 03:42 出处:网络
in ~/.vimrcI have au BufNewFile,BufRead *.tex,*.md,*.markdown set spell but when I have open a this fi开发者_JAVA百科letype file and after I open other file, example :

in ~/.vimrc I have

au BufNewFile,BufRead *.tex,*.md,*.markdown set spell

but when I have open a this fi开发者_JAVA百科letype file and after I open other file, example :

:sp ~/.vimrc 

this get spell highlight.


Use :setlocal spell (or :setl spell, for short) to enable spelling locally in the current window.

0

精彩评论

暂无评论...
验证码 换一张
取 消