Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

create toplevel symlinks for ftplugin and doc

tpope's vim-pathogen expects to find the ftplugin directory at the top
level.  use `make vim-pathogen` to generate symbolic links to the
ftplugin and doc directories.
  • Loading branch information...
commit 68f1c7f6cd64167e57107b4b227d100b3ac907af 1 parent 6eed464
nixon nixon authored
Showing with 16 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +6 −0 Makefile
  3. +6 −0 vim/README.txt
4 .gitignore
View
@@ -9,6 +9,10 @@ distribution/
cscope.out
*~
+# symlinks created for pathogen
+/ftplugin
+/doc
+
# Distribution files
# */sparkup
# */sparkup.py
6 Makefile
View
@@ -38,3 +38,9 @@ vim:
mkdir -p vim/doc
# Add asteriks to title, so it gets matched by `:helptags`
sed '1s/.*/*\0*/' ${README} > vim/doc/sparkup.txt
+
+# create pathogen friendly structure
+vim-pathogen: vim ftplugin doc
+
+ftplugin doc:
+ ln -s vim/$@
6 vim/README.txt
View
@@ -11,6 +11,12 @@ Installation
(Assuming your current dir is sparkup/vim/)
$ cp ../sparkup.py ~/.vim/
+Or use tpope's vim-pathogen:
+
+ cd ~/.vim/bundle ; git clone
+ cd sparkup
+ make vim-pathogen
+
Configuration
-------------
Please sign in to comment.
Something went wrong with that request. Please try again.