a9942801b4db

unfuck sql comments
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 25 Oct 2013 11:03:58 -0400
parents 2eb5091c7bda
children 6908dae7c07b
branches/tags (none)
files vim/vimrc

Changes

--- a/vim/vimrc	Fri Oct 25 10:41:18 2013 -0400
+++ b/vim/vimrc	Fri Oct 25 11:03:58 2013 -0400
@@ -998,6 +998,7 @@
     au BufNewFile,BufRead *.sql set filetype=pgsql
     au FileType pgsql set foldmethod=indent
     au FileType pgsql set softtabstop=2 shiftwidth=2
+    au FileType pgsql setlocal commentstring=--\ %s comments=:--
 augroup END
 
 " }}}