Created
May 7, 2011 19:18
-
-
Save RichiH/960754 to your computer and use it in GitHub Desktop.
plasticboy / vim-markdown / 0001-Support-Markdown-in-openssl.vim.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From ca4fe2efff68e71098c8ecf4c59e7326bf452b85 Mon Sep 17 00:00:00 2001 | |
From: Richard Hartmann <richih.mailinglist@gmail.com> | |
Date: Sat, 7 May 2011 21:13:02 +0200 | |
Subject: [PATCH] Support Markdown in openssl.vim | |
openssl.vim allows you to transparently encrypt files using openssl. | |
With this change, you can have mdwn.bfa etc be detected as Markdown while still using openssl.vim's encryption. | |
--- | |
ftdetect/mkd.vim | 3 ++- | |
1 files changed, 2 insertions(+), 1 deletions(-) | |
diff --git a/ftdetect/mkd.vim b/ftdetect/mkd.vim | |
index ab36f5c..44f6f0e 100644 | |
--- a/ftdetect/mkd.vim | |
+++ b/ftdetect/mkd.vim | |
@@ -1,3 +1,4 @@ | |
" markdown filetype file | |
-au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} set filetype=mkd | |
+au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} set filetype=mkd | |
+au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} set filetype=mkd | |
-- | |
1.7.4.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment