Mercurial > ec-dotfiles
comparison rc/vimrc @ 602:aa448b6e06ae
Unfuck nginx vim
| author | nanaya <me@nanaya.pro> | 
|---|---|
| date | Mon, 10 Apr 2017 23:19:08 +0900 | 
| parents | 283ebb842957 | 
| children | b9672858e2e2 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 601:cd80bafc1257 | 602:aa448b6e06ae | 
|---|---|
| 120 autocmd FileType ruby call In2() | 120 autocmd FileType ruby call In2() | 
| 121 autocmd FileType scss call In2() | 121 autocmd FileType scss call In2() | 
| 122 autocmd FileType less call In2() | 122 autocmd FileType less call In2() | 
| 123 autocmd FileType yaml call In2() | 123 autocmd FileType yaml call In2() | 
| 124 autocmd FileType nginx setlocal commentstring=#\ %s | 124 autocmd FileType nginx setlocal commentstring=#\ %s | 
| 125 autocmd FileType nginx setlocal iskeyword& | |
| 125 endif | 126 endif | 
| 126 | 127 | 
| 127 if has('autocmd') | 128 if has('autocmd') | 
| 128 "Restore cursor position | 129 "Restore cursor position | 
| 129 set viminfo='10,\"100,:20,%,n~/.viminfo | 130 set viminfo='10,\"100,:20,%,n~/.viminfo | 
