Comments (6)
Just tested our the new commit, and it works as expected. Thank you for the help. π
from minisnip.
@jmzagorski I apologize if this is quite obvious, but how do you create snippets with a backslash? I thought the filename of the snippet is used as the token to be expanded, so I can't create a file called /.snip
and \.snip
(or for that matter, \\.snip
, \\\.snip
) is not expanded or triggered after pressing tab:
β°β β $βtree all
all
βββ arrow.snip
βββ check.snip
βββ \.snip
βββ trademark.snip
from minisnip.
@rsmith31415 The issue was about slashes in values for placeholders, not snippet names
from minisnip.
@Jorengarenar Oh, sorry about that. I appreciate the clarification. I was thinking about snippet names. On that topic, is there a way to create a snippet that is expanded after typing \<Tab>
. I found this useful while writing tex documents (e.g. \
should be expanded to \$${$$}
where $$ are delimiters. Let me know if I should open a new issue with that question instead.
from minisnip.
@rsmith31415 Unfortunately, that would require too much changes
from minisnip.
That's fair. Thank you for the response π
from minisnip.
Related Issues (20)
- Expanding from an autocmd HOT 1
- Expanding snippet jumps to placeholder outside of snippet template HOT 4
- replacing placeholders deletes placeholder
- Creating more than one snippet for the same filetype fails.
- snippet
- <C-x><C-u> opens split window as preview HOT 4
- Problems with expanding HOT 9
- Problems with indentation in HTML HOT 6
- no snippet with that name HOT 3
- Unknown function: miniSnip#trigger HOT 9
- Odd comment character placement when fo+=r
- Strange placeholder behavior
- Unexpected indent on last line of snippet HOT 2
- Expansion without file snippet HOT 2
- Hope minisnip add selection region HOT 4
- After latest commit (11bc4fd), snippet name is left behind after expanding HOT 1
- Snippets that contain an indent do not expand to spaces when `'expandtab'` is set HOT 2
- When expanding <tab>'s, `'smarttab'` is not respected HOT 2
- Placeholder value with ampersand causes subsequent values to append instead of replace
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 minisnip.