]> git.pld-linux.org Git - packages/vim.git/commitdiff
- syntax/sshconfig: not every string begining with '#' is comment. Comments
authorpawelz <pawelz@pld-linux.org>
Fri, 26 Feb 2010 19:56:10 +0000 (19:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  are only *lines* begining with #.

Changed files:
    vim-syntax-sshconfig.patch -> 1.1
    vim.spec -> 1.496

vim-syntax-sshconfig.patch [new file with mode: 0644]
vim.spec

diff --git a/vim-syntax-sshconfig.patch b/vim-syntax-sshconfig.patch
new file mode 100644 (file)
index 0000000..26b85b8
--- /dev/null
@@ -0,0 +1,11 @@
+--- vim72/runtime/syntax/sshconfig.vim~        2006-03-05 22:55:08.000000000 +0100
++++ vim72/runtime/syntax/sshconfig.vim 2010-02-26 20:30:51.000000000 +0100
+@@ -23,7 +23,7 @@
+ syn case ignore
+ " Comments
+-syn match sshconfigComment "#.*$" contains=sshconfigTodo
++syn match sshconfigComment "^[[:space:]]*#.*$" contains=sshconfigTodo
+ syn keyword sshconfigTodo TODO FIXME NOT contained
+ " Constants
index bbde811ffa48fd9e825709fe58fb4cb56ffe4efe..52ba91741c7060adf99a141daaff4c88706bc093 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -87,6 +87,7 @@ Patch21:      %{name}-filetypes.patch
 Patch22:       %{name}-man_installation.patch
 Patch23:       %{name}-vimrc.patch
 Patch24:       %{name}-syntax-exports.patch
+Patch25:       %{name}-syntax-sshconfig.patch
 Patch102:      %{name}-gtkfilechooser.patch
 Patch104:      %{name}-home_etc.patch
 Patch105:      %{name}-autopaste.patch
@@ -689,6 +690,7 @@ jak również GUI GTK+2.
 %patch22 -p1
 %patch23 -p1
 %patch24 -p1
+%patch25 -p1
 
 # home etc
 %{?with_home_etc:%patch104 -p1}
This page took 0.053076 seconds and 4 git commands to generate.