aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/plsql.vim
blob: 7fcc5d7a5c8c7a9934442faa8aca76fb285bed9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" Vim ftplugin file
" Language: Oracle Procedural SQL (PL/SQL)
" Maintainer: Lee Lindley (lee dot lindley at gmail dot com)
" Previous Maintainer: Jeff Lanzarotta (jefflanzarotta at yahoo dot com)
" Previous Maintainer: C. Laurence Gonsalves (clgonsal@kami.com)
" URL: https://github.com/lee-lindley/vim_plsql_syntax
" Last Change: Feb 19, 2025
" History:  Enno Konfekt move handling of optional syntax folding from syntax
"               file to ftplugin

if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1

if get(g:,"plsql_fold",0) == 1
    setlocal foldmethod=syntax
    let b:undo_ftplugin = "setl fdm< "
endif