summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Sterling X. Winter <replica@exherbo.org> 2011-02-28 10:41:08 -0600
committerAvatar Sterling X. Winter <replica@exherbo.org> 2011-02-28 10:52:47 -0600
commitec9f664aaec46fdf2e51a91dc36f54acf90817e3 (patch)
tree4ff64404f3581014d668f3f3a74d9f5464319d15
parent4647ffaf7e8c46c5d34baca7768bf3033076efb7 (diff)
downloadvim-ec9f664aaec46fdf2e51a91dc36f54acf90817e3.tar.gz
vim-ec9f664aaec46fdf2e51a91dc36f54acf90817e3.tar.xz
markdown-syntax: Fix install for updated source tree
-rw-r--r--packages/app-vim/markdown-syntax/markdown-syntax-scm.exheres-016
1 files changed, 5 insertions, 11 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
index 4ca06db..45e2a37 100644
--- a/packages/app-vim/markdown-syntax/markdown-syntax-scm.exheres-0
+++ b/packages/app-vim/markdown-syntax/markdown-syntax-scm.exheres-0
@@ -9,9 +9,9 @@ SUMMARY="Vim plugin: Markdown syntax highlighting"
HOMEPAGE="http://plasticboy.com/markdown-vim-mode/"
LICENCES="as-is"
+SLOT="0"
PLATFORMS="~amd64 ~ia64 ~x86"
MYOPTIONS=""
-SLOT="0"
VIM_PLUGIN_MESSAGES="filetype"
@@ -20,18 +20,12 @@ src_unpack() {
}
src_install() {
- dodir /usr/share/vim/vimfiles/{syntax,ftdetect}
-
- insinto /usr/share/vim/vimfiles/syntax
- doins mkd.vim
+ dodir /usr/share/vim/vimfiles/{ftdetect,syntax}
insinto /usr/share/vim/vimfiles/ftdetect
- hereins <<'END' mkd.vim
-if &compatible || v:version < 700
- finish
-endif
+ doins ftdetect/mkd.vim
-au BufNewFile,BufRead *.mkd set filetype=mkd
-END
+ insinto /usr/share/vim/vimfiles/syntax
+ doins syntax/mkd.vim
}