1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 00:25:39 +01:00

Add a magic string to Python's syntax definitions

Make the syntax name lowercase
This commit is contained in:
Simon Volpert 2019-01-05 16:26:07 +02:00
parent 6a3d34f7ed
commit 8180a4cf7e
No known key found for this signature in database
GPG Key ID: C88435385910CF33

View File

@ -1,7 +1,8 @@
## Here is an example for Python.
##
syntax "Python" "\.py$"
syntax "python" "\.py$"
header "^#!.*/(env +)?python[-0-9._]*( |$)"
magic "Python script"
## built-in objects
color cyan "\<(None|self|True|False)\>"