Mercurial > vim
view runtime/ftplugin/protocols.vim @ 20623:99b6e6bf48bf v8.2.0865
patch 8.2.0865: syntax foldlevel is taken from the start of the line
Commit: https://github.com/vim/vim/commit/e35a52aee718c881bdfa69a47a1068df6ab6c60a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 31 19:48:53 2020 +0200
patch 8.2.0865: syntax foldlevel is taken from the start of the line
Problem: Syntax foldlevel is taken from the start of the line.
Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
the line. (Brad King, closes #6087)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 31 May 2020 20:00:04 +0200 |
parents | 1218c5353e2b |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: protocols(5) - Internet protocols definition file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save