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:
parent
6a3d34f7ed
commit
8180a4cf7e
@ -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)\>"
|
||||
|
Loading…
Reference in New Issue
Block a user