add note about version and fix tests
This commit is contained in:
parent
878f79ffda
commit
61e06bbc18
@ -1606,6 +1606,8 @@ endsnippet
|
||||
4.11 Autotrigger *UltiSnips-autotrigger*
|
||||
----------------
|
||||
|
||||
Note: vim should be newer than 7.4.214 to support this feature.
|
||||
|
||||
Many language constructs can occur only at specific places, so it's
|
||||
possible to use snippets without manually triggering them.
|
||||
|
||||
@ -1634,7 +1636,7 @@ endsnippet
|
||||
|
||||
When "p" character will occur in the beginning of the line, it will be
|
||||
automatically expanded into "package main". Same with "m" character. There is
|
||||
no need to press trigger key after "m".
|
||||
no need to press trigger key after "m""
|
||||
|
||||
==============================================================================
|
||||
5. UltiSnips and Other Plugins *UltiSnips-other-plugins*
|
||||
|
@ -6,6 +6,7 @@ import subprocess
|
||||
|
||||
def has_patch(version, executable):
|
||||
output = subprocess.check_output([executable, "--version"])
|
||||
patch = 1
|
||||
for line in output.split("\n"):
|
||||
if line.startswith("Included patches:"):
|
||||
patch = line.split('-')[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user