vim/vim-8.0.1568-defaults.patch
Ondřej Súkup d0b92dcc2e - Updated to version 8.2.1840, fixes the following problems
- refreshed vim-7.3-filetype_changes.patch and vim-8.0.1568-defaults.patch
  * Filetype.vim may be loaded twice.
  * Vim9: some assignment tests in the wrong file.
  * Vim9: returning from a partial call clears outer context, causing a crash.
  * Some debian changelog files are not recognized.
  * Statusline not updated when splitting windows.
  * Writing to prompt buffer interferes with insert mode.
  * Vim9: cannot pass boolean to mapset().
  * Try-catch test fails.
  * commits are not scanned for security problems
  * Compiler warning for strcp() out of bounds. (Christian Brabandt)
  * Various Normal mode commands not fully tested.
  * Crash with 'incsearch' and very long line.
  * Vim9: still allows :let for declarations.
  * Vim9: crash with invalid list constant. (Dhiraj Mishra)
  * Vim9: debugger test fails.
  * Configure does not recognize Racket 6.1+.
  * Not consistently giving the "is a directory" warning.
  * No falsy Coalescing operator.
  * Vim9: operators && and || have a confusing result.
  * Vim9: invalid memory access with weird function name. (Dhiraj Mishra)
  * Vim9: some parts of the code not tested.
  * Vim9: trinary operator condition is too permissive.
  * Some Normal mode commands not fully tested.
  * Vim9: memory leak if "if" condition is invalid.
  * Undo file not found when using ":args" or ":next".
  * Vim9: crash with unterminated dict. (Dhiraj Mishra)
  * A few failures are not tested.
  * resolve('/') returns an empty string.

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=628
2020-10-13 06:23:09 +00:00

35 lines
947 B
Diff

Index: vim-8.2.1840/runtime/defaults.vim
===================================================================
--- vim-8.2.1840.orig/runtime/defaults.vim
+++ vim-8.2.1840/runtime/defaults.vim
@@ -77,13 +77,15 @@ inoremap <C-U> <C-G>u<C-U>
" can position the cursor, Visually select and scroll with the mouse.
" Only xterm can grab the mouse events when using the shift key, for other
" terminals use ":", select text and press Esc.
-if has('mouse')
- if &term =~ 'xterm'
- set mouse=a
- else
- set mouse=nvi
- endif
-endif
+" disabled in (open)SUSE to make copy&pase work as most people
+" except it boo#1079185
+"if has('mouse')
+" if &term =~ 'xterm'
+" set mouse=a
+" else
+" set mouse=nvi
+" endif
+"endif
" Only do this part when Vim was compiled with the +eval feature.
if 1
@@ -139,3 +141,6 @@ if has('langmap') && exists('+langremap'
" compatible).
set nolangremap
endif
+
+" include SUSE tweaks
+ru suse.vim