tangled
alpha
login
or
join now
boltless.me
/
nvim_rocks
0
fork
atom
neovim configuration using rocks.nvim plugin manager
0
fork
atom
overview
issues
pulls
pipelines
feat(queries): update norg queries
boltless.me
9 months ago
1203f5ea
f09d1e84
verified
This commit was signed with the committer's
known signature
.
boltless.me
SSH Key Fingerprint:
SHA256:2RJEzZAkDasLTx4PI9wgenxutg9oQkR9LGk+9pzW3hM=
+10
-7
2 changed files
expand all
collapse all
unified
split
after
queries
norg
highlights.scm
injections.scm
+2
-6
after/queries/norg/highlights.scm
···
69
69
(underline [(underline_open) (underline_close)] @conceal)
70
70
(strikethrough [(strikethrough_open) (strikethrough_close)] @conceal)
71
71
(verbatim [(verbatim_open) (verbatim_close)] @_markup)
72
72
-
(link ["[" "]" "{" "}"] @conceal)
73
73
-
(anchor ["[" "]" "{" "}"] @conceal)
72
72
+
(markup ["[" "]"] @conceal)
73
73
+
(target ["{" "}"] @conceal)
74
74
]
75
75
(#set! conceal ""))
76
76
77
77
-
(_
78
78
-
target: (scoped_target
79
79
-
. ":" @conceal)
80
80
-
(#set! conceal ""))
81
77
(_
82
78
markup: (_) @spell)
83
79
+8
-1
after/queries/norg/injections.scm
···
1
1
(ranged_tag
2
2
name: (_) @_keyword
3
3
-
(#any-of? @_keyword "code" "embed" "details")
3
3
+
(#any-of? @_keyword "code" "embed")
4
4
;; TODO: only accept first argument as @_lang
5
5
param: (_) @injection.language
6
6
line: (_) @injection.content
···
12
12
line: (_) @injection.content
13
13
(#set! injection.language "janet")
14
14
(#set! injection.combined))
15
15
+
16
16
+
(ranged_tag
17
17
+
name: (_) @_keyword
18
18
+
(#eq? @_keyword "details")
19
19
+
line: (_) @injection.content
20
20
+
(#set! injection.language "norg")
21
21
+
(#set! injection.combined))