diff --git a/vimrc b/vimrc index 2290c62..c0f48b4 100644 --- a/vimrc +++ b/vimrc @@ -24,6 +24,7 @@ Plug 'tpope/vim-surround' Plug 'Quramy/tsuquyomi' Plug 'sheerun/vim-wombat-scheme' Plug 'leafgarland/typescript-vim' + Plug 'cespare/vim-toml' call plug#end() @@ -154,7 +155,7 @@ set incsearch " BUT do highlight as you type you search phrase set scrolloff=5 " Keep 5 lines (top/bottom) for scope set sidescrolloff=5 " Keep 5 lines at the size set list " we do what to show tabs, to ensure we get them out of my files -set listchars=tab:_\ ,trail:… " show tabs and trailing whitespace +set listchars=tab:\ \ ,trail:… " show tabs and trailing whitespace " ~\file[+] [type] [line,column] [number of lines] set statusline=%F%m%r%h%w\ [%Y]\ [%03l,%03v]\ [%L] @@ -209,3 +210,7 @@ augroup END augroup COMMIT_EDITMSG au! BufRead,BufNewFile COMMIT_EDITMSG set filetype=gitcommit augroup END + +augroup typescript + au! BufRead,BufNewFile *.ts set filetype=typescript +augroup END