about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2022-01-29 11:08:21 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2022-01-29 16:01:39 +0000
commitc055c6464de20da13a6c805f017543f94b6e0ca9 (patch)
tree3949296c78ace00ea6de398675f73d3525844f50 /Functions
parentee5e3d0c9d07ce3297959b89f96238dbff9b6400 (diff)
downloadzsh-c055c6464de20da13a6c805f017543f94b6e0ca9.tar.gz
zsh-c055c6464de20da13a6c805f017543f94b6e0ca9.tar.xz
zsh-c055c6464de20da13a6c805f017543f94b6e0ca9.zip
unposted: vcs_info: Add Vim modelines
... for consistency with all other vcs_info function files.
Diffstat (limited to 'Functions')
-rw-r--r--Functions/VCS_Info/VCS_INFO_patch2subject2
-rw-r--r--Functions/VCS_Info/VCS_INFO_set-branch-format2
-rw-r--r--Functions/VCS_Info/VCS_INFO_set-patch-format2
3 files changed, 6 insertions, 0 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_patch2subject b/Functions/VCS_Info/VCS_INFO_patch2subject
index a467edcdb..5aa9efd23 100644
--- a/Functions/VCS_Info/VCS_INFO_patch2subject
+++ b/Functions/VCS_Info/VCS_INFO_patch2subject
@@ -1,3 +1,5 @@
+## vim:ft=zsh
+#
 # This function takes as an argument a filename of a patch and sets $REPLY to
 # a single-line "subject", or unsets it if no subject could be extracted.
 {
diff --git a/Functions/VCS_Info/VCS_INFO_set-branch-format b/Functions/VCS_Info/VCS_INFO_set-branch-format
index 8cff51b9a..cbab60e29 100644
--- a/Functions/VCS_Info/VCS_INFO_set-branch-format
+++ b/Functions/VCS_Info/VCS_INFO_set-branch-format
@@ -1,3 +1,5 @@
+## vim:ft=zsh
+#
 # A function for calling the branch-format hook
 #
 # Return the value to use in REPLY
diff --git a/Functions/VCS_Info/VCS_INFO_set-patch-format b/Functions/VCS_Info/VCS_INFO_set-patch-format
index e387110a2..c35b695c3 100644
--- a/Functions/VCS_Info/VCS_INFO_set-patch-format
+++ b/Functions/VCS_Info/VCS_INFO_set-patch-format
@@ -1,3 +1,5 @@
+## vim:ft=zsh
+#
 # This function is the common guts of the gen-applied-string /
 # gen-unapplied-string / set-patch-format dance of several backends.
 #