aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-11 23:07:31 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-11 23:07:31 +1200
commitbe771a973685cd858ae63e694317d129b75944c5 (patch)
tree2a0a3ef7d3502afb2ec79271d3e1672563383c37
parent6319dc715f5d1a703f7bcea3a47a17eaac64e1e3 (diff)
downloaddotfiles-be771a973685cd858ae63e694317d129b75944c5.tar.gz
Don't require num suffix to Python shebang word
-rw-r--r--vim/scripts.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/scripts.vim b/vim/scripts.vim
index 15a41a09..66bf0a8f 100644
--- a/vim/scripts.vim
+++ b/vim/scripts.vim
@@ -27,7 +27,7 @@ elseif s:line =~# '\m\<php\>'
setfiletype php
" Python
-elseif s:line =~# '\m\<python[23]\>'
+elseif s:line =~# '\m\<python[23]\?\>'
setfiletype python
" sed