Mercurial > vim
view runtime/ftplugin/text.vim @ 30608:c3398c601bfa v9.0.0639
patch 9.0.0639: checking for popup in screen_char() is too late
Commit: https://github.com/vim/vim/commit/ff85d4a1076dc7d6fc3102f6560df3ad1af696ae
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 2 15:21:04 2022 +0100
patch 9.0.0639: checking for popup in screen_char() is too late
Problem: Checking for popup in screen_char() is too late, the attribute has
already been changed.
Solution: Move check for popup to where screen_char() is called.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 Oct 2022 16:30:04 +0200 |
parents | f0f06837a699 |
children |
line wrap: on
line source
" Vim filetype plugin " Language: Text " Maintainer: David Barnett <daviebdawg+vim@gmail.com> " Last Change: 2019 Jan 10 if exists('b:did_ftplugin') finish endif let b:did_ftplugin = 1 let b:undo_ftplugin = 'setlocal comments< commentstring<' " We intentionally don't set formatoptions-=t since text should wrap as text. " Pseudo comment leaders to indent bulleted lists with '-' and '*'. And allow " for Mail quoted text with '>'. setlocal comments=fb:-,fb:*,n:> setlocal commentstring=