SHA256
1
0
forked from pool/neovim

Compare commits

..

8 Commits

Author SHA256 Message Date
Ana Guerrero
796a51680a Accepting request 1205619 from editors
- Update to 0.10.2
- Features
 * jumplist: Allow opting out of removing unloaded buffers (#30419)
- Bug Fixes
 * api: Error properly with invalid field in nvim_open_win (#30078)
 * api: Nvim_buf_get_text() crashes with large negative column #28740
 * api: Fix crash/leak with float title/footer on error (#30543)
 * channel: Handle writing to file instead of pipe (#30520)
 * column: Set signcolumn width after splitting window (#30556)
 * completion: Don't include <Lua function> in -complete= (#30209)
 * decor: Don't use separate DecorSignHighlight for url (#30096)
 * decor: Exclude invalid marks from meta total
 * diagnostics: Don't apply extmarks to invalid lines #29321
 * diff: Use mmfile_t in linematch
 * filetype: Handle .in files with no filename (#30487)
 * float: Properly find last window of tabpage (#30571)
 * health: Fix pyenv root and python exepath detect issue
 * health: Return correct name from 'path2name()'
 * lsp: Don't send foreign diagnostics to servers in buf.code_action (#29501)
 * lsp: Avoid reusing diagnostics from different servers in actions (#30002)
 * lsp: Return call hierarchy item, not the index (#30145)
 * lsp: Handle out-of-bounds character positions #30288
 * lsp: Handle encoding bounds in str_utfindex_enc
 * lsp: Handle nil bytes in strings
 * lua: Ignore stdout and stderr for xdg-open
 * man: Avoid setting v:errmsg (#30052)
 * man: Check if buffer is valid before restoring 'tagfunc' (#30180)
 * regexp: Fix typo in E888 error message (#30161)
 * runtime: Sync bundled treesitter queries
 * runtime: Sync bundled treesitter queries (forwarded request 1205561 from mvyskocil)

OBS-URL: https://build.opensuse.org/request/show/1205619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neovim?expand=0&rev=67
2024-10-04 15:11:03 +00:00
Richard Rahl
bb82ee52cd - Update to 0.10.2
- Features
 * jumplist: Allow opting out of removing unloaded buffers (#30419)
- Bug Fixes
 * api: Error properly with invalid field in nvim_open_win (#30078)
 * api: Nvim_buf_get_text() crashes with large negative column #28740
 * api: Fix crash/leak with float title/footer on error (#30543)
 * channel: Handle writing to file instead of pipe (#30520)
 * column: Set signcolumn width after splitting window (#30556)
 * completion: Don't include <Lua function> in -complete= (#30209)
 * decor: Don't use separate DecorSignHighlight for url (#30096)
 * decor: Exclude invalid marks from meta total
 * diagnostics: Don't apply extmarks to invalid lines #29321
 * diff: Use mmfile_t in linematch
 * filetype: Handle .in files with no filename (#30487)
 * float: Properly find last window of tabpage (#30571)
 * health: Fix pyenv root and python exepath detect issue
 * health: Return correct name from 'path2name()'
 * lsp: Don't send foreign diagnostics to servers in buf.code_action (#29501)
 * lsp: Avoid reusing diagnostics from different servers in actions (#30002)
 * lsp: Return call hierarchy item, not the index (#30145)
 * lsp: Handle out-of-bounds character positions #30288
 * lsp: Handle encoding bounds in str_utfindex_enc
 * lsp: Handle nil bytes in strings
 * lua: Ignore stdout and stderr for xdg-open
 * man: Avoid setting v:errmsg (#30052)
 * man: Check if buffer is valid before restoring 'tagfunc' (#30180)
 * regexp: Fix typo in E888 error message (#30161)
 * runtime: Sync bundled treesitter queries
 * runtime: Sync bundled treesitter queries

OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=164
2024-10-04 05:40:33 +00:00
Ana Guerrero
f02d9060f5 Accepting request 1202253 from editors
- fix the post scriptlet (forwarded request 1202252 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1202253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neovim?expand=0&rev=66
2024-09-22 09:06:07 +00:00
Richard Rahl
d8bad18096 - fix the post scriptlet
OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=162
2024-09-20 18:24:59 +00:00
Richard Rahl
d33675bdbd OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=161 2024-09-20 00:26:53 +00:00
Richard Rahl
9cfdc519b2 OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=160 2024-09-20 00:22:00 +00:00
Richard Rahl
401c1ada19 OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=159 2024-09-19 23:10:13 +00:00
Richard Rahl
d04a2f387c - remove the integration of vimplugins into neovim. If the user wants that
he needs to add it himself

OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=158
2024-09-15 19:45:28 +00:00
4 changed files with 86 additions and 47 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edce96e79903adfcb3c41e9a8238511946325ea9568fde177a70a614501af689
size 12796966

3
neovim-0.10.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:546cb2da9fffbb7e913261344bbf4cf1622721f6c5a67aa77609e976e78b8e89
size 12801272

View File

@ -1,3 +1,55 @@
-------------------------------------------------------------------
Thu Oct 3 16:06:51 UTC 2024 - Michal Vyskocil <michal.vyskocil@gmail.com>
- Update to 0.10.2
- Features
* jumplist: Allow opting out of removing unloaded buffers (#30419)
- Bug Fixes
* api: Error properly with invalid field in nvim_open_win (#30078)
* api: Nvim_buf_get_text() crashes with large negative column #28740
* api: Fix crash/leak with float title/footer on error (#30543)
* channel: Handle writing to file instead of pipe (#30520)
* column: Set signcolumn width after splitting window (#30556)
* completion: Don't include <Lua function> in -complete= (#30209)
* decor: Don't use separate DecorSignHighlight for url (#30096)
* decor: Exclude invalid marks from meta total
* diagnostics: Don't apply extmarks to invalid lines #29321
* diff: Use mmfile_t in linematch
* filetype: Handle .in files with no filename (#30487)
* float: Properly find last window of tabpage (#30571)
* health: Fix pyenv root and python exepath detect issue
* health: Return correct name from 'path2name()'
* lsp: Don't send foreign diagnostics to servers in buf.code_action (#29501)
* lsp: Avoid reusing diagnostics from different servers in actions (#30002)
* lsp: Return call hierarchy item, not the index (#30145)
* lsp: Handle out-of-bounds character positions #30288
* lsp: Handle encoding bounds in str_utfindex_enc
* lsp: Handle nil bytes in strings
* lua: Ignore stdout and stderr for xdg-open
* man: Avoid setting v:errmsg (#30052)
* man: Check if buffer is valid before restoring 'tagfunc' (#30180)
* regexp: Fix typo in E888 error message (#30161)
* runtime: Sync bundled treesitter queries
* runtime: Sync bundled treesitter queries
* runtime: Add remaining missing commentstrings (#30252)
* terminal: Interrupt/got_int hangs terminal (#30094)
* treesitter: Escape things like " in omnifunc results
* treesitter: Lint top-level anonymous nodes
* treesitter: EditQuery shows swapfile ATTENTION #30536
* treesitter: Indent size for inspect_tree #28727
* tui: Set id parameter in OSC 8 sequences (#29847)
* tui: Reset active attr ID when OSC 8 sequence is terminated (#29960)
* version: Return nil with empty string
* vim.ui.open: Prefer xdg-open on WSL #30302
* win-msi: Set installer scope to machine #29895
* window: Respect hide flag of float windows when switching (#30507)
* window: Making float with title/footer non-float leaks memory (#30551)
-------------------------------------------------------------------
Fri Sep 20 18:24:11 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- fix the post scriptlet
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 14 21:23:07 UTC 2024 - Richard Rahl <rrahl0@opensuse.org> Wed Aug 14 21:23:07 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

View File

@ -24,9 +24,8 @@
%else %else
%bcond_without luajit %bcond_without luajit
%endif %endif
%define vimplugin_dir %{_datadir}/vim/site
Name: neovim Name: neovim
Version: 0.10.1 Version: 0.10.2
Release: 0 Release: 0
Summary: Vim-fork focused on extensibility and agility Summary: Vim-fork focused on extensibility and agility
License: Apache-2.0 AND Vim AND GPL-3.0-or-later AND CC-BY-3.0 License: Apache-2.0 AND Vim AND GPL-3.0-or-later AND CC-BY-3.0
@ -73,15 +72,6 @@ BuildRequires: pkgconfig(msgpack-c)
BuildRequires: pkgconfig(termkey) BuildRequires: pkgconfig(termkey)
BuildRequires: pkgconfig(unibilium) >= 2.0.0 BuildRequires: pkgconfig(unibilium) >= 2.0.0
BuildRequires: pkgconfig(vterm) >= 0.3.3 BuildRequires: pkgconfig(vterm) >= 0.3.3
%if %{without make_optional}
BuildRequires: tree-sitter-c >= 0.21.3
BuildRequires: tree-sitter-lua
BuildRequires: tree-sitter-markdown
BuildRequires: tree-sitter-python
BuildRequires: tree-sitter-query >= 0.4.0
BuildRequires: tree-sitter-vim
BuildRequires: tree-sitter-vimdoc >= 3.0.0
%endif
Requires: gperf Requires: gperf
Requires: libvterm0 >= 0.3 Requires: libvterm0 >= 0.3
Requires: lua51-bit32 Requires: lua51-bit32
@ -161,57 +151,54 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_datadir}/nvim/runtime/plugin/spec.vi
desktop-file-install --dir=%{buildroot}%{_datadir}/applications \ desktop-file-install --dir=%{buildroot}%{_datadir}/applications \
runtime/nvim.desktop runtime/nvim.desktop
install -d -m0755 %{buildroot}%{_datadir}/pixmaps install -Dm0644 runtime/nvim.png %{buildroot}%{_datadir}/pixmaps/nvim.png
install -m0644 runtime/nvim.png %{buildroot}%{_datadir}/pixmaps/nvim.png
# Fix exec bits # Fix exec bits
find %{buildroot}%{_datadir} \( -name \*.bat -o -name \*.awk \) \ find %{buildroot}%{_datadir} \( -name \*.bat -o -name \*.awk \) \
-print -exec chmod -x '{}' \; -print -exec chmod -x '{}' \;
# vim/site directories for plugins shared with vim # vim/site directories for plugins shared with vim
mkdir -p %{buildroot}%{vimplugin_dir}/{after,after/syntax,autoload,colors,doc,ftdetect,plugin,syntax} mkdir -p %{buildroot}%{_datadir}/vim/site/{after,after/syntax,autoload,colors,doc,ftdetect,plugin,syntax}
%fdupes %{buildroot}%{_datadir}/ %fdupes %{buildroot}
%find_lang nvim %find_lang nvim
%if %{without make_optional}
# let's make tree-sitter grammars visible to neovim
install -d %{buildroot}%{_datadir}/nvim/runtime/parser
for i in c lua markdown python query vim vimdoc; do
ln -s %{_libdir}/libtree-sitter-$i.so %{buildroot}%{_datadir}/nvim/runtime/parser/$i.so;
done
ln -s %{_libdir}/libtree-sitter-markdown-inline.so %{buildroot}%{_datadir}/nvim/runtime/parser/markdown_inline.so
%endif
# We have to have rpath # We have to have rpath
# https://en.opensuse.org/openSUSE:Packaging_checks # https://en.opensuse.org/openSUSE:Packaging_checks
export NO_BRP_CHECK_RPATH=true export NO_BRP_CHECK_RPATH=true
%post
if [ -d %{_datadir}/nvim/runtime/parser ]; then
if [ ! -h %{_datadir}/nvim/runtime/parser ]; then
mv %{_datadir}/nvim/runtime/parser \
%{_datadir}/nvim/runtime/parser.rpmsave
ln -sf %{_libdir}/tree_sitter %{_datadir}/nvim/runtime/parser
fi
else
ln -sf %{_libdir}/tree_sitter %{_datadir}/nvim/runtime/parser
fi
%files %files
%doc CONTRIBUTING.md README.md
%docdir %{_mandir}
%license LICENSE.txt %license LICENSE.txt
%{_bindir}/nvim %doc CONTRIBUTING.md README.md
%{_mandir}/man?/nvim.1%{?ext_man}
%dir %{_datadir}/nvim
%{_datadir}/nvim/sysinit.vim
%{_datadir}/nvim/template.spec
%{_datadir}/nvim/runtime/
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_datadir}/icons/*
%dir %{_sysconfdir}/nvim %dir %{_sysconfdir}/nvim
%config(noreplace) %{_sysconfdir}/nvim/sysinit.vim %config(noreplace) %{_sysconfdir}/nvim/sysinit.vim
%{_bindir}/nvim
%{_mandir}/man?/nvim.?%{?ext_man}
%{_datadir}/nvim
%{_datadir}/applications/nvim.desktop
%{_datadir}/icons/hicolor/128x128/apps/nvim.png
%{_datadir}/pixmaps/nvim.png
%dir %{_datadir}/vim %dir %{_datadir}/vim
%dir %{vimplugin_dir} %dir %{_datadir}/vim/site
%dir %{vimplugin_dir}/after %dir %{_datadir}/vim/site/after
%dir %{vimplugin_dir}/after/* %dir %{_datadir}/vim/site/after/*
%dir %{vimplugin_dir}/autoload %dir %{_datadir}/vim/site/autoload
%dir %{vimplugin_dir}/colors %dir %{_datadir}/vim/site/colors
%dir %{vimplugin_dir}/doc %dir %{_datadir}/vim/site/doc
%dir %{vimplugin_dir}/ftdetect %dir %{_datadir}/vim/site/ftdetect
%dir %{vimplugin_dir}/plugin %dir %{_datadir}/vim/site/plugin
%dir %{vimplugin_dir}/syntax %dir %{_datadir}/vim/site/syntax
%files lang -f nvim.lang %files lang -f nvim.lang