Pass <s-tab> through to supertab.
This commit is contained in:
parent
43b1cbd958
commit
cd83608df3
@ -1368,6 +1368,7 @@ Contributors listed in chronological order:
|
||||
Keith Welch - paralogiki
|
||||
Zhao Cai - zhaocai
|
||||
John Szakmeister - jszakmeister
|
||||
Jonas Diemer - diemer
|
||||
|
||||
|
||||
8.2 Snippets *UltiSnips-contrisnippets*
|
||||
|
@ -572,6 +572,10 @@ class SnippetManager(object):
|
||||
before, after = _vim.buf.current_line_splitted
|
||||
snippets = self._snips(before, True)
|
||||
|
||||
if len(snippets) == 0:
|
||||
self._handle_failure(self.backward_trigger)
|
||||
return True
|
||||
|
||||
# Sort snippets alphabetically
|
||||
snippets.sort(key=lambda x: x.trigger)
|
||||
|
||||
@ -793,6 +797,8 @@ class SnippetManager(object):
|
||||
"""
|
||||
if trigger.lower() == "<tab>":
|
||||
feedkey = "\\" + trigger
|
||||
elif trigger.lower() == "<s-tab>":
|
||||
feedkey = "\\" + trigger
|
||||
else:
|
||||
feedkey = None
|
||||
mode = "n"
|
||||
|
Loading…
Reference in New Issue
Block a user