文件最后提交记录最后更新时间
fix(vim.net): filetype detection, mark unmodified #36297 Problem: When running ":edit <url>", filetype detection is not triggered. Solution: Run the autocmds in the filetypedetect group after loading the content. Problem: After fetching remote content from a URL and adding it to the buffer, the buffer is marked as modified. This is inconsistent with the original netrw behavior, and it causes problems with :e to refresh or :q as it prompts for saving the file even if the user hasn't touched the content at all. Solution: Mark the buffer as unmodified right after adding the remote content to the buffer.6 个月前
refactor: use nvim.foo.bar format for autocommand groups 1 年前
vim-patch:56957ed: runtime(misc): add support for bzip3 to tar, vimball and gzip plugins fixes: vim/vim#16751 closes: vim/vim#16755 https://github.com/vim/vim/commit/56957ed4109fb0c37922c6c37d5926cfe0a3313b Co-authored-by: Jim Zhou <jimzhouzzy@gmail.com> 1 年前
fix(man.lua): noisy "ENOENT" error on Windows #33409 Problem: :Man shows noisy "ENOENT: no such file or directory" error on Windows. Solution: Do some checks before calling vim.system.1 年前
Add g:loaded_matchit check (#13226) I have added g:loaded_matchit check to skip matchit loading like other default plugins.5 年前
vim-patch:9.1.1289: tests: no test for matchparen plugin with WinScrolled event (#33411) Problem: tests: no test for matchparen plugin with WinScrolled event Solution: add missing test closes: vim/vim#10942 https://github.com/vim/vim/commit/96a0b2a6d5107580398435e263bd529d4ba3df49 Co-authored-by: Christian Brabandt <cb@256bit.org>1 年前
vim-patch:9cfdabb: runtime(netrw): change netrw maintainer Dr. Chip retired some time ago and is no longer maintaining the netrw plugin. However as a runtime plugin distributed by Vim, it important to maintain the netrw plugin in the future and fix bugs as they are reported. So, split out the netrw plugin as an additional package, however include some stubs to make sure the plugin is still loaded by default and the documentation is accessible as well. closes: vim/vim#16368 https://github.com/vim/vim/commit/9cfdabb074feefc9848e9f7a4538f201e28c7f06 Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com> 1 年前
feat(tui): add nvim_ui_send (#35406) This function allows the Nvim core to write arbitrary data to a TTY connected to a UI's stdout.9 个月前
fix(rplugin): dont create data dir if it's a broken symlink #25726 Checking if it's non-empty and not a directory gets us quite far, but not all the way. While a working symlink would trigger the earlier checks, a broken symlink does not. This commit fixes the special case where ~/.local/share/nvim already exists but is a broken symlink. Thus, it fixes the following error on startup: E739: Cannot create directory /home/samuel/.local/share/nvim: file already exists2 年前
fix(shada): check return value is 0 Problem: Vimscript functions return number to signal ok/error. Lua doesn't convert these to be falsey. Solution: Explicitly check if the return value is 0. 10 个月前
vim-patch:9.1.1552: [security]: path traversal issue in tar.vim Problem: [security]: path traversal issue in tar.vim (@ax) Solution: warn the user for such things, drop leading /, don't forcefully overwrite files when writing temporary files, refactor autoload/tar.vim tar.vim: drop leading / in path names A tar archive containing files with leading / may cause confusions as to where the content is extracted. Let's make sure we drop the leading / and use a relative path instead. Also while at it, had to refactor it quite a bit and increase the minimum supported Vim version to v9. Also add a test for some basic tar functionality closes: vim/vim#17733 https://github.com/vim/vim/commit/87757c6b0a4b2c1f71c72ea8e1438b8fb116b239 Co-authored-by: Christian Brabandt <cb@256bit.org> 10 个月前
fix(tohtml): support ranges again 1 年前
vim-patch:9.1.1384: still some problem with the new tutors filetype plugin Problem: still some problem with the new tutors filetype plugin Solution: refactor code to enable/disable tutor mode into tutor#EnableInteractive() function, include a test (Phạm Bình An) I find it annoying that Tutor's interactive mode is always on (or debug mode is off) even when I open a tutor file with :edit command. I think it makes more sense to make this "interactive mode": - Always on when it is opened with :Tutor command - Off otherwise For more references, see :help feature, it is a much better than :Tutor, since I don't have to run :let g:help_debug = 1 just to be able to edit and save a help file Therefore, I remove g:tutor_debug closes: vim/vim#17299 https://github.com/vim/vim/commit/13bea589a25707c8f9e29b2920410bdcccd79bc5 Co-authored-by: Phạm Bình An <phambinhanctb2004@gmail.com> 1 年前
vim-patch:8824526: runtime(zip): add *.pkpass to list of zip extensions (#36061) Similar to a359c9c25e5c3c1e543fc720223aa7256e6f72cf. See https://developer.apple.com/documentation/walletpasses/building-a-pass#Sign-the-Pass-and-Create-the-Bundle, which explicitly mentions that pkpasses are just renamed ZIPs. closes: vim/vim#18501 https://github.com/vim/vim/commit/882452644cd3258c887a09de856e4c59eb284a92 Co-authored-by: MultisampledNight <contact@multisamplednight.com>7 个月前