[vim/vim] vimscript syntax: Custom command call with the dot in the end breaks next highlighting (Issue #20854)
Maxim Kim (Vim Github Repository) <[email protected]> Mon, 27 Jul 2026 04:08:01 -0700
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/issues/[email protected]> |
habamax created an issue (vim/vim#20854)
### Steps to reproduce
Use following snippet in vim filetype:
```
def RunOdin()
update
if !exists("$WSL_DISTRO_NAME")
Term! odin run .
else
Term! odin run . -thread-count:1
endif
enddef
```
<img width="727" height="299" alt="Image" src="https://github.com/user-attachments/assets/342e0601-16bd-4dda-9b96-998153741a12" />
### Expected behaviour
`else` should be highlighted
@dkearns fyi
### Version of Vim
9.2.843
### Environment
debian13, bash
### Logs and stack traces
```shell
```
--
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/issues/20854
You are receiving this because you are subscribed to this thread.
Message ID: <vim/vim/issues/[email protected]>
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/20854%40github.com.