mirror of
https://github.com/gryf/python-syntax.git
synced 2025-12-19 20:38:07 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ebbdd093b7 | ||
|
|
fc6a66bf80 |
@@ -1,3 +1,7 @@
|
||||
Revision 3.3.3 (2013-06-02):
|
||||
|
||||
- More lightweight syntax reloading. Patch by Will Gray.
|
||||
|
||||
Revision 3.3.2 (2013-06-01):
|
||||
|
||||
- Fixed behaviour of b:python_version_2 variable. Reported by Will Gray.
|
||||
|
||||
10
README.rst
10
README.rst
@@ -126,11 +126,13 @@ Options used by the script
|
||||
Contributors
|
||||
------------
|
||||
|
||||
- Jeroen Ruigrok van der Werven
|
||||
- Pedro Algarvio
|
||||
- John Eikenberry
|
||||
- Caleb Adamantine
|
||||
List of the contributors in alphabetical order:
|
||||
|
||||
- Andrea Riciputi
|
||||
- Anton Butanaev
|
||||
- Caleb Adamantine
|
||||
- Jeroen Ruigrok van der Werven
|
||||
- John Eikenberry
|
||||
- Marc Weber
|
||||
- Pedro Algarvio
|
||||
- Will Gray
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
" Language: Python
|
||||
" Maintainer: Dmitry Vasiliev <dima at hlabs dot org>
|
||||
" URL: https://github.com/hdima/python-syntax
|
||||
" Last Change: 2013-06-01
|
||||
" Last Change: 2013-06-02
|
||||
" Filenames: *.py
|
||||
" Version: 3.3.2
|
||||
" Version: 3.3.3
|
||||
"
|
||||
" Based on python.vim (from Vim 6.1 distribution)
|
||||
" by Neil Schemenauer <nas at python dot ca>
|
||||
@@ -20,13 +20,15 @@
|
||||
" Contributors
|
||||
" ============
|
||||
"
|
||||
" Jeroen Ruigrok van der Werven
|
||||
" Pedro Algarvio
|
||||
" John Eikenberry
|
||||
" Caleb Adamantine
|
||||
" List of the contributors in alphabetical order:
|
||||
"
|
||||
" Andrea Riciputi
|
||||
" Anton Butanaev
|
||||
" Caleb Adamantine
|
||||
" Jeroen Ruigrok van der Werven
|
||||
" John Eikenberry
|
||||
" Marc Weber
|
||||
" Pedro Algarvio
|
||||
" Will Gray
|
||||
"
|
||||
" Options
|
||||
@@ -88,8 +90,8 @@ endif
|
||||
"
|
||||
" Commands
|
||||
"
|
||||
command! -buffer Python2Syntax let b:python_version_2 = 1 | if exists("g:syntax_on") | syn off | endif | syn enable
|
||||
command! -buffer Python3Syntax let b:python_version_2 = 0 | if exists("g:syntax_on") | syn off | endif | syn enable
|
||||
command! -buffer Python2Syntax let b:python_version_2 = 1 | let &syntax=&syntax
|
||||
command! -buffer Python3Syntax let b:python_version_2 = 0 | let &syntax=&syntax
|
||||
|
||||
" Enable option if it's not defined
|
||||
function! s:EnableByDefault(name)
|
||||
|
||||
Reference in New Issue
Block a user