mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-25 10:32:19 +03:00
Always place clang completion function info above the anchor
When placed below, it will hide the main selection cursor when editing the second line of a multiple line parameter list.
This commit is contained in:
parent
00673eba36
commit
786037cffc
@ -99,7 +99,7 @@ def -hidden clang-show-completion-info %[ try %[
|
||||
%sh[
|
||||
desc=$(echo "${kak_opt_clang_completions}" | sed -e 's/\([^\\]\):/\1\n/g; s/\\:/:/g' | grep "^${kak_selection}@" | head -n1 | sed -e 's/.*[^\\]@\(.*[^\\]\)@.*$/\1/' )
|
||||
if [ -n "$desc" ]; then
|
||||
echo "eval -client $kak_client %{info -anchor ${kak_cursor_line}.${kak_cursor_column} %{${desc}}}"
|
||||
echo "eval -client $kak_client %{info -anchor ${kak_cursor_line}.${kak_cursor_column} -placement above %{${desc}}}"
|
||||
fi
|
||||
] ]
|
||||
] ]
|
||||
|
Loading…
Reference in New Issue
Block a user