Mercurial > vim
view runtime/ftplugin/nroff.vim @ 34211:f9b706e23b10 v9.1.0054
patch 9.1.0054: 'linebreak' may still apply to leading whitespace
Commit: https://github.com/vim/vim/commit/703f9bc943a29d947869b5cb0370be2ac42d5ac9
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu Jan 25 21:27:13 2024 +0100
patch 9.1.0054: 'linebreak' may still apply to leading whitespace
Problem: 'linebreak' may still apply to leading whitespace
(VanaIgr)
Solution: Compare pointers instead of virtual columns.
(zeertzjq)
related: neovim/neovim#27180
closes: #13915
Co-authored-by: VanaIgr <vanaigranov@gmail.com>
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 25 Jan 2024 21:45:02 +0100 |
parents | 29c5f168c6fd |
children | 7c7432a53a6c |
line wrap: on
line source
" Vim filetype plugin " Language: roff(7) " Maintainer: Aman Verma " Homepage: https://github.com/a-vrma/vim-nroff-ftplugin " Previous Maintainer: Chris Spiegel <cspiegel@gmail.com> " Last Change: 2020 Nov 21 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal commentstring=.\\\"%s setlocal comments=:.\\\" setlocal sections+=Sh let b:undo_ftplugin = 'setlocal commentstring< comments< sections<'