summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Sterling X. Winter <sterling.winter@gmail.com> 2009-03-15 03:05:24 -0500
committerAvatar Sterling X. Winter <replica@exherbo.org> 2010-06-14 23:04:51 -0500
commit32f92e9cd0a3c79a87f5dd3c385d6b05f7d868ca (patch)
treeaa04c4628c83ebd6992001ca5df217c8fb089620
parent4d24719a3e0d7084420cf7a83a0f249b3ffeb460 (diff)
downloadvim-32f92e9cd0a3c79a87f5dd3c385d6b05f7d868ca.tar.gz
vim-32f92e9cd0a3c79a87f5dd3c385d6b05f7d868ca.tar.xz
app-vim/pandoc-syntax initial commit
-rw-r--r--packages/app-vim/pandoc-syntax/pandoc-syntax-1.2.exheres-018
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/app-vim/pandoc-syntax/pandoc-syntax-1.2.exheres-0 b/packages/app-vim/pandoc-syntax/pandoc-syntax-1.2.exheres-0
new file mode 100644
index 0000000..ccafb83
--- /dev/null
+++ b/packages/app-vim/pandoc-syntax/pandoc-syntax-1.2.exheres-0
@@ -0,0 +1,18 @@
+# Copyright 2009 Sterling X. Winter <sterling.winter@gmail.com>
+# Distributed under the terms of the GNU General Public License v2
+
+require vim-plugin [ script_id=2389 script_type=syntax src_id=9430 src_suffix=vim ]
+
+SUMMARY="vim plugin: Syntax highlighting for Pandoc, a superset of Markdown"
+
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+MYOPTIONS=""
+
+src_unpack() {
+ mkdir "${VIM_SCRIPT_TYPE}"/
+ cp "${FETCHEDDIR}/${PNV}.vim" "${VIM_SCRIPT_TYPE}/pdc.vim"
+
+ mkdir ftdetect
+ echo -e "\" Pandoc\nau! Bufread,BufNewFile *.pdc set filetype=pdc" > ftdetect/pdc.vim
+}