aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r--Source/SPNarrowDownCompletion.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m
index 10d4c1f7..9f539d67 100644
--- a/Source/SPNarrowDownCompletion.m
+++ b/Source/SPNarrowDownCompletion.m
@@ -574,7 +574,7 @@
break;
}
}
- else if(key == NSCarriageReturnCharacter || key == NSTabCharacter)
+ else if(key == NSCarriageReturnCharacter || (key == NSTabCharacter && !triggerMode))
{
[self completeAndInsertSnippet];
}