diff options
author | Alan Pearce | 2014-07-15 20:51:04 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-15 20:51:04 +0100 |
commit | 80f13cdc3b95b664af1afa6e4fa33b27626a40ab (patch) | |
tree | 1cd529ed6825e3fb163f85a17887ec286a01b512 /tag-emacs | |
parent | 09d20bc7afc9291ed47a253a1775a89108697bd4 (diff) | |
download | nixfiles-80f13cdc3b95b664af1afa6e4fa33b27626a40ab.tar.lz nixfiles-80f13cdc3b95b664af1afa6e4fa33b27626a40ab.tar.zst nixfiles-80f13cdc3b95b664af1afa6e4fa33b27626a40ab.zip |
Emacs: Simplify php-sql to work with heredocs only
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 4b8f45d8..97927e62 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1115,8 +1115,8 @@ (mmm-add-classes '((php-sql :submode sql-mode - :front "\\($\\(sql\\|query\\)\\s-*=\\s-*[\"']\\|<<<SQL\\)[\r\n]+" - :back "\\([\"']\\|SQL\\);?" + :front "<<<SQL[\r\n]+" + :back "SQL;?" :face mmm-code-submode-face))) (mmm-add-mode-ext-class 'php-mode "\\.php$" 'php-sql) (mmm-add-classes |