Add kakoune filetype -> clang filetype conversion in clang-complete
This commit is contained in:
parent
e8d658eaf9
commit
75b7f44cf1
|
@ -26,6 +26,12 @@ def clang-complete %{
|
||||||
# position and a buffer timestamp, only valid completions should be
|
# position and a buffer timestamp, only valid completions should be
|
||||||
# displayed.
|
# displayed.
|
||||||
(
|
(
|
||||||
|
case ${kak_opt_filetype} in
|
||||||
|
cpp) ft=c++ ;;
|
||||||
|
obj-c) ft=objective-c ;;
|
||||||
|
*) ft=c++ ;;
|
||||||
|
esac
|
||||||
|
|
||||||
pos=-:${kak_cursor_line}:${kak_cursor_column}
|
pos=-:${kak_cursor_line}:${kak_cursor_column}
|
||||||
cd $(dirname ${kak_buffile})
|
cd $(dirname ${kak_buffile})
|
||||||
header="${kak_cursor_line}.${kak_cursor_column}@${kak_timestamp}"
|
header="${kak_cursor_line}.${kak_cursor_column}@${kak_timestamp}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user