]> git.pld-linux.org Git - packages/vim.git/commitdiff
- from debian
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 23 Jan 2007 16:31:52 +0000 (16:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
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 [new file with mode: 0644]
vim-mysql.vim-syntax_comment.patch [new file with mode: 0644]
vim-perl.vim-ftplugin_perldoc.patch [new file with mode: 0644]
vim-python.vim-ftplugin_pydoc.patch [new file with mode: 0644]
vim-ruby.vim-ftplugin_ri.patch [new file with mode: 0644]

diff --git a/vim-dosini.vim-hash_comment.patch b/vim-dosini.vim-hash_comment.patch
new file mode 100644 (file)
index 0000000..871e8fc
--- /dev/null
@@ -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 (file)
index 0000000..79b412a
--- /dev/null
@@ -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 (file)
index 0000000..388b94a
--- /dev/null
@@ -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 (file)
index 0000000..7b54018
--- /dev/null
@@ -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 (file)
index 0000000..a072934
--- /dev/null
@@ -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
This page took 0.27728 seconds and 4 git commands to generate.