# HG changeset patch
# User Steve Losh <steve@stevelosh.com>
# Date 1382713438 14400
# Node ID a9942801b4db6154a5ce0ccae604da6821051cac
# Parent  2eb5091c7bda51da569a941ac3cf45c305efbd03
unfuck sql comments

diff -r 2eb5091c7bda -r a9942801b4db vim/vimrc
--- 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
 
 " }}}