mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07: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 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue