]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge pull request #55 from rhdunn/master
authorJames Blanding <ilikepi+github@gmail.com>
Thu, 6 Feb 2014 20:36:44 +0000 (15:36 -0500)
committerJames Blanding <ilikepi+github@gmail.com>
Thu, 6 Feb 2014 20:36:44 +0000 (15:36 -0500)
Add vim-addon-manager installation support

Makefile [new file with mode: 0644]
README.md
registry/mkd.yaml [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..a39492a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+VIMDIR=/usr/share/vim
+ADDONS=${VIMDIR}/addons
+REGISTRY=${VIMDIR}/registry
+
+all:
+
+install:
+       mkdir -pv ${ADDONS}/ftdetect
+       cp -v ftdetect/mkd.vim ${ADDONS}/ftdetect/mkd.vim
+       mkdir -pv ${ADDONS}/ftplugin
+       cp -v ftplugin/mkd.vim ${ADDONS}/ftplugin/mkd.vim
+       mkdir -pv ${ADDONS}/syntax
+       cp -v syntax/mkd.vim ${ADDONS}/syntax/mkd.vim
+       mkdir -pv ${ADDONS}/after/ftplugin
+       cp -v after/ftplugin/mkd.vim ${ADDONS}/after/ftplugin/mkd.vim
+       mkdir -pv ${REGISTRY}
+       cp -v registry/mkd.yaml ${REGISTRY}/mkd.yaml
index 0be1957469b72c4c7684cd4c7e6146927692cebf..9d66cb48c7da96ca58ff9bce6218db388596e217 100644 (file)
--- a/README.md
+++ b/README.md
@@ -18,6 +18,13 @@ If you use [Pathogen](https://github.com/tpope/vim-pathogen), do this:
     $ cd ~/.vim/bundle
     $ git clone https://github.com/plasticboy/vim-markdown.git
 
+To install without Pathogen using the Debian [vim-addon-manager](http://packages.qa.debian.org/v/vim-addon-manager.html), do this:
+
+    $ git clone https://github.com/plasticboy/vim-markdown.git
+    $ cd vim-markdown
+    $ sudo make install
+    $ vim-addon-manager install mkd
+
 If you are not using any package manager, download the [tarball](https://github.com/plasticboy/vim-markdown/archive/master.tar.gz) and do this:
 
     $ cd ~/.vim
diff --git a/registry/mkd.yaml b/registry/mkd.yaml
new file mode 100644 (file)
index 0000000..d0ea467
--- /dev/null
@@ -0,0 +1,7 @@
+addon: mkd
+description: "Markdown syntax highlighting"
+files:
+  - ftdetect/mkd.vim
+  - ftplugin/mkd.vim
+  - syntax/mkd.vim
+  - after/ftplugin/mkd.vim