Mercurial > vim
view runtime/syntax/testdir/input/vim9_shebang.vim @ 35420:1886767c5f70
runtime(vim): Update base-syntax, match shebang lines (#15011)
Commit: https://github.com/vim/vim/commit/ae321b51f7531b23545d64c3a98ed991a31dd5ee
Author: dkearns <dougkearns@gmail.com>
Date: Sat Jun 15 23:06:17 2024 +1000
runtime(vim): Update base-syntax, match shebang lines (https://github.com/vim/vim/issues/15011)
Match shebang lines in Vim9 and legacy script.
Mark these as an error if they appear anywhere other than the first line
of a legacy-script file. In Vim9 script these match as normal line
comments rather than an error.
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 15 Jun 2024 15:15:05 +0200 |
parents | |
children |
line wrap: on
line source
#!/usr/bin/env vim -S vim9script # Vim shebang line # just a line comment #!/usr/bin/env vim -S