mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 12:25:53 +01:00
Add a magic string to Python's syntax definitions
Make the syntax name lowercase
This commit is contained in:
parent
6a3d34f7ed
commit
8180a4cf7e
|
@ -1,7 +1,8 @@
|
||||||
## Here is an example for Python.
|
## Here is an example for Python.
|
||||||
##
|
##
|
||||||
syntax "Python" "\.py$"
|
syntax "python" "\.py$"
|
||||||
header "^#!.*/(env +)?python[-0-9._]*( |$)"
|
header "^#!.*/(env +)?python[-0-9._]*( |$)"
|
||||||
|
magic "Python script"
|
||||||
|
|
||||||
## built-in objects
|
## built-in objects
|
||||||
color cyan "\<(None|self|True|False)\>"
|
color cyan "\<(None|self|True|False)\>"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user