Skip to content

Commit 3a08e12

Browse files
committed
fix(grammar): add '|' as not taglink
1 parent acfef14 commit 3a08e12

File tree

6 files changed

+4123
-3911
lines changed

6 files changed

+4123
-3911
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ jobs:
4343
with:
4444
files: |-
4545
.tests/neovim/runtime/doc/*.txt
46+
!.tests/neovim/runtime/doc/develop.txt
4647
!.tests/neovim/runtime/doc/usr_41.txt

grammar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module.exports = grammar({
8282
seq("'", token.immediate(/[^'\n\t ]/), token.immediate("'")),
8383
// NOT taglink: "||", "|"
8484
/\|\|+/,
85-
'|',
85+
'|', "'|'",
8686
// NOT argument:
8787
'{',
8888
'{}',

src/grammar.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/node-types.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)