Merge branch 'master' into new_ui
commit
c6abf5f1b2
|
@ -47,7 +47,8 @@
|
||||||
(substring-no-properties (thing-at-point 'line)))))
|
(substring-no-properties (thing-at-point 'line)))))
|
||||||
(when in-usings (setq line (concat "! " line)))
|
(when in-usings (setq line (concat "! " line)))
|
||||||
(push line lines))
|
(push line lines))
|
||||||
(when (and in-usings (looking-at ".*\\_<;\\_>")) (setq in-usings nil))
|
(when (and in-usings (looking-at "\\(^\\|.* \\);\\( \\|\n\\)"))
|
||||||
|
(setq in-usings nil))
|
||||||
(forward-line))
|
(forward-line))
|
||||||
(reverse lines))))))
|
(reverse lines))))))
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,8 @@
|
||||||
((looking-at "\\(TUPLE\\|SYMBOLS\\|VARS\\): ")
|
((looking-at "\\(TUPLE\\|SYMBOLS\\|VARS\\): ")
|
||||||
'factor-font-lock-symbol)
|
'factor-font-lock-symbol)
|
||||||
(t 'default))))
|
(t 'default))))
|
||||||
|
((char-equal (char-after (nth 8 state)) ?U)
|
||||||
|
'factor-font-lock-parsing-word)
|
||||||
(t 'factor-font-lock-comment)))
|
(t 'factor-font-lock-comment)))
|
||||||
|
|
||||||
(defconst fuel-font-lock--font-lock-keywords
|
(defconst fuel-font-lock--font-lock-keywords
|
||||||
|
|
|
@ -249,10 +249,10 @@
|
||||||
("\\_<<\\(\"\\)\\_>" (1 "\""))
|
("\\_<<\\(\"\\)\\_>" (1 "\""))
|
||||||
("\\_<\\(\"\\)>\\_>" (1 "\""))
|
("\\_<\\(\"\\)>\\_>" (1 "\""))
|
||||||
;; Multiline constructs
|
;; Multiline constructs
|
||||||
("\\_<USING:\\( \\)\\(;\\)" (1 "<b") (2 ">b"))
|
("\\_<\\(U\\)SING: \\(;\\)" (1 "<b") (2 ">b"))
|
||||||
("\\_<USING:\\( \\)" (1 "<b"))
|
("\\_<USING:\\( \\)" (1 "<b"))
|
||||||
("\\_<TUPLE: +\\w+? +< +\\w+? *\\( \\)" (1 "<b"))
|
("\\_<TUPLE: +\\w+? +< +\\w+? *\\( \\)" (1 "<b"))
|
||||||
("\\_<\\(TUPLE\\|SYMBOLS\\|VARS\\): +\\w+? *\\( \\)\\([^<]\\|\\_>\\)" (2 "<b"))
|
("\\_<\\(TUPLE\\|SYMBOLS\\|VARS\\): +\\w+? *\\( \\)\\([^<\n]\\|\\_>\\)" (2 "<b"))
|
||||||
("\\(\n\\| \\);\\_>" (1 ">b"))
|
("\\(\n\\| \\);\\_>" (1 ">b"))
|
||||||
;; Let and lambda:
|
;; Let and lambda:
|
||||||
("\\_<\\(!(\\) .* \\()\\)" (1 "<") (2 ">"))
|
("\\_<\\(!(\\) .* \\()\\)" (1 "<") (2 ">"))
|
||||||
|
|
Loading…
Reference in New Issue