diff options
Diffstat (limited to 'ide-autocomplete.c')
-rw-r--r-- | ide-autocomplete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-autocomplete.c b/ide-autocomplete.c index db9645c..3d5e24c 100644 --- a/ide-autocomplete.c +++ b/ide-autocomplete.c @@ -33,7 +33,7 @@ static bool autocomplete_should_display_phantom(Ted *ted) { && !buffer->is_line_buffer && buffer_settings(buffer)->phantom_completions && is32_word(buffer_char_before_cursor(buffer)) - && !is32_word(buffer_char_after_cursor(buffer)); + && !is32_word(buffer_char_at_cursor(buffer)); if (!show) autocomplete_clear_phantom(ac); return show; |