diff options
| author | Henry Jameson <me@hjkos.com> | 2019-04-10 21:48:42 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-04-10 21:48:42 +0300 |
| commit | 262760d2586cac48da27cf7eb5389116d4023dfe (patch) | |
| tree | a4c9393df0da43409fcce9b1b41b4611f33cccb6 /src/services/completion/completion.js | |
| parent | 6471bec0d962a13b272c2c55807492c86b859256 (diff) | |
revert unnecessary changes
Diffstat (limited to 'src/services/completion/completion.js')
| -rw-r--r-- | src/services/completion/completion.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/completion/completion.js b/src/services/completion/completion.js index df83d03d..11c45867 100644 --- a/src/services/completion/completion.js +++ b/src/services/completion/completion.js @@ -8,7 +8,7 @@ export const wordAtPosition = (str, pos) => { const words = splitIntoWords(str) const wordsWithPosition = addPositionToWords(words) - return find(wordsWithPosition, ({ start, end }) => start <= pos && end > pos) + return find(wordsWithPosition, ({start, end}) => start <= pos && end > pos) } export const addPositionToWords = (words) => { |
