1
0
mirror of https://github.com/amix/vimrc synced 2025-07-12 14:15:00 +08:00

Update ui_glue.vim, lightline.txt, and 333 more files...

This commit is contained in:
geezuslucifer@gmail.com
2021-06-30 11:54:34 -05:00
parent 43c7efba8d
commit 1cca3b1df2
335 changed files with 8451 additions and 2020 deletions

View File

@ -359,9 +359,13 @@ selected in |Select-mode|. For example, >
$0
</div>
Finally, placeholders can contain mirrors and evaluations (detailed below) and
even entire other tab stops. If the placeholder is edited, then these nested
tab stops are removed and skipped entirely. For example, >
Finally, placeholders can contain mirrors and evaluations (detailed below)
and, in version 1 of the snippet parser, even entire other tab stops. If the
placeholder is edited, then these nested tab stops are removed and skipped
entirely.
NOTE: Version 1 of the snippet parser must be used! See
|SnipMate-parser-versions|.
For example, >
snippet div
<div${1: id="${2:id}"}${3: class="${4:class}"}>
@ -469,6 +473,8 @@ Which version is used is determined by version directives in snippet files
(|SnipMate-options|).
A complete list of current differences is as follows:
- Version 0 does not support nested placeholders such as ${1:"${2:foo}"} at
all.
- Backslash escaping is guaranteed to work in version 1. In certain edge cases
this may not work in version 0.
- Certain syntactic errors, such as a missing closing brace for a tabstop, are
@ -478,7 +484,7 @@ A complete list of current differences is as follows:
- Braces are not mandatory in version 1. SnipMate will determine which
instance of a stop ID to use based on the presence of a placeholder, or
whichever instance occurs first. Braces can therefore be used to
disambiguate between stop 12, $12, and stop 1 followed by a 2, ${1}2. In
disambiguate between stop 12, $12, and stop 1 followed by a 2: ${1}2. In
other words, version 0 makes a distinction between a mirror and a stop while
version 1 resolves the differences for you.
- Placeholders are not mandatory to enable mirror support in version 1.
@ -489,6 +495,21 @@ A complete list of current differences is as follows:
- Transformations similar to |:substitute| can be preformed on any mirror,
including visual content.
*SnipMate-deprecate*
Deprecation~
The legacy parser, version 0, is deprecated. It is currently still the default
parser, but that will be changing. NOTE that switching which parser you use
could require changes to your snippets--see the previous section.
To continue using the old parser, set g:snipMate.snippet_version (see
|SnipMate-options|) to 0 in your |vimrc|.
Setting g:snipMate.snippet_version to either 0 or 1 will remove the start up
message. One way this can be done--to use the new parser--is as follows:
>
let g:snipMate = { 'snippet_version' : 1 }
<
==============================================================================
SNIPPET SOURCES *SnipMate-snippet-sources*
@ -511,7 +532,7 @@ sources such as creating snippets on the fly representing python function
definitions found in the current file.
Example 2:~
Add to your ~/.vimrc: For each know snippet add a second version ending in _
Add to your ~/.vimrc: For each new snippet add a second version ending in _
adding folding markers >
let g:commentChar = {