Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b26852ef
Commit
b26852ef
authored
Dec 02, 2023
by
Eli Zaretskii
Browse files
; Fix last change.
parent
4835c991
Pipeline
#27358
failed with stage
in 1 minute and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/progmodes/lua-ts-mode.el
lisp/progmodes/lua-ts-mode.el
+2
-1
No files found.
lisp/progmodes/lua-ts-mode.el
View file @
b26852ef
...
...
@@ -44,6 +44,7 @@
(
declare-function
treesit-node-first-child-for-pos
"treesit.c"
)
(
declare-function
treesit-node-parent
"treesit.c"
)
(
declare-function
treesit-node-start
"treesit.c"
)
(
declare-function
treesit-node-end
"treesit.c"
)
(
declare-function
treesit-node-type
"treesit.c"
)
(
declare-function
treesit-parser-create
"treesit.c"
)
(
declare-function
treesit-search-subtree
"treesit.c"
)
...
...
@@ -140,7 +141,7 @@
(
defun
lua-ts--comment-font-lock
(
node
override
start
end
&rest
_
)
"Apply font lock to comment NODE within START and END.
Applies `font-lock-comment-delimiter-face' and
`font-lock-comment-face' See `treesit-fontify-with-override' for
`font-lock-comment-face'
.
See `treesit-fontify-with-override' for
values of OVERRIDE."
(
let*
((
node-start
(
treesit-node-start
node
))
(
node-end
(
treesit-node-end
node
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment