Mercurial > vim
view runtime/ftplugin/docbk.vim @ 29633:e80174903fdf v9.0.0157
patch 9.0.0157: 'showbreak' displayed below truncated "after" text prop
Commit: https://github.com/vim/vim/commit/cba6952e3499f85545c274873c67bb843d3f3518
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 6 21:03:53 2022 +0100
patch 9.0.0157: 'showbreak' displayed below truncated "after" text prop
Problem: 'showbreak' displayed below truncated "after" text prop.
Solution: Suppress 'showbreak' when "after" prop doesn't wrap.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 Aug 2022 22:15:06 +0200 |
parents | 3482d151136b |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: DocBook " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2012-04-25 if exists('b:did_ftplugin') finish endif if !exists('b:docbk_type') if expand('%:e') == 'sgml' let b:docbk_type = 'sgml' else let b:docbk_type = 'xml' endif endif if b:docbk_type == 'sgml' runtime! ftplugin/sgml.vim ftplugin/sgml_*.vim ftplugin/sgml/*.vim else runtime! ftplugin/xml.vim ftplugin/xml_*.vim ftplugin/xml/*.vim endif let b:undo_ftplugin = "unlet! b:docbk_type"