blob: c8577d16bd96bb69676f994701b8e3f2fe79504e [file]
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" These settings are appropriate for editing PostgreSQL code with vim
"
" You would copy this into your .vimrc or equivalent
"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:if match(getcwd(), "/pgsql") >=0 || match(getcwd(), "/postgresql") >= 0 || match(getcwd(), "/cloudberrydb*") >= 0 || match(getcwd(), "/cbdb*") >= 0
: set cinoptions=(0
: set tabstop=4
: set shiftwidth=4
: set textwidth=78
: syntax on
: set colorcolumn=78
: highlight ColorColumn ctermbg=52
:endif
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""