changeset 602:aa448b6e06ae

Unfuck nginx vim
author nanaya <me@nanaya.pro>
date Mon, 10 Apr 2017 23:19:08 +0900
parents cd80bafc1257
children 9f49513d0d24
files rc/vimrc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rc/vimrc	Mon Apr 10 23:18:23 2017 +0900
+++ b/rc/vimrc	Mon Apr 10 23:19:08 2017 +0900
@@ -122,6 +122,7 @@
   autocmd FileType less call In2()
   autocmd FileType yaml call In2()
   autocmd FileType nginx setlocal commentstring=#\ %s
+  autocmd FileType nginx setlocal iskeyword&
 endif
 
 if has('autocmd')