zsh:autoload:*: Add filetype to vim modeline
This commit is contained in:
@@ -36,3 +36,5 @@ style="{${style%,}}"
|
|||||||
# Overwrite the argument of the style flag with the parsed format file.
|
# Overwrite the argument of the style flag with the parsed format file.
|
||||||
set -- "${@[1, $idx - 1]}" "${prefix}${style}" "${@[$idx + 1, -1]}"
|
set -- "${@[1, $idx - 1]}" "${prefix}${style}" "${@[$idx + 1, -1]}"
|
||||||
command clang-format "$@"
|
command clang-format "$@"
|
||||||
|
|
||||||
|
# vim: ft=zsh
|
||||||
|
|||||||
@@ -29,3 +29,5 @@ for arg in "$@"; do
|
|||||||
|
|
||||||
separator="\n"
|
separator="\n"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# vim: ft=zsh
|
||||||
|
|||||||
@@ -79,3 +79,5 @@ if ! (( $? )); then
|
|||||||
pushln "$commit"
|
pushln "$commit"
|
||||||
echo "$commit"
|
echo "$commit"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: ft=zsh
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
# vim: ft=zsh
|
|
||||||
|
|
||||||
## Author: druckdev
|
## Author: druckdev
|
||||||
## Created: 2019-10-21
|
## Created: 2019-10-21
|
||||||
##
|
##
|
||||||
@@ -70,3 +68,5 @@ for dir in ${(@f)dirs}; do
|
|||||||
command ls "$@" $all_flag -- "$dir"
|
command ls "$@" $all_flag -- "$dir"
|
||||||
separator="\n"
|
separator="\n"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# vim: ft=zsh
|
||||||
|
|||||||
Reference in New Issue
Block a user