Skip to content

Commit e804078

Browse files
committed
fix(grammar): add '|' as not taglink
1 parent 83efd0a commit e804078

File tree

6 files changed

+4125
-3912
lines changed

6 files changed

+4125
-3912
lines changed

.github/workflows/main.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ jobs:
4343
with:
4444
files: |-
4545
.tests/neovim/runtime/doc/*.txt
46-
!.tests/neovim/runtime/doc/usr_41.txt
46+
!.tests/neovim/runtime/doc/builtin.txt
47+
!.tests/neovim/runtime/doc/usr_*.txt
48+
!.tests/neovim/runtime/doc/pi_*.txt

grammar.js

+1-1
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

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/node-types.json

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)