开发者

vim set spell in any file

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜