summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-26 22:11:15 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-26 22:11:15 +0100
commit903dbd6dd5daaea94ee1a1bc2d1f1b3337badae0 (patch)
treeacdc663d5bcc6e267c3babf5603c2288f9c9d590
parent017e3845e5b9c64495c5094d24f567f66a01cc5d (diff)
downloadvim-903dbd6dd5daaea94ee1a1bc2d1f1b3337badae0.tar.gz
vim-903dbd6dd5daaea94ee1a1bc2d1f1b3337badae0.tar.xz
markdown-syntax from ::ciaranm
With a bump to scm, since it lives on Github now
-rw-r--r--packages/app-vim/markdown-syntax/markdown-syntax-scm.exheres-037
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/app-vim/markdown-syntax/markdown-syntax-scm.exheres-0 b/packages/app-vim/markdown-syntax/markdown-syntax-scm.exheres-0
new file mode 100644
index 0000000..4ca06db
--- /dev/null
+++ b/packages/app-vim/markdown-syntax/markdown-syntax-scm.exheres-0
@@ -0,0 +1,37 @@
+# Copyright (c) 2008, 2009 Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
+# Distributed under the terms of the GNU General Public License v2
+
+SCM_REPOSITORY="git://github.com/plasticboy/vim-markdown.git"
+
+require vim-plugin scm-git
+
+SUMMARY="Vim plugin: Markdown syntax highlighting"
+HOMEPAGE="http://plasticboy.com/markdown-vim-mode/"
+
+LICENCES="as-is"
+PLATFORMS="~amd64 ~ia64 ~x86"
+MYOPTIONS=""
+SLOT="0"
+
+VIM_PLUGIN_MESSAGES="filetype"
+
+src_unpack() {
+ scm_src_unpack
+}
+
+src_install() {
+ dodir /usr/share/vim/vimfiles/{syntax,ftdetect}
+
+ insinto /usr/share/vim/vimfiles/syntax
+ doins mkd.vim
+
+ insinto /usr/share/vim/vimfiles/ftdetect
+ hereins <<'END' mkd.vim
+if &compatible || v:version < 700
+ finish
+endif
+
+au BufNewFile,BufRead *.mkd set filetype=mkd
+END
+}
+