summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-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
-rw-r--r--Misc/vcs_info-examples2
5 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1aa704c23..92646df79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2022-01-29 Daniel Shahaf <d.s@daniel.shahaf.name>
+ * unposted: Functions/VCS_Info/VCS_INFO_patch2subject,
+ Functions/VCS_Info/VCS_INFO_set-branch-format,
+ Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info: Add
+ Vim modelines
+
* 49723: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Use quilt-patch-dir and ${QUILT_PATCHES} even when get-unapplied
hasn't been set
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.
#
diff --git a/Misc/vcs_info-examples b/Misc/vcs_info-examples
index c2b02a2ac..94c47278d 100644
--- a/Misc/vcs_info-examples
+++ b/Misc/vcs_info-examples
@@ -1,3 +1,5 @@
+## vim:ft=zsh
+#
# A collection of vcs_info usage examples
### Running vcs_info #########################################################