[packages/vim-syntax-spec] add wrappers to install the plugin via Vundle

glen glen at pld-linux.org
Wed Jan 16 15:51:43 CET 2019


commit 064d82fc69f66163fe9d2572fce922a02d3d82ad
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 16 13:10:20 2019 +0200

    add wrappers to install the plugin via Vundle

 README.md         | 7 +++++++
 ftplugin/spec.vim | 5 +++++
 syntax/spec.vim   | 2 ++
 3 files changed, 14 insertions(+)
---
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..e79f32d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,7 @@
+# Vim syntax for rpm .spec files - PLD Linux edition
+
+## Installation
+
+1. install [Vundle.vim](https://github.com/VundleVim/Vundle.vim)
+2. add to `.vimrc`: `Plugin pld-linux/vim-syntax-spec'`
+3. install: `vim +PluginInstall +qall`
diff --git a/ftplugin/spec.vim b/ftplugin/spec.vim
new file mode 100644
index 0000000..dea3e81
--- /dev/null
+++ b/ftplugin/spec.vim
@@ -0,0 +1,5 @@
+"exec 'source' . expand('%:p:h') . '/../vim-ftplugin-spec.vim'
+"exec 'source' . expand('%:p:h') . '/../
+source <sfile>:p:h:h/vim-ftplugin-spec.vim
+"<sfile>
+"<sfile>
diff --git a/syntax/spec.vim b/syntax/spec.vim
new file mode 100644
index 0000000..f668f6f
--- /dev/null
+++ b/syntax/spec.vim
@@ -0,0 +1,2 @@
+"exec 'source' . expand('%:p:h') . '/../spec.vim'
+source <sfile>:p:h:h/spec.vim
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vim-syntax-spec.git/commitdiff/064d82fc69f66163fe9d2572fce922a02d3d82ad



More information about the pld-cvs-commit mailing list