diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-09-15 09:29:26 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-09-15 09:29:26 +1000 |
| commit | 6ee71191af7af3c67491466e00cef24843a07c5e (patch) | |
| tree | f9ad62fa4a446a651162add014ebda9a2b188a8f /rc/tools/python | |
| parent | 7aec8b22319ff4e3fdc6160e8b4dbd2a4e3567f2 (diff) | |
| parent | 683c7c1fa53350411922f06fe5f0f27902b51e3e (diff) | |
Merge remote-tracking branch 'codesoap/background_blocks'
Diffstat (limited to 'rc/tools/python')
| -rw-r--r-- | rc/tools/python/jedi.kak | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/tools/python/jedi.kak b/rc/tools/python/jedi.kak index 5f28ba64..14acbf32 100644 --- a/rc/tools/python/jedi.kak +++ b/rc/tools/python/jedi.kak @@ -19,7 +19,7 @@ define-command jedi-complete -docstring "Complete the current selection" %{ evaluate-commands %sh{ dir=${kak_opt_jedi_tmp_dir} printf %s\\n "evaluate-commands -draft %{ edit! -fifo ${dir}/fifo *jedi-output* }" - ( + (( cd $(dirname ${kak_buffile}) header="${kak_cursor_line}.${kak_cursor_column}@${kak_timestamp}" @@ -32,7 +32,7 @@ define-command jedi-complete -docstring "Complete the current selection" %{ ) printf %s\\n "evaluate-commands -client ${kak_client} %~echo completed; set-option %{buffer=${kak_buffile}} jedi_completions ${header} ${compl}~" | kak -p ${kak_session} rm -r ${dir} - ) > /dev/null 2>&1 < /dev/null & + ) & ) > /dev/null 2>&1 < /dev/null } } |
