commit neovim for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package neovim for openSUSE:Factory checked in at 2021-12-01 20:47:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/neovim (Old) and /work/SRC/openSUSE:Factory/.neovim.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "neovim" Wed Dec 1 20:47:08 2021 rev:40 rq:935013 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/neovim/neovim.changes 2021-11-18 10:34:43.775957429 +0100 +++ /work/SRC/openSUSE:Factory/.neovim.new.31177/neovim.changes 2021-12-02 02:18:32.026014269 +0100 @@ -1,0 +2,70 @@ +Tue Nov 30 18:22:24 UTC 2021 - Matej Cepl <mcepl@suse.com> + +- Update to 0.6.0 (details on + - Diagnostics and LSP changes + Initially, diagnostic module is part of vim.lsp module. In + order to support external plugins such as null-ls.nvim, the + nvim team has refactor the diagnostic module to its module + vim.diagnostic. So we need to change our config accordingly. + + vim.lsp.diagnostic.show_line_diagnostics() has been changed + to vim.diagnostic.open_float(). Previously, there is no easy + to show diagnostic source unless with some hack, you can now + show source in diagnostics in open_float() easily: + + vim.diagnostic.open_float(nil, { + source = 'always' + }) + + vim.lsp.diagnostic.goto_prev() and + vim.lsp.diagnostic.goto_next() has been renamed to + vim.diagnostic.goto_prev() and vim.diagnostic.goto_next() + respectively. + + vim.lsp.diagnostic.set_loclist() and + vim.lsp.diagnostic.set_qflist() has been renamed to + vim.diagnostic.setloclist() and vim.diagnostic.setqflist() + instead. + + Diagnostics signs has been renamed, for example (old ���> new): + LspDiagnosticsSignError ���> DiagnosticSignError (Lsp is + removed, Diagnostics is changed to singular from + Diagnostic) + LspDiagnosticsSignWarning ���> DiagnosticSignWarn + LspDiagnosticsSignInformation ���> DiagnosticSignInfo + LspDiagnosticsSignHint ���> DiagnosticSignHint + + Also, related highlight has been renamed too: + DiagnosticsDefaultError ���> DiagnosticSignError + DiagnosticsDefaultWarning ���> DiagnosticSignWarn + DiagnosticsDefaultInformation ���> DiagnosticSignInfo + DiagnosticsDefaultHint ���> DiagnosticSignHint + + Now, we can use the following lua snippet to change diagnostic signs: + + vim.fn.sign_define("DiagnosticSignError", + { text = "���", texthl = "DiagnosticSignError" }) + vim.fn.sign_define("DiagnosticSignWarn", + { text = "!", texthl = "DiagnosticSignWarn" }) + vim.fn.sign_define("DiagnosticSignInformation", + { text = "���", texthl = "DiagnosticSignInfo" }) + vim.fn.sign_define("DiagnosticSignHint", + { text = "���", texthl = "DiagnosticSignHint" }) + + - Changes to the default + There are also changes to options and mappings that you might + be interested. + + Option default value changes: + - backupdir can now be created automatically and double + backslash is used, see this commit. + - option inccommand is set to nosplit + - set nojoinspaces by default + + Mapping changes: + - <C-L> now defaults to nohlsearch and diffupdate + - In normal mode, Y is mapped to y$, see this commit, no + need for nnoremap Y y$ anymore. +- Remove upstreamed patch vim7188-fix-netrw-command.patch. + +------------------------------------------------------------------- Old: ---- neovim-0.5.1.tar.gz vim7188-fix-netrw-command.patch New: ---- neovim-0.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ neovim.spec ++++++ --- /var/tmp/diff_new_pack.w6G7dm/_old 2021-12-02 02:18:32.502012609 +0100 +++ /var/tmp/diff_new_pack.w6G7dm/_new 2021-12-02 02:18:32.506012594 +0100 @@ -26,7 +26,7 @@ %define luaver 5.1 %define luaver_nopoint 51 Name: neovim -Version: 0.5.1 +Version: 0.6.0 Release: 0 Summary: Vim-fork focused on extensibility and agility License: Apache-2.0 AND Vim @@ -41,9 +41,6 @@ Patch0: neovim.patch # PATCH-FIX-OPENSUSE neovim-0.1.7-bitop.patch mcepl@cepl.eu build with old Lua with external bit module Patch1: neovim-0.1.7-bitop.patch -# PATCH-FIX-UPSTREAM vim7188-fix-netrw-command.patch gh#vim/vim#4738 mcepl@suse.com -# make gx in netrw working again -Patch2: vim7188-fix-netrw-command.patch BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: fdupes @@ -82,9 +79,9 @@ # luajit implements version 5.1 of the lua language spec, so it needs the # compat versions of libs. BuildRequires: lua51-LPeg +BuildRequires: libluv-devel >= %{luv_min_ver} BuildRequires: lua51-bit32 BuildRequires: lua51-luarocks -BuildRequires: libluv-devel >= %{luv_min_ver} BuildRequires: lua51-luv >= %{luv_min_ver} BuildRequires: lua51-mpack Requires: lua51-bit32 @@ -115,7 +112,6 @@ # %%if %%{without luajit} %patch1 -p1 # %%endif -%patch2 -p1 # Remove __DATE__ and __TIME__. BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}') ++++++ neovim-0.5.1.tar.gz -> neovim-0.6.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/neovim/neovim-0.5.1.tar.gz /work/SRC/openSUSE:Factory/.neovim.new.31177/neovim-0.6.0.tar.gz differ: char 13, line 1
participants (1)
-
Source-Sync