We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 588e4d4 commit 7afb06cCopy full SHA for 7afb06c
lua/blink/cmp/windows/autocomplete.lua
@@ -103,7 +103,7 @@ function autocomplete.update_position(context)
103
104
-- place the window at the start col of the current text we're fuzzy matching against
105
-- so the window doesnt move around as we type
106
- local col = context.bounds.start_col - cursor_col - 1
+ local col = context.bounds.start_col - cursor_col - (context.bounds.start_col == 0 and 0 or 1)
107
108
-- detect if there's space above/below the cursor
109
-- todo: should pick the largest space if both are false and limit height of the window
0 commit comments