[vim/vim] fdcc highlight error (Issue #19648)

1 view
Skip to first unread message

Eisuke Kawashima

unread,
12:18 AM (13 hours ago) 12:18 AM
to vim/vim, Subscribed
e-kwsm created an issue (vim/vim#19648)

Steps to reproduce

For example, /usr/share/i18n/locales/sv_SE has the following snippet (modeline added for vim ft detection, and some lines removed for brevity):

% vi:ft=fdcc

LC_COLLATE
%%%

collating-symbol <aring>
collating-symbol <a-diaresis>
collating-symbol <o-diaresis>

% &[before 1]ǀ<å<<<Å<ä<<<Ä<<æ<<<Æ<<ę<<<Ę<ö<<<Ö<<ø<<<Ø<<ő<<<Ő<<œ<<<Œ<<ô<<<Ô
reorder-after <AFTER-Z>
<a-ring>
<a-diaresis>
<o-diaresis>

% &D<<đ<<<Đ<<ð<<<Ð
<U0110> <S0064>;"<BASE><BARRE>";"<CAP><MIN>";IGNORE % Đ
<U0111> <S0064>;"<BASE><BARRE>";"<MIN><MIN>";IGNORE % đ
<U00D0> <S0064>;"<BASE><VRNT1>";"<COMPATCAP><COMPAT>";IGNORE % Ð
<U00F0> <S0064>;"<BASE><VRNT1>";"<COMPAT><COMPAT>";IGNORE % ð

%%%
END LC_COLLATE

Open the original file or above one, then find that <aring>, <a-diaresis>, and so forth are highlighted as error (invalid unicode):

Screenshot.From.2026-03-12.13-00-05.png (view on web)

But I believe these are valid.

Expected behaviour

No symbols are highlighted as error, as far as they are valid.

Version of Vim

9.2.0081

Environment

  • OS: EndeavourOS
  • terminal: ghostty 1.2.3
  • TERM: xterm-ghostty
  • shell: zsh 5.9

Logs and stack traces


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19648@github.com>

Reply all
Reply to author
Forward
0 new messages