ultisnips
ultisnips copied to clipboard
Check if jumpable
This is not an issue, but a feature request. I have tried to somehow get a simple function to return true or false whether a jump is present or not, but I couldn't get a reliable solution, that worked in every situation. Would it be possible to implement a function "isJumpable" to do just that?
coc-snippets for example provides coc#jumpable() but I don't want to use coc-snippets with ultisnips as it doesnt support python t s m variables
Yes, this would be feasible. It needs refactoring in https://github.com/SirVer/ultisnips/blob/8ff301c651d6df806c0f9305273a6c62a693bc48/pythonx/UltiSnips/snippet_manager.py#L497 to implement such a functionality.
Would this not be the same as checking whether there is an active snippet? For example, by checking len(self._active_snippets)
?
This would be a great feature