Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Commit

Permalink
Fix the venerable completion replacement bug (closes #8).
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed May 12, 2014
1 parent dfe140d commit 46f7b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sublime_ocp_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def make_result(replacement, rest):
actual_replacement = replacement[length:]

# Weird sublime bug, if there are no underscores in the replacement it replaces the module name as well
if not '_' in actual_replacement: actual_replacement = replacement
actual_replacement = replacement

return replacement + "\t" + rest, actual_replacement

Expand Down

0 comments on commit 46f7b22

Please sign in to comment.