From 982d6ce9c172cb1d2a38eaed18e806c010061799 Mon Sep 17 00:00:00 2001 From: Alessandro Luppi Date: Tue, 27 Sep 2016 19:21:15 +0200 Subject: [PATCH] Correct python header --- python.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python.nanorc b/python.nanorc index 00191dc..8f14bfb 100644 --- a/python.nanorc +++ b/python.nanorc @@ -1,7 +1,7 @@ ## Here is an example for Python. ## syntax "Python" "\.py$" -header "^#!.*/(env +)?python( |$)" +header "^#!.*/(env +)?python[-0-9._]*( |$)" ## built-in objects color cyan "\<(None|self|True|False)\>"