ultisnips
ultisnips copied to clipboard
UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
Expect: ----------- I want to auto pair quote like ' and ", by type the left one, as below: '| ===> '|' "| ===> "|" **note: "|" denotes the cursor**...
I have a problem with a somewhat evil snippet which looks like this: ``` python snippet "rlink(?:\s+\#([-\w]+)?)?\s+(\S+)(?:\s+(.*))?" "save an external reflink" r [${1:`!p snip.rv = reg_or(snip.v.text, reg_or(match.group(3), 'LINK_TEXT'))`}][`!p if not...
**Expected behavior:** The cursor starts on the same space as the tabstop and respects leading whitespace **Actual behavior:** The first tabstop places the cursor to the left of the tabstop...
I would like to create a snippet to make a choice from a list of options. As UltiSnips supports choices via the `${1|,...,|}` syntax I was wondering if there is...
**Expected behavior:** Assigning `g:UltiSnipsExpandTrigger` to `` should work fine. **Actual behavior:** Using the shortcut with no available completion before inserts ``. **Steps to reproduce** .vimrc (using plug.vim): ``` call plug#begin()...
 **Expected behavior:** I expect that when I press tab, it can jump from 1 to 2 **Actual behavior:** After pressing tab, exit directly into normal mode. **Steps to reproduce**...
When typing too fast, some snippets which should expand automatically do not. **Expected behavior:** Have all automatic snippets expanded. **Actual behavior:** Some snippets are not expanded. **Steps to reproduce** 1....
**Expected behavior:** I keep my configuration files on GitLab, and sync across systems. Thus I have a > /home/my_username/island/dot-files/vim/UltiSnips/ folder, which contains > tex.snippets > text.snippets > ... if I...
~Now it is possible to disable AutoTrigger in the current buffer by setting the buffer variable `b:UltiSnipsAutoTrigger = 0`.~ Now it is possible to disable AutoTrigger via global variable `g:UltiSnipsAutoTrigger`,...
When the .snippets filed are stored in a symlinked folder, calling `:UltiSnipsEdit` returns the following error : UltiSnips was not able to find a default directory for snippets. Do any...