Skip to content

On help pages, "<" not concealed when followed by " - " #146

Open
@dstein64

Description

@dstein64

Problem

On help pages with code, "<" is not concealed when followed by " - ".

This started at the following Neovim commit: 095bd8d.

Steps to reproduce

nvim --clean

Create a file with the following content:

text >
 let x = 0
< - text

Then run:

:set ft=help

Expected behavior

Expected (no "<"):

text
 let x = 0
 - text

Actual (includes "<"):

text
 let x = 0
< - text

(the problem is gone if "- text" is changed to "-text" or "text")

Nvim version (nvim -v)

v0.11.0

Vim (not Nvim) behaves the same?

No

Operating system/version

Kubuntu 24.04

Terminal name/version

Konsole 23.08.5

$TERM environment variable

xterm-256color

Installation

appimage

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions