Do not cd into the buffer directory when running clang

This commit is contained in:
Maxime Coste 2015-08-24 20:10:38 +01:00
parent 1bc333a028
commit c7aca37633

View File

@ -36,7 +36,6 @@ def -shell-params clang-parse -docstring "Parse the contents of the current buff
*) ft=c++ ;;
esac
cd $(dirname ${kak_buffile})
if [ "$1" == "-complete" ]; then
pos=-:${kak_cursor_line}:${kak_cursor_column}
header="${kak_cursor_line}.${kak_cursor_column}@${kak_timestamp}"