Mercurial > ec-dotfiles
comparison rc/vimrc @ 637:758ced52ee62
[vim] Fix typescript syntax
| author | nanaya <me@nanaya.pro> | 
|---|---|
| date | Tue, 14 Jan 2020 11:10:49 +0900 | 
| parents | 8812b9230a68 | 
| children | 84a1e86d1afc | 
   comparison
  equal
  deleted
  inserted
  replaced
| 636:8812b9230a68 | 637:758ced52ee62 | 
|---|---|
| 11 set vb t_vb= " disables visual bell | 11 set vb t_vb= " disables visual bell | 
| 12 set ruler | 12 set ruler | 
| 13 set backspace=2 " make backspace work like most other apps | 13 set backspace=2 " make backspace work like most other apps | 
| 14 set esckeys | 14 set esckeys | 
| 15 set noerrorbells | 15 set noerrorbells | 
| 16 set backupcopy=yes | |
| 16 | 17 | 
| 17 set softtabstop=4 tabstop=4 shiftwidth=4 expandtab | 18 set softtabstop=4 tabstop=4 shiftwidth=4 expandtab | 
| 18 | 19 | 
| 19 set copyindent | 20 set copyindent | 
| 20 set title | 21 set title | 
| 133 autocmd FileType less call In2() | 134 autocmd FileType less call In2() | 
| 134 autocmd FileType yaml call In2() | 135 autocmd FileType yaml call In2() | 
| 135 autocmd FileType json call In2() | 136 autocmd FileType json call In2() | 
| 136 autocmd FileType javascript call In2() | 137 autocmd FileType javascript call In2() | 
| 137 autocmd FileType typescript call In2() | 138 autocmd FileType typescript call In2() | 
| 138 autocmd FileType typescript.tsx call In2() | 139 autocmd FileType typescriptreact call In2() | 
| 139 autocmd FileType nginx setlocal commentstring=#\ %s | 140 autocmd FileType nginx setlocal commentstring=#\ %s | 
| 140 autocmd FileType nginx setlocal iskeyword& | 141 autocmd FileType nginx setlocal iskeyword& | 
| 141 endif | 142 endif | 
| 142 | 143 | 
| 143 if has('autocmd') | 144 if has('autocmd') | 
