From 602e995746e6b2cf601ae62f68327ab56ccf7eb5 Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Tue, 9 Oct 2012 14:07:23 -0700 Subject: [PATCH] Github flavored markdown support --- .gitmodules | 3 +++ vim/bundle/jtratner-vim-flavored-markdown | 1 + vim/plugin/settings/gh-markdown.vim | 6 ++++++ 3 files changed, 10 insertions(+) create mode 160000 vim/bundle/jtratner-vim-flavored-markdown create mode 100644 vim/plugin/settings/gh-markdown.vim diff --git a/.gitmodules b/.gitmodules index 0d6e642..b33392b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -352,3 +352,6 @@ [submodule "vim/bundle/bbommarito-vim-slim"] path = vim/bundle/bbommarito-vim-slim url = https://github.com/bbommarito/vim-slim.git +[submodule "vim/bundle/jtratner-vim-flavored-markdown"] + path = vim/bundle/jtratner-vim-flavored-markdown + url = https://github.com/jtratner/vim-flavored-markdown.git diff --git a/vim/bundle/jtratner-vim-flavored-markdown b/vim/bundle/jtratner-vim-flavored-markdown new file mode 160000 index 0000000..7e5db14 --- /dev/null +++ b/vim/bundle/jtratner-vim-flavored-markdown @@ -0,0 +1 @@ +Subproject commit 7e5db144a6135805e9e7772b3db66fe2999e5bdf diff --git a/vim/plugin/settings/gh-markdown.vim b/vim/plugin/settings/gh-markdown.vim new file mode 100644 index 0000000..99d037e --- /dev/null +++ b/vim/plugin/settings/gh-markdown.vim @@ -0,0 +1,6 @@ +" Support for github flavored markdown +" via https://github.com/jtratner/vim-flavored-markdown +augroup markdown + au! + au BufNewFile,BufRead *.md,*.markdown setlocal filetype=ghmarkdown +augroup END