Skip to content
This repository

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

RichiH opened this Issue May 07, 2011 · 1 comment

2 participants

Richard Hartmann Ben Williams
Richard Hartmann
RichiH commented May 07, 2011

Cloning your repo for this seems to be overkill.

From ca4fe2e Mon Sep 17 00:00:00 2001
From: Richard Hartmann
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

Ben Williams plasticboy closed this in 5d7eeb1 November 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.