nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
caeeea7
)
hightlight: correctly highlight loose comments
author
Jean Privat
<jean@pryen.org>
Fri, 18 Dec 2015 14:40:27 +0000
(09:40 -0500)
committer
Jean Privat
<jean@pryen.org>
Fri, 18 Dec 2015 14:41:49 +0000
(09:41 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
src/highlight.nit
patch
|
blob
|
history
diff --git
a/src/highlight.nit
b/src/highlight.nit
index
424824f
..
59e5370
100644
(file)
--- a/
src/highlight.nit
+++ b/
src/highlight.nit
@@
-986,7
+986,7
@@
redef class TComment
redef fun make_tag(v)
do
var res = super
- if not parent isa ADoc then
+ if is_loose then
res.add_class("nc_c")
end
return res