Fix clang completion parameter passing

This commit is contained in:
Maxime Coste 2015-12-02 01:18:20 +00:00
parent 9a6347d6aa
commit 0c30df7a0c

View File

@ -5,7 +5,7 @@ decl -hidden str-list clang_completions
decl -hidden line-flag-list clang_flags
decl -hidden str clang_errors
def clang-parse -docstring "Parse the contents of the current buffer with clang" %{
def clang-parse -params 0..1 -docstring "Parse the contents of the current buffer with clang" %{
%sh{
dir=$(mktemp -d -t kak-clang.XXXXXXXX)
mkfifo ${dir}/fifo