Comments (6)
i mean should not expand $!
and $$
etc, but $n
but should allow n > 9
from vim-vsnip.
or actually in some langs $n has special meaning too, how to make it not expand (if chose)?
from vim-vsnip.
$
as a mere symbol, it should be escaped with \
.
sed ${1|-E,--regexp-extended|} ':${2:x} N \$! b$2 ${3:command}' ${4:file}
Also, a bug that prevented more than 9 press holders from working has recently been fixed.
from vim-vsnip.
should be escaped with
\
looks double \
required.
a bug that prevented more than 9 press holders from working has recently been fixed.
thanks, good news.
from vim-vsnip.
The need for two \
is an escape in double quotes in the vim script, and the string that is actually conveyed to vsnip is \$
. Single quotes would be one.
from vim-vsnip.
ok, my case actually was from typescript,
but vsnip was wrote by vim script, guess eventually it got was \$
.
from vim-vsnip.
Related Issues (20)
- Selection could be broken when selection is exclusive HOT 2
- TAB jump no longer works after selecting completion with special chars HOT 8
- Beginner issue: unsure of the correct configuration
- How to prevent vsnip from jumping to the end of snippet when $0 isn't present in the snippet?
- Space within an element breaks the snippet flow HOT 1
- After expand, mode change to normal. (from select pooups) HOT 4
- Context (?) bug when adding text to a placeholder that is identical to text following the placeholder HOT 1
- Snippets not loaded under macro HOT 1
- Warn the user when snippets are loaded improperly due to json syntax error
- Duplicate lines after switching from Insert mode to Normal Mode
- Is possible run code on snippet spand.
- Highlight placeholders
- Support `scope` field HOT 1
- Completion menu does not show multiple snippets with same prefix
- Change vsnip_snippet_dir HOT 1
- Backslash in trigger
- Raise a clear warning message on startup when a snippets JSON file is invalid
- Placeholder more than 9 have issues
- Solution to vscode-go snippets not loading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-vsnip.