robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonvim-patch:42e498d: runtime(plsql): move fold option from syntax to filetype plugin8e55a5315a

master
633 B17 linesraw
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
11if exists("b:did_ftplugin") | finish | endif
12let b:did_ftplugin = 1
13
14if get(g:,"plsql_fold",0) == 1
15    setlocal foldmethod=syntax
16    let b:undo_ftplugin = "setl fdm< "
17endif