Package: neovim
Version: 0.12.3-4
Severity: normal

I have a few extra syntax rules for markdown files, that I place in
~/.config/nvim/after/syntax/markdown.vim as documented. After vim 0.12
reached testing and I upgraded, this stopped working. I can reproduce
this with an empty user account:

----------------8<----------------8<----------------8<-----------------
$ tree .config/nvim/
.config/nvim/
├── after
│   └── syntax
│       └── markdown.vim
└── init.vim

3 directories, 2 files
$ tail .config/nvim/init.vim .config/nvim/after/syntax/markdown.vim 
==> .config/nvim/init.vim <==
syntax on
colorscheme pablo

==> .config/nvim/after/syntax/markdown.vim <==
syntax keyword Error TODO
----------------8<----------------8<----------------8<-----------------

When I open a .md file, and type "TODO", it will not highlight the word.
If I downgrade neovim and neovim-runtime to the previous version
(_0.11.6-1), it works again. It looks like
~/.config/nvim/after/syntax/markdown.vim is not being loaded at all: if
I put an invalid statement, I don't get an error message (which I do
with the previous version).

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 7.0.13+deb14-arm64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages neovim depends on:
ii  libc6               2.42-17
ii  libluajit-5.1-2     2.1.0+openresty20251030-1+b2
ii  libtree-sitter0.26  0.26.8-4
ii  libunibilium4       2.1.1-3
ii  libutf8proc3        2.11.3-2
ii  libuv1t64           1.52.1-4
ii  lua-lpeg            1.1.0-3+b1
ii  lua-luv             1.51.0-1-1+b1
ii  neovim-runtime      0.11.6-1

Versions of packages neovim recommends:
ii  python3-pynvim  0.6.0-3
ii  wl-clipboard    2.3.0-1
ii  xclip           0.13-4+b3
ii  xsel            1.2.1-1+b2
ii  xxd             2:9.2.0524-1+b1

Versions of packages neovim suggests:
ii  exuberant-ctags [ctags]  1:5.9~svn20110310-20+b1
ii  universal-ctags [ctags]  6.2.1-1+b1
ii  vim-scripts              20210124.5+nmu1

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to