summaryrefslogtreecommitdiffstats
path: root/src/tools/editors/vim.samples
blob: ccbc93f69b6b346a8314472bd9d119e4b7182a67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" 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

:  set cinoptions=(0
:  set tabstop=4
:  set shiftwidth=4

:endif

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""