Re: [vim/vim] syntax/sh.vim: 'login' keyword wrongly highlighted (Issue #20735)
Christian Brabandt (Vim Github Repository) <[email protected]> Tue, 28 Jul 2026 12:32:32 -0700
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/issues/20735/[email protected]> |
chrisbra left a comment (vim/vim#20735) this only happens because before 11bde1f16939ef4128d08488ae238c66b46aa056 `login` was considered a syntax keyword when the detected shell was neither a bash nor a kornshell nor POSIX mode was active. I think the current behaviour is okay, similar things happen for `printf /foo/cd` or `/foo/kill`. I don't think it is feasible to check for each statement, whether this is actually being used as a command and even for the case here, we would have to resolve the potential path `/foo/` -- Reply to this email directly or view it on GitHub: https://github.com/vim/vim/issues/20735#issuecomment-5108783526 You are receiving this because you are subscribed to this thread. Message ID: <vim/vim/issues/20735/[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/20735/5108783526%40github.com.