diff options
| author | Ahmed Abdelhalim <[email protected]> | 2020-05-28 16:07:56 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2020-05-28 16:08:28 +0200 |
| commit | 2ffe970d978f3a36855e58e445ef41619a0e2470 (patch) | |
| tree | e4c503b25f9302cb2da3d48e01008ef2f8fbe770 /.vimrc | |
| parent | 70fc369f8f62a299723f1050300f7866bc2db1c4 (diff) | |
| parent | 921285a75a718da5f6f14ca2d1b116b874de17cb (diff) | |
Merge branch 'master' of github.com:a14m/dotvim
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,8 +151,7 @@ set omnifunc=pythoncomplete#Complete """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" autocmd BufNewFile,BufRead *.html.erb set filetype=html " for ruby erb template files autocmd BufNewFile,BufRead *.json.jbuilder set filetype=ruby " for ruby json template files -autocmd BufRead,BufNewFile *.md setlocal spell " spell check md files -autocmd BufRead,BufNewFile *.markdown setlocal spell " spell check md files +autocmd FileType markdown setlocal spell " spell check markdown files autocmd FileType gitcommit setlocal spell " spell check commits autocmd FileType ruby setlocal nospell " disable spell checking for ruby documentation autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr> @@ -161,6 +160,7 @@ autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr> autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr> autocmd FileType scss noremap <buffer> <c-f> :call CSSBeautify()<cr> autocmd FileType typescript nmap <buffer> <Leader>t : <C-u>echo tsuquyomi#hint()<CR> +autocmd FileType typescript setlocal completeopt+=menu,preview autocmd CompleteDone * pclose " auto-close preview after completion """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
