[patch] 0001-Support-Markdown-in-openssl.vim.patch #16

RichiH opened this Issue May 7, 2011 · 1 comment


None yet

2 participants

RichiH commented May 7, 2011

Cloning your repo for this seems to be overkill.

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

@plasticboy plasticboy pushed a commit that closed this issue Nov 16, 2012
Ben Williams Add support for openssl.vim filetypes. Closes #16. 5d7eeb1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment