mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Update Emacs/vim editor info.
This commit is contained in:
18
src/tools/editors/vim.samples
Normal file
18
src/tools/editors/vim.samples
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"
|
||||
" 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
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
Reference in New Issue
Block a user