Lee Lindley | 42e498d | 2025-03-09 16:25:17 +0100 | [diff] [blame] | 1 | " Vim ftplugin file |
| 2 | " Language: Oracle Procedural SQL (PL/SQL) |
| 3 | " Maintainer: Lee Lindley (lee dot lindley at gmail dot com) |
| 4 | " Previous Maintainer: Jeff Lanzarotta (jefflanzarotta at yahoo dot com) |
| 5 | " Previous Maintainer: C. Laurence Gonsalves (clgonsal@kami.com) |
| 6 | " URL: https://github.com/lee-lindley/vim_plsql_syntax |
| 7 | " Last Change: Feb 19, 2025 |
| 8 | " History: Enno Konfekt move handling of optional syntax folding from syntax |
| 9 | " file to ftplugin |
| 10 | |
| 11 | if exists("b:did_ftplugin") | finish | endif |
| 12 | let b:did_ftplugin = 1 |
| 13 | |
| 14 | if get(g:,"plsql_fold",0) == 1 |
| 15 | setlocal foldmethod=syntax |
| 16 | let b:undo_ftplugin = "setl fdm< " |
| 17 | endif |