Package: ragel
Version: 6.7-1
Severity: wishlist
Tags: patch

Hi,

now that the vim syntax file is installed in the right directory, it is
possible to add ragel.vim support into vim-addons (which I started to use
only recently).

This can be achieved by creating a simple configuration file, to be 
installed under /usr/share/vim/registry/. See the attached patch.

Cheers

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ragel depends on:
ii  libc6       2.13-27
ii  libgcc1     1:4.6.2-16
ii  libstdc++6  4.6.2-16

ragel recommends no packages.

ragel suggests no packages.

-- no debconf information
--- /dev/null
+++ b/debian/ragel.yaml
@@ -0,0 +1,5 @@
+addon: ragel
+description: "allow syntax highlighting for ragel state machines"
+files:
+  - syntax/ragel.vim
+
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,7 @@
 	dh_installdirs
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/ragel/ 
 	dh_install ragel.vim /usr/share/vim/addons/syntax/
+	dh_install debian/ragel.yaml /usr/share/vim/registry/
 
 binary-indep: build install
 

Reply via email to