aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | build(nix): fixed build (#22918)Matthieu Coudron2023-04-07
| | | | | | added missing dependencies libiconv
* | Merge pull request #22907 from luukvbaal/evalstcbfredl2023-04-07
|\ \ | | | | | | feat(api): set statuscolumn line number in nvim_eval_statusline()
| * | feat(api): set statuscolumn line number in nvim_eval_statusline()Luuk van Baal2023-04-07
| | | | | | | | | | | | | | | | | | Having the user set `v:lnum` before calling `nvim_eval_statusline()` is unnecesarily fragile. Redraws inbetween setting `v:lnum` and the `nvim_eval_statusline()` call will overwrite `v:lnum`.
* | | test(lua/diagnostic_spec): remove unnecessary after_each()zeertzjq2023-04-07
| | | | | | | | | There is already a call to clear() in before_each(), so after_each() isn't necessary.
* | | test: improve editor/fold_spec.lua and editor/put_spec.lua (#22916)zeertzjq2023-04-07
| | | | | | | | | | | | | | | - Close and open a new window each time so that window options have their default values in each test. - Change feed_command() to command() as the latter is faster.
* | | refactor: remove use of reserved c++ keywordsii142023-04-06
| | | | | | | | | | | | | | | | | | libnvim couldn't be easily used in C++ due to the use of reserved keywords. Additionally, add explicit casts to *alloc function calls used in inline functions, as C++ doesn't allow implicit casts from void pointers.
* | | test(Windows): normalize paths for test summarydundargoc2023-04-06
| | | | | | | | | It previously gave a mix of forward and backslashes which was jarring.
* | | fix(folds): handle visual blockwise indent insertion correctly (#22898)Brandon Simmons2023-04-07
| | | | | | | | | | | | | | | Previously, the fold information was incorrect because it wasn't being updated during the blockwise insertion. (Solution by zeertzjq)
* | | Merge pull request #22910 from bfredl/nonormalbfredl2023-04-06
|\ \ \ | | | | | | | | fix(highlight): use winhl=Foo:Bar even when Bar is empty
| * | | fix(highlight): use winhl=Foo:Bar even when Bar is emptybfredl2023-04-06
| | | | | | | | | | | | | | | | fixes #22906
* | | | fix(treesitter): do not track ranges of the root tree (#22912)Lewis Russell2023-04-06
| | | | | | | | | | | | Fixes #22911
* | | | ci(release): promote appimage over tar.gz (#22908)Christian Clason2023-04-06
| |/ / |/| |
* | | test(vim.fs.normalize): enable test on Windowsdundargoc2023-04-05
| | |
* | | docs: add vim.treesitter.query.get_query() to deprecated.txtC.D. MacEachern2023-04-05
| | |
* | | refactor: make error message definitions constii142023-04-05
| | | | | | | | | | | | message.c functions now take const char * as a format. Error message definitions can be made const.
* | | build(Windows): allow building without custom md5sumdundargoc2023-04-05
| | | | | | | | | | | | | | | | | | | | | Follow-up to eb1da498d6af79b7856418d7df51ce584c621340. The workaround in that case only works if md5sum is in users path. We work around this by adding the directory with the md5sum shipped with luarocks to PATH. Co-authored-by: erw7 <erw7.github@gmail.com>
* | | refactor: rename local API alias from a to apiLewis Russell2023-04-05
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Codebase inconsistently binds vim.api onto a or api. Solution: Use api everywhere. a as an identifier is too short to have at the module level.
* | | build(deps): switch vim parser to maintained fork (#22896)Christian Clason2023-04-05
|/ / | | | | | | | | | | | | | | Problem: tree-sitter-viml parser was not maintained and missing a release, making it difficult for distros to package Neovim. Solution: fork the parser under the neovim org, merge some outstanding PRs, perform general cleanup, make a release, and use this for the build.
* | Merge pull request #22859 from luukvbaal/evalstcbfredl2023-04-05
|\ \ | | | | | | feat(api): evaluate 'statuscolumn' with nvim_eval_statusline()
| * | feat(api): evaluate 'statuscolumn' with nvim_eval_statusline()Luuk van Baal2023-04-05
| | |
* | | refactor(lsp): do not parse verbose output when overwriting options (#22810)Michal Liszcz2023-04-05
| | |
* | | ci!: remove the .deb release (#22773)dundargoc2023-04-05
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having multiple release artifacts per platform is a maintenance burden. Furthermore, it is a maintenance burden that doesn't directly improve the Nvim editor itself. The releases are meant to be a quick way for users to try out and use neovim on their platform and was never intended to be a buffet of releases for every conceivable setup. Users are encouraged to the following replacements: - Github action `action-setup-vim` to have neovim installed on their PATH for their CI jobs. See https://github.com/rhysd/action-setup-vim. - Use the appimage, either as is or by extracting it - To use as is, run `chmod u+x nvim.appimage && ./nvim.appimage` - If your system does not have FUSE you can extract the appimage with `./nvim.appimage --appimage-extract && ./squashfs-root/usr/bin/nvim` - Build it manually. See https://github.com/neovim/neovim/wiki/Building-Neovim. Work on https://github.com/neovim/neovim/issues/22684
* | feat(vim.diff): allow passing an integer for linematchLewis Russell2023-04-04
| |
* | fix(windows): consistent normalization in fs.finddundargoc2023-04-04
| | | | | | | | | | | | | | | | | | | | | | vim.fs.find(".luacheckrc") ``` c:\\projects\\neovim/.luacheckrc # before c:/projects/neovim/.luacheckrc # after ``` Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
* | docs: regenerategithub-actions[bot]2023-04-04
| |
* | feat(lsp): create default link from @lsp.type.comment to Comment (#22888)Gregory Anders2023-04-04
| |
* | test: replace lfs with luv and vim.fsdundargoc2023-04-04
| | | | | | | | | | | | test: replace lfs with luv luv already pretty much does everything lfs does, so this duplication of dependencies isn't needed.
* | refactor(treesitter): move inspect_tree implLewis Russell2023-04-04
| |
* | build: cmake cleanupdundargoc2023-04-04
| | | | | | | | | | | | | | - Change libtermkeyCMakeLists.txt to LibtermkeyCMakeLists.txt - Remove duplicate mark_as_advanced calls in FindLibuv.cmake - Fix "Enabling Clang sanitizer" messages as it's no longer clang-only - Simplify parser installation syntax - Rename tree-sitter to treesitter
* | docs: fix typosdundargoc2023-04-04
| | | | | | | | | | | | Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com> Co-authored-by: himanoa <matsunoappy@gmail.com>
* | fix(treesitter): disable folding in inspect_tree() (#22885)Lewis Russell2023-04-04
| |
* | refactor(treesitter): delegate region calculation to treesitter (#22576)Lewis Russell2023-04-04
| |
* | fix(treesitter): use capture metadata range if exists danilax9992023-04-04
| | | | | | use `treesitter.get_range` instead of inline expression
* | build(deps): bump tree-sitter to v0.20.8 (#22882)Christian Clason2023-04-04
| |
* | fix(api): avoid double hit-enter prompt with nvim_err_writeln (#22879)zeertzjq2023-04-04
| |
* | build(windows): work around luarocks not finding its own md5sumdundargoc2023-04-03
| | | | | | | | | | | | | | | | Luarocks is unable to find its own md5sum due to these reasons listed in the comment https://github.com/luarocks/luarocks/issues/1443. The pull request https://github.com/luarocks/luarocks/pull/1498 resolves this issue, but in the meantime we can work around it by resetting the value of MD5sum to "md5sum".
* | vim-patch:9.0.1438: .fs files are falsely recognized as forth files (#22871)Christian Clason2023-04-03
| | | | | | | | | | | | | | | | | | Problem: .fs files are falsely recognized as forth files. Solution: Check 100 lines for something that looks like forth. (Johan Kotlinski, closes vim/vim#12219, closes vim/vim#11988) https://github.com/vim/vim/commit/065088d5549e7711668321cc5a77c9a9b684b142 Co-authored-by: Johan Kotlinski <kotlinski@gmail.com>
* | Merge pull request #22847 from luukvbaal/redrstatusbfredl2023-04-03
|\ \ | | | | | | fix(ui): ruler is not redrawn in cmdline with redrawstatus
| * | fix(ui): ruler is not redrawn in cmdline with redrawstatusLuuk van Baal2023-04-02
| | |
* | | build(deps): bump tree-sitter-vimdoc to v2.0.0 (#22870)Christian Clason2023-04-03
| | |
* | | Merge pull request #22783 from luukvbaal/inspectbfredl2023-04-03
|\ \ \ | | | | | | | | refactor(lua): get all extmarks instead of iterating over namespaces
| * | | refactor(lua): get all marks instead of iterating over namespacesLuuk van Baal2023-04-02
| |/ / | | | | | | | | | | | | | | | Inspector now also includes highlights set in anonymous namespaces. Close #22732
* | | fix(test): fix C imports on macOS arm64Jay2023-04-03
| | | | | | | | | | | | | | | | | | System headers on macOS arm64 contain 128-bit numeric types. These types are built into clang and GCC as extensions. Unfortunately, they break the LuaJIT C importer. Define dummy typedefs for the missing numeric types to satisfy the ffi C importer.
* | | vim-patch:9.0.1439: start Insert mode when accessing a hidden prompt buffer ↵zeertzjq2023-04-03
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | (#22867) Problem: Start Insert mode when accessing a hidden prompt buffer. Solution: Call leaving_window() in aucmd_restbuf(). (Thorben Tröbst, closes vim/vim#12148, closes vim/vim#12147) https://github.com/vim/vim/commit/cde8de034524d00aba4ff4142e658baff511e12d Cherry-pick test_prompt_buffer.vim changes from patch 9.0.0631. Co-authored-by: orbital <orbital@holgerines.de>
* | feat(packaging): add start menu and desktop shortcuts on WindowsAlexandre Teoi2023-04-02
| | | | | | | | | | | | | | | | | | - Create start menu and desktop shortcuts - Set installation context to per-user, allowing non-administrative users to install the MSI package - <https://learn.microsoft.com/windows/win32/msi/installation-context> - <https://learn.microsoft.com/windows/win32/msi/allusers> Resolves #18119
* | ci: update reviewersdundargoc2023-04-02
| |
* | refactor(defaults)!: change default 'commentstring' value to empty (#22862)zeertzjq2023-04-02
|/
* Merge pull request #22844 from luukvbaal/stlrecordingbfredl2023-04-02
|\ | | | | fix(ui): recording change doesn't trigger statusline redraw
| * fix(ui): recording change doesn't trigger statusline redrawLuuk van Baal2023-04-01
| |
* | Merge pull request #22778 from luukvbaal/getextbfredl2023-04-02
|\ \ | | | | | | feat(extmarks): extend nvim_buf_get_extmarks()