mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-25 10:32:19 +03:00
Support paths with spaces for c-family :alt
This commit is contained in:
parent
77408becbd
commit
d12be9fdc1
@ -150,8 +150,8 @@ decl str-list alt_dirs ".;.."
|
||||
|
||||
def c-family-alternative-file -docstring "Jump to the alternate file (header/implementation)" %{ %sh{
|
||||
alt_dirs=$(echo ${kak_opt_alt_dirs} | sed -e 's/;/ /g')
|
||||
file=$(basename ${kak_buffile})
|
||||
dir=$(dirname ${kak_buffile})
|
||||
file=$(basename "${kak_buffile}")
|
||||
dir=$(dirname "${kak_buffile}")
|
||||
|
||||
case ${file} in
|
||||
*.c|*.cc|*.cpp|*.cxx|*.C|*.inl|*.m)
|
||||
|
Loading…
Reference in New Issue
Block a user