[gtksourceview] sweave.lang: allow spaces before R block delimiter
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] sweave.lang: allow spaces before R block delimiter
- Date: Sat, 8 Feb 2014 15:51:13 +0000 (UTC)
commit 592921b2ad38d4c0e9b1d724ceafc87579069b96
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Feb 8 16:50:21 2014 +0100
sweave.lang: allow spaces before R block delimiter
So the R block delimiter can be indented.
data/language-specs/sweave.lang | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/language-specs/sweave.lang b/data/language-specs/sweave.lang
index 84f75a0..dc231d0 100644
--- a/data/language-specs/sweave.lang
+++ b/data/language-specs/sweave.lang
@@ -44,7 +44,7 @@
</context>
<context id="R-block" class="no-spell-check">
- <start>^<<.*>>=</start>
+ <start>^\s*<<.*>>=</start>
<end>@</end>
<include>
<context sub-pattern="0" where="start" style-ref="command"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]