r775 - /trunk/packages/vim/patches/ruby.vim-ftplugin_ri.diff
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Tue Sep 26 14:12:29 UTC 2006
Author: zack
Date: Tue Sep 26 14:12:27 2006
New Revision: 775
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=775
Log:
identifiers may have trailing ? or ! in ruby, support them via iskeyword
Modified:
trunk/packages/vim/patches/ruby.vim-ftplugin_ri.diff
Modified: trunk/packages/vim/patches/ruby.vim-ftplugin_ri.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/ruby.vim-ftplugin_ri.diff?rev=775&op=diff
==============================================================================
--- trunk/packages/vim/patches/ruby.vim-ftplugin_ri.diff (original)
+++ trunk/packages/vim/patches/ruby.vim-ftplugin_ri.diff Tue Sep 26 14:12:27 2006
@@ -2,12 +2,13 @@
===================================================================
--- vim/runtime/ftplugin/ruby.vim.orig
+++ vim/runtime/ftplugin/ruby.vim
-@@ -20,6 +20,9 @@
+@@ -20,6 +20,10 @@
let s:cpo_save = &cpo
set cpo&vim
+" Debian patch: use ri for keyword lookup
+setlocal keywordprg=ri
++setlocal iskeyword+=?,!
+
" Matchit support
if exists("loaded_matchit") && !exists("b:match_words")
More information about the pkg-vim-maintainers
mailing list