Selecting snippets with '\' at the beginning of the trigger word causes another extra '\' to be added.
moshiur-raj opened this issue · 2 comments
moshiur-raj commented
Checkhealth
Put result of :checkhealth compe
.
health#compe#check
========================================================================
## compe:snippet
- OK: snippet engine detected.
## compe:mapping
- INFO: `compe#complete` is not mapped
- INFO: `compe#confirm` is not mapped
- OK: `compe#close` is mapped: (`i <C-Y> * compe#close('<C-Y>')`)
- INFO: `compe#scroll` is not mapped
Describe the bug
I use ultisnips for snippets. I don't want snippets to trigger everytime I type 'begin" in a latex document. So I have '\begin' as the trigger. The problem is that when I select the completion compe adds another '' at the beginning. I haven't checked the bug with other special characters. Only '\' so far....
To Reproduce
- Create an ultisnips snippet with '\' at the beginning
- Open a latex document.
- Select the snippet from the popup menu.
Actual behavior
Compe add an extra '\' at the beginning.
Expected behavior
Compe should not add an extra '\'.
Screenshots (optional)
After selecting...
taybart commented
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.