- api: allow nvim_buf_set_extmark to accept end_row key
- diagnostic: assert that diagnostics have line number and
column
- diagnostic: clamp diagnostics on negative line numbers
- diagnostic: escape special chars in file names
- diagnostic: respect "if_many" source option for virtual text
- diagnostic: set effective buffer number for DiagnosticChanged
autocmd
- diagnostic: set effective buffer number in autocmd (again)
- lua: do not cast offset to char_u in str_utf_start
- lsp: avoid attaching to unloaded buffers
- lsp: call config on_exit handler before context is cleared
- lsp: fix nil-index behavior for UTF-8 in _str_*index_enc
methods
- lsp: handle offset encoding
- lsp: progress handlers should return vim.NIL on error
- options: disallow empty 'fdc' and 'scl'
- quickfix: avoid O(N^2) when filling from string typval
- screenpos, float: add top and left border adjustment
- terminal: fix resize crash with pending scrollback
- ui: close floating window on BufLeave event
- uri: change scheme pattern to not include the comma character
- lsp,diagnostic: open folds in jump-related functions
- lsp: add buf_detach_client
- lsp: use vim.ui.select for selecting lsp client
- runtime: new checkhealth filetype
OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=101
- 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
OBS-URL: https://build.opensuse.org/request/show/935013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neovim?expand=0&rev=40
https://github.com/neovim/neovim/releases/tag/v0.6.0):
- lsp/diagnostic: highlight groups and signs for LSP diagnostics renamed (e.g. LspDiagnosticsDefaultWarning to DiagnosticWarn) (a5bbb93)
- diagnostic: make DiagnosticChanged a first class autocmd (#16098) (150a592), closes#16098
au User LspDiagnosticsChanged autocommands are not supported. Use the new first-class DiagnosticChanged event instead.
- lua: register_keystroke_callback => on_key (#15460) (69fe427)
note: this breaking change was included in 0.5.1
- many changes in defaults
- performance improvements
- many bug fixes
- Remove upstreamed patch vim7188-fix-netrw-command.patch.
OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=99
- Update to 0.5.0 (FINALLY!!!):
This release represents ~4000 commits since v0.4.4, the
previous non-maintenance release. Highlights include builtin
support for LSP, new APIs for extended marks (with byte
resolution tracking of changes) and buffer decorations, as
well as vast improvements to lua as a plugin and configuration
language. Experimental support for tree-sitter as a syntax
engine is also included, building on the new core APIs for byte
tracking and decorations. There is also very visible shift
towards using more of Lua.
The full list of all changes is truly huge, the
best list is the 0.5.0 commit message on
https://github.com/neovim/neovim/commit/a5ac2f45ff84.
- Removes upstreamed patches:
- libuv-compat.patch
- neovim-0.4.4-findlua54.patch
OBS-URL: https://build.opensuse.org/request/show/905327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neovim?expand=0&rev=36
- Update to 0.5.0 (FINALLY!!!):
This release represents ~4000 commits since v0.4.4, the
previous non-maintenance release. Highlights include builtin
support for LSP, new APIs for extended marks (with byte
resolution tracking of changes) and buffer decorations, as
well as vast improvements to lua as a plugin and configuration
language. Experimental support for tree-sitter as a syntax
engine is also included, building on the new core APIs for byte
tracking and decorations. There is also very visible shift
towards using more of Lua.
The full list of all changes is truly huge, the
best list is the 0.5.0 commit message on
https://github.com/neovim/neovim/commit/a5ac2f45ff84.
OBS-URL: https://build.opensuse.org/request/show/903892
OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=85
(applied conditionally only on the appropriate distribution),
which works around too old version of libuv on Leap 15.*
by not using UV_FS_COPYFILE_FICLONE flag to uv_fs_copyfile,
and not using uv_stream_get_write_queue_size at all.
sr#793088 gh#neovim/neovim#12108
OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=72