From 362fd9d26f3fdd9f1b84aa695ea3a14ad312df1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 23 Jan 2007 16:31:52 +0000 Subject: [PATCH] - from debian Changed files: vim-dosini.vim-hash_comment.patch -> 1.1 vim-mysql.vim-syntax_comment.patch -> 1.1 vim-perl.vim-ftplugin_perldoc.patch -> 1.1 vim-python.vim-ftplugin_pydoc.patch -> 1.1 vim-ruby.vim-ftplugin_ri.patch -> 1.1 --- vim-dosini.vim-hash_comment.patch | 13 +++++++++++++ vim-mysql.vim-syntax_comment.patch | 13 +++++++++++++ vim-perl.vim-ftplugin_perldoc.patch | 14 ++++++++++++++ vim-python.vim-ftplugin_pydoc.patch | 14 ++++++++++++++ vim-ruby.vim-ftplugin_ri.patch | 15 +++++++++++++++ 5 files changed, 69 insertions(+) create mode 100644 vim-dosini.vim-hash_comment.patch create mode 100644 vim-mysql.vim-syntax_comment.patch create mode 100644 vim-perl.vim-ftplugin_perldoc.patch create mode 100644 vim-python.vim-ftplugin_pydoc.patch create mode 100644 vim-ruby.vim-ftplugin_ri.patch diff --git a/vim-dosini.vim-hash_comment.patch b/vim-dosini.vim-hash_comment.patch new file mode 100644 index 0000000..871e8fc --- /dev/null +++ b/vim-dosini.vim-hash_comment.patch @@ -0,0 +1,13 @@ +Index: vim/runtime/syntax/dosini.vim +=================================================================== +--- vim/runtime/syntax/dosini.vim.orig ++++ vim/runtime/syntax/dosini.vim +@@ -17,7 +17,7 @@ + + syn match dosiniLabel "^.\{-}=" + syn region dosiniHeader start="\[" end="\]" +-syn match dosiniComment "^;.*$" ++syn match dosiniComment "^[;#].*$" + + " Define the default highlighting. + " For version 5.7 and earlier: only when not done already diff --git a/vim-mysql.vim-syntax_comment.patch b/vim-mysql.vim-syntax_comment.patch new file mode 100644 index 0000000..79b412a --- /dev/null +++ b/vim-mysql.vim-syntax_comment.patch @@ -0,0 +1,13 @@ +Index: vim/runtime/syntax/mysql.vim +=================================================================== +--- vim/runtime/syntax/mysql.vim.orig ++++ vim/runtime/syntax/mysql.vim +@@ -67,7 +67,7 @@ + " Comments (c-style, mysql-style and modified sql-style) + syn region mysqlComment start="/\*" end="\*/" + syn match mysqlComment "#.*" +-syn match mysqlComment "-- .*" ++syn match mysqlComment "--\_s.*" + syn sync ccomment mysqlComment + + " Column types diff --git a/vim-perl.vim-ftplugin_perldoc.patch b/vim-perl.vim-ftplugin_perldoc.patch new file mode 100644 index 0000000..388b94a --- /dev/null +++ b/vim-perl.vim-ftplugin_perldoc.patch @@ -0,0 +1,14 @@ +Index: vim/runtime/ftplugin/perl.vim +=================================================================== +--- vim/runtime/ftplugin/perl.vim.orig ++++ vim/runtime/ftplugin/perl.vim +@@ -39,6 +39,9 @@ + set isfname+=: + "setlocal iskeyword=48-57,_,A-Z,a-z,: + ++" Debian patch: use perldoc for keyword lookup ++setlocal keywordprg=perldoc\ -f ++ + " Set this once, globally. + if !exists("perlpath") + if executable("perl") diff --git a/vim-python.vim-ftplugin_pydoc.patch b/vim-python.vim-ftplugin_pydoc.patch new file mode 100644 index 0000000..7b54018 --- /dev/null +++ b/vim-python.vim-ftplugin_pydoc.patch @@ -0,0 +1,14 @@ +Index: vim/runtime/ftplugin/python.vim +=================================================================== +--- vim/runtime/ftplugin/python.vim.orig ++++ vim/runtime/ftplugin/python.vim +@@ -14,6 +14,9 @@ + setlocal comments-=:% + setlocal commentstring=#%s + ++" Debian patch: use pydoc for keyword lookup ++setlocal keywordprg=pydoc ++ + setlocal omnifunc=pythoncomplete#Complete + + set wildignore+=*.pyc diff --git a/vim-ruby.vim-ftplugin_ri.patch b/vim-ruby.vim-ftplugin_ri.patch new file mode 100644 index 0000000..a072934 --- /dev/null +++ b/vim-ruby.vim-ftplugin_ri.patch @@ -0,0 +1,15 @@ +Index: vim/runtime/ftplugin/ruby.vim +=================================================================== +--- vim/runtime/ftplugin/ruby.vim.orig ++++ vim/runtime/ftplugin/ruby.vim +@@ -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") + let b:match_ignorecase = 0 -- 2.44.0