diff options
| author | Guldoman <giulio.lettieri@gmail.com> | 2022-07-13 15:05:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-13 15:05:26 +0200 |
| commit | 2dac3667cb183850cf521b162e025a4c6a62d6b8 (patch) | |
| tree | fd8138dac62795295ec6bce9861efb3451b6e503 /data/plugins/language_python.lua | |
| parent | dc88b1b56de93c1eb18d53ec4cdbf7041fe1a380 (diff) | |
| parent | 7f9287a7e72c5da83d036f1aeff7c42ec9d901e7 (diff) | |
| download | lite-xl-2dac3667cb183850cf521b162e025a4c6a62d6b8.tar.gz lite-xl-2dac3667cb183850cf521b162e025a4c6a62d6b8.zip | |
Merge pull request #1073 from ncarrezdev/ncarrezdev/synxtax-corrections
[chore]: Update syntax
Diffstat (limited to 'data/plugins/language_python.lua')
| -rw-r--r-- | data/plugins/language_python.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/plugins/language_python.lua b/data/plugins/language_python.lua index 4802430c..b96b56b9 100644 --- a/data/plugins/language_python.lua +++ b/data/plugins/language_python.lua @@ -7,7 +7,7 @@ syntax.add { headers = "^#!.*[ /]python", comment = "#", patterns = { - { pattern = { "#", "\n" }, type = "comment" }, + { pattern = "#.*", type = "comment" }, { pattern = { '[ruU]?"""', '"""'; '\\' }, type = "string" }, { pattern = { "[ruU]?'''", "'''", '\\' }, type = "string" }, { pattern = { '[ruU]?"', '"', '\\' }, type = "string" }, |
