zsh:autoload:*: Add filetype to vim modeline

This commit is contained in:
2020-10-10 13:27:53 +02:00
parent 552b467102
commit 53622ea223
4 changed files with 8 additions and 2 deletions

View File

@@ -36,3 +36,5 @@ style="{${style%,}}"
# Overwrite the argument of the style flag with the parsed format file.
set -- "${@[1, $idx - 1]}" "${prefix}${style}" "${@[$idx + 1, -1]}"
command clang-format "$@"
# vim: ft=zsh

View File

@@ -29,3 +29,5 @@ for arg in "$@"; do
separator="\n"
done
# vim: ft=zsh

View File

@@ -79,3 +79,5 @@ if ! (( $? )); then
pushln "$commit"
echo "$commit"
fi
# vim: ft=zsh

View File

@@ -1,5 +1,3 @@
# vim: ft=zsh
## Author: druckdev
## Created: 2019-10-21
##
@@ -70,3 +68,5 @@ for dir in ${(@f)dirs}; do
command ls "$@" $all_flag -- "$dir"
separator="\n"
done
# vim: ft=zsh