diff --git a/src/app/cursor.coffee b/src/app/cursor.coffee index 336be0c53..17d77e21e 100644 --- a/src/app/cursor.coffee +++ b/src/app/cursor.coffee @@ -198,7 +198,6 @@ class Cursor getCurrentWord: (options = {}) -> match = @editSession.getTextInBufferRange([@getBeginningOfCurrentWordBufferPosition(options), @getEndOfCurrentWordBufferPosition(options)]) - return match if options.includeDelimiter? if match?.length > 2 match.substring(1, match.length-1)