Vim: auto-enable spellcheck for certain filetypes
if has('spell')
au Filetype markdown setlocal spell
endif
Written by Rico Sta. Cruz
Related protips
1 Response
Also useful for "gitcommit" filetype.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#