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.
|
||||
set -- "${@[1, $idx - 1]}" "${prefix}${style}" "${@[$idx + 1, -1]}"
|
||||
command clang-format "$@"
|
||||
|
||||
# vim: ft=zsh
|
||||
|
||||
@@ -29,3 +29,5 @@ for arg in "$@"; do
|
||||
|
||||
separator="\n"
|
||||
done
|
||||
|
||||
# vim: ft=zsh
|
||||
|
||||
@@ -79,3 +79,5 @@ if ! (( $? )); then
|
||||
pushln "$commit"
|
||||
echo "$commit"
|
||||
fi
|
||||
|
||||
# vim: ft=zsh
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user