[gtksourceview] makefile.lang: add shell-like-comment and directives to rule context
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] makefile.lang: add shell-like-comment and directives to rule context
- Date: Sun, 5 Dec 2010 22:38:02 +0000 (UTC)
commit 158dd638bd594edb2a839d86b878fd393af80450
Author: Sylvain Rabot <sylvain abstraction fr>
Date: Sun Dec 5 22:50:27 2010 +0100
makefile.lang: add shell-like-comment and directives to rule context
if there is a comment or a directives not indented in a rule
the highlighting is broken
Signed-off-by: Sylvain Rabot <sylvain abstraction fr>
https://bugzilla.gnome.org/show_bug.cgi?id=636540
data/language-specs/makefile.lang | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/data/language-specs/makefile.lang b/data/language-specs/makefile.lang
index 0d5091a..d1de08e 100644
--- a/data/language-specs/makefile.lang
+++ b/data/language-specs/makefile.lang
@@ -168,6 +168,8 @@
<end>^(?!\t)</end>
<include>
<context sub-pattern="1" where="start" style-ref="targets"/>
+ <context ref="def:shell-like-comment"/>
+ <context ref="directives"/>
<context id="prereq" end-at-line-end="true" style-ref="prereq">
<start>(?<=:)(?=.)</start>
<end>;</end>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]