]> git.lizzy.rs Git - micro.git/commit
Fix python3 syntax file and make python3 default
authorZachary Yedidia <zyedidia@gmail.com>
Tue, 24 Mar 2020 15:42:23 +0000 (11:42 -0400)
committerZachary Yedidia <zyedidia@gmail.com>
Tue, 24 Mar 2020 15:42:23 +0000 (11:42 -0400)
commit1cf95373405285ea96bdfe542a1d91dfa21add8f
tree42b83568f8b51e329450a987787aee5fba0f8e26
parent60c8c81da30190127f9260bad881ec376c43eaa6
Fix python3 syntax file and make python3 default

The python3 syntax had "filename" instead of "filetype"
as the header. This commit also makes standard py extensions
use the python3 highlighting and requires .py2 or a python2
env to use python2 highlighting because python3 is the standard
python now.

Fixes #1592
internal/config/runtime.go
runtime/syntax/python2.yaml
runtime/syntax/python3.yaml