summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 88b0753..3ba5916 100644
--- a/.vimrc
+++ b/.vimrc
@@ -159,6 +159,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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""