File tree 6 files changed +206
-19
lines changed
6 files changed +206
-19
lines changed Original file line number Diff line number Diff line change @@ -27,4 +27,3 @@ let g:SuperTabMappingTabLiteral = "<C-Tab>"
27
27
28
28
" Eclim 回车查看变量
29
29
let g: EclimDefaultFileOpenAction = ' vsplit'
30
- nnoremap <silent> <buffer> <cr> :PhpSearchContext<cr>
Original file line number Diff line number Diff line change
1
+ au BufRead ,BufNewFile *.nginx set ft = nginx
2
+ au BufRead ,BufNewFile */etc/nginx/* set ft = nginx
3
+ au BufRead ,BufNewFile */usr/local/nginx/conf/* set ft = nginx
4
+ au BufRead ,BufNewFile nginx.conf set ft = nginx
Original file line number Diff line number Diff line change
1
+ setlocal commentstring = #\ % s
Original file line number Diff line number Diff line change 24
24
" au! BufWritePost *.php call PHPsynCHK()
25
25
"
26
26
" set errorformat=%m\ in\ %f\ on\ line\ %l
27
+
28
+ nnoremap <silent> <buffer> <cr> :PhpSearchContext<cr>
Original file line number Diff line number Diff line change
1
+ if exists (" b:did_indent" )
2
+ finish
3
+ endif
4
+ let b: did_indent = 1
5
+
6
+ setlocal indentexpr =
7
+
8
+ " cindent actually works for nginx' simple file structure
9
+ setlocal cindent
10
+ " Just make sure that the comments are not reset as defs would be.
11
+ setlocal cinkeys -= 0 #
You can’t perform that action at this time.
0 commit comments