diff options
author | rxi <rxi@users.noreply.github.com> | 2020-06-18 16:41:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 16:41:18 +0100 |
commit | 57d48b55ed23d477b73110fdea8e98769a98a451 (patch) | |
tree | 4365c7ec5b0d55349517e02ad15b118044cb011f | |
parent | 408d6d0eb3a216e33755e206ca967e06ae7ac0c2 (diff) | |
parent | 912fb1b2f2539b25e8ea54ad8af4c16cda10001a (diff) | |
download | lite-xl-plugins-57d48b55ed23d477b73110fdea8e98769a98a451.tar.gz lite-xl-plugins-57d48b55ed23d477b73110fdea8e98769a98a451.zip |
Merge pull request #61 from SwissalpS/patch-1
detect more php files
-rw-r--r-- | plugins/language_php.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_php.lua b/plugins/language_php.lua index 025077a..d6ed516 100644 --- a/plugins/language_php.lua +++ b/plugins/language_php.lua @@ -2,6 +2,7 @@ local syntax = require "core.syntax" syntax.add { files = { "%.php$", "%.phtml" }, + headers = "^<%?php", comment = "//", patterns = { { pattern = "//.-\n", type = "comment" }, |