Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
  • chris/dotfiles
1 result
Select Git revision
Loading items
Show changes
Commits on Source (2)
autocmd BufRead,BufNewFile *.nginx set filetype=nginx
autocmd BufRead,BufNewFile */etc/nginx/* set filetype=nginx
autocmd BufRead,BufNewFile */usr/local/nginx/conf/* set filetype=nginx
autocmd BufRead,BufNewFile nginx.conf set filetype=nginx
setlocal commentstring=#%s
" Make vim turn *off* expandtab for Make files. We need the tab literal
setlocal noexpandtab
setlocal commentstring=#%s
" This file came from github.com/nginx/nginx
" https://github.com/nginx/nginx/blob/555dc61b/contrib/vim/indent/nginx.vim
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
setlocal indentexpr=
" cindent actually works for nginx' simple file structure
setlocal cindent
" Just make sure that the comments are not reset as defs would be.
setlocal cinkeys-=0#
This diff is collapsed.
......@@ -74,11 +74,6 @@ function! ToggleColorColumn()
endfunction
" Make vim turn *off* expandtab for files named Makefile or makefile
" We need the tab literal
autocmd BufRead,BufNewFile [Mm]akefile* setlocal noexpandtab
" Associate extensions to filetypes
autocmd BufRead,BufNewFile *.gv setlocal filetype=dot
......