summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2020-07-29 09:37:39 +0200
committerAhmed Abdelhalim <[email protected]>2020-07-29 09:37:39 +0200
commit94d8f97048d83b6d119a8d22f05b514c9306524c (patch)
tree04b85dddba94157113a219ec7f1da295f6187e4d /.vimrc
parent2ffe970d978f3a36855e58e445ef41619a0e2470 (diff)
Auto fix autocmd for typescript
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 8710050..aae1d07 100644
--- a/.vimrc
+++ b/.vimrc
@@ -160,7 +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 FileType typescript setlocal completeopt+=preview
autocmd CompleteDone * pclose " auto-close preview after completion
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""