diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-08-24 22:43:47 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2026-08-25 13:36:01 +0200 |
| commit | fb5d466a35213ef1a4719f94f57194a5fb05ec30 (patch) | |
| tree | dbf32b322349c027debc659a6bf4e60ab42d54d2 /runtime/syntax/python.vim | |
| parent | 1ef030f16226152fbba0b46c76bd0726aecd30b4 (diff) | |
| download | rneovim-fb5d466a35213ef1a4719f94f57194a5fb05ec30.tar.gz rneovim-fb5d466a35213ef1a4719f94f57194a5fb05ec30.tar.bz2 rneovim-fb5d466a35213ef1a4719f94f57194a5fb05ec30.zip | |
fix(help): :helptags on CRLF helpfiles
Problem:
The vimdoc parser does not treat "\r" as whitespace, so in a CRLF
helpfile the codeblock rule fails and "*" pairs inside examples become
tags. On Windows this generates duplicate "." and "/" tags:
D:/a/neovim/neovim/build/bin/nvim.exe -u NONE -i NONE -e --headless -c "helptags ++t doc" -c "exe 'cquit' !empty(v:errmsg)""
Error in command line:
E154: Duplicate tag "." in gui.txt and repeat.txt
E154: Duplicate tag "/" in pattern.txt and usr_08.txt
E154: Duplicate tag "/" in usr_08.txt and pattern.txt
Note: The old C parser was unaffected because it read helpfiles in text
mode (`os_fopen(…, "r")`).
Solution:
Strip "\r" before parsing.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions