-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime(vim): Update base-syntax, match shebang lines (#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>
- Loading branch information
Showing
8 changed files
with
109 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
>#+0#e000e06#ffffff0|!|/|u|s|r|/|b|i|n|/|e|n|v| |v|i|m| |-|S| +0#0000000&@53 | ||
|v+0#af5f00255&|i|m|9|s|c|r|i|p|t| +0#0000000&@64 | ||
@75 | ||
|#+0#0000e05&| |V|i|m| |s|h|e|b|a|n|g| |l|i|n|e| +0#0000000&@56 | ||
@75 | ||
|#+0#0000e05&| |j|u|s|t| |a| |l|i|n|e| |c|o|m@1|e|n|t| +0#0000000&@53 | ||
|#+0#0000e05&|!|/|u|s|r|/|b|i|n|/|e|n|v| |v|i|m| |-|S| +0#0000000&@53 | ||
|~+0#4040ff13&| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
| +0#0000000&@56|1|,|1| @10|A|l@1| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|#+0#e000e06#ffffff0|!|/|u|s|r|/|b|i|n|/|e|n|v| |v|i|m| |-|S| +0#0000000&@53 | ||
|v+0#af5f00255&|i|m|9|s|c|r|i|p|t| +0#0000000&@64 | ||
@75 | ||
|#+0#0000e05&| |V|i|m| |s|h|e|b|a|n|g| |l|i|n|e| +0#0000000&@56 | ||
@75 | ||
|#+0#0000e05&| |j|u|s|t| |a| |l|i|n|e| |c|o|m@1|e|n|t| +0#0000000&@53 | ||
>#+0#0000e05&|!|/|u|s|r|/|b|i|n|/|e|n|v| |v|i|m| |-|S| +0#0000000&@53 | ||
|~+0#4040ff13&| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
| +0#0000000&@56|7|,|1| @10|A|l@1| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
>#+0#e000e06#ffffff0|!|/|u|s|r|/|b|i|n|/|e|n|v| |v|i|m| |-|S| +0#0000000&@53 | ||
@75 | ||
|"+0#0000e05&| |V|i|m| |s|h|e|b|a|n|g| |l|i|n|e| +0#0000000&@56 | ||
@75 | ||
|#+0#ffffff16#ff404010|!|/|u|s|r|/|b|i|n|/|e|n|v| |v|i|m| |-|S| +0#0000000#ffffff0@53 | ||
|~+0#4040ff13&| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
| +0#0000000&@56|1|,|1| @10|A|l@1| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|#+0#e000e06#ffffff0|!|/|u|s|r|/|b|i|n|/|e|n|v| |v|i|m| |-|S| +0#0000000&@53 | ||
@75 | ||
|"+0#0000e05&| |V|i|m| |s|h|e|b|a|n|g| |l|i|n|e| +0#0000000&@56 | ||
@75 | ||
>#+0#ffffff16#ff404010|!|/|u|s|r|/|b|i|n|/|e|n|v| |v|i|m| |-|S| +0#0000000#ffffff0@53 | ||
|~+0#4040ff13&| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
|~| @73 | ||
| +0#0000000&@56|5|,|1| @10|A|l@1| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env vim -S | ||
vim9script | ||
|
||
# Vim shebang line | ||
|
||
# just a line comment | ||
#!/usr/bin/env vim -S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env vim -S | ||
|
||
" Vim shebang line | ||
|
||
#!/usr/bin/env vim -S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters