aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fix(column): invalidate statuscolumn width when UPD_NOT_VALID (#22723)luukvbaal2023-03-19
|
* fix(column): rebuild status column when sign column is invalidated (#22690)luukvbaal2023-03-18
| | | | | | | | | | | * fix(column): rebuild status column when sign column is invalidated Problem: When implementing a custom sign column through `'statuscolumn'`, the status column is not properly rebuilt when the sign column width changes. Solution: Force a rebuild of the status column when the sign column width is invalidated. * test(column): 'statuscolumn' has correct width when (un)placing signs
* test(statuscolumn_spec): remove unnecessary feed('lh')zeertzjq2023-03-18
| | | It is no longer needed after #22706.
* vim-patch:9.0.1412: Pony files are not recognized (#22721)Amaan Qureshi2023-03-18
| | | | | | Problem: Pony files are not recognized. Solution: Add a pattern for Pony files. (Amaan Qureshi, closes vim/vim#12155) https://github.com/vim/vim/commit/6e377eca8de4c0c0d25808beb7de7676194ebf1d
* test(highlight_spec): fix warning in Visual highlight test (#22719)zeertzjq2023-03-18
| | | | Problem: Warning in Visual highlight test. Solution: Don't move cursor back and forth.
* fix(spell): properly source spell/LANG.{vim,lua} (#22716)zeertzjq2023-03-18
| | | Using regexp doesn't work here because there are no wildcards.
* vim-patch:9.0.0194: cursor displayed in wrong position after removing text ↵zeertzjq2023-03-17
| | | | | | | | | | | prop (#22706) Problem: Cursor displayed in wrong position after removing text prop. (Ben Jackson) Solution: Invalidate the cursor position. (closes vim/vim#10898) https://github.com/vim/vim/commit/326c5d36e7cb8526330565109c17b4a13ff790ae Co-authored-by: Bram Moolenaar <Bram@vim.org>
* Merge pull request #22699 from clason/vim-9.0.1406Christian Clason2023-03-17
|\ | | | | vim-patch:9.0.{1406,1407,1408,1409}: some files are not recognized
| * vim-patch:9.0.1409: racket files are recognized as schemeChristian Clason2023-03-17
| | | | | | | | | | | | | | | | | | | | Problem: Racket files are recognized as scheme. Solution: Recognize rackets files separately. (Gabriel Kakizaki, closes vim/vim#12164, closes vim/vim#12162) https://github.com/vim/vim/commit/d11ac403db07b6eac43882485e98caeb5e83e2e5 Co-authored-by: Gabriel Kakizaki <gkakizaki@gmail.com>
| * vim-patch:9.0.1408: QMLdir files are not recognizedChristian Clason2023-03-17
| | | | | | | | | | | | | | | | | | Problem: QMLdir files are not recognized. Solution: Add a pattern for QMLdir files. (Amaan Qureshi, closes vim/vim#12161) https://github.com/vim/vim/commit/1505bef5c482a48e704644e6172be91c07ef1d12 Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
| * vim-patch:9.0.1407: TableGen files are not recognizedChristian Clason2023-03-17
| | | | | | | | | | | | | | | | | | Problem: TableGen files are not recognized. Solution: Add a pattern for TableGen files. (Amaan Qureshi, closes vim/vim#12156) https://github.com/vim/vim/commit/b8ef029ee416fc2b402c3f321a55c9049b0ad2a9 Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
| * vim-patch:9.0.1406: ILE RPG files are not recognizedChristian Clason2023-03-17
| | | | | | | | | | | | | | | | | | Problem: ILE RPG files are not recognized. Solution: Add patterns for ILE RPG files. (Andreas Louv, issue vim/vim#12152) https://github.com/vim/vim/commit/e202ec8a0c89e8ef47a3d38e668b7326fa68510a Co-authored-by: Andreas Louv <andreas@louv.dk>
* | refactor(completion): don't add and remove '^' for Lua (#22702)zeertzjq2023-03-17
| |
* | build(deps): bump win32yank to v0.1.1 (#22700)Christian Clason2023-03-17
| |
* | fix(treesitter): InspectTree does not respect 'splitright' #22692Yochem van Rosmalen2023-03-17
| | | | | | | | | | | | | | | | | | | | Problem: vim.treesitter.inspect_tree() and :InspectTree does not respect 'splitright'. Solution: - Change the default `command` from `topleft 60vnew` to `60vnew`. - Change :InspectTree to respect command mods (`:vertical`, count, etc.). Closes #22656
* | fix(lsp): avoid switching buffers on lsp attach (#22689)August Masquelier2023-03-17
|/
* Merge pull request #22680 from clason/bump-luarocksChristian Clason2023-03-17
|\ | | | | | | | | | | | | | | build(deps): bump luarocks and bundled rocks * Luarocks: v3.8.0 -> v3.9.2 * coxpcall: 1.16.0-1 -> 1.17.0-1 * luacheck: 0.23.0-1 -> 1.1.0-1 * mpack: 1.0.8-0 -> 1.0.10-0
| * build(deps): bump mpack to 1.0.10Christian Clason2023-03-17
| |
| * build(deps): bump luacheck to 1.1.0-1Christian Clason2023-03-15
| | | | | | | | also ignore two new warnings showing false positives
| * build(deps): bump coxpcall to 1.17.0-1Christian Clason2023-03-15
| |
| * build(deps): bump luarocks to v3.9.2Christian Clason2023-03-15
| | | | | | | | | | Changes from 3.8.0: https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md#whats-new-in-luarocks-392
* | Merge pull request #22687 from bfredl/intermarksbfredl2023-03-16
|\ \ | | | | | | refactor(extmarks): some minor internal API changes
| * | refactor(extmarks): some minor internal API changesbfredl2023-03-16
|/ / | | | | | | | | | | | | | | | | extranges and a bunch of other improvements are coming for 0.10 This gets in some minor surrounding API changes to avoid rebase conflicts until then. - decorations will be able to be specific to windows - adjust deletion API to fit with extranges
* / docs(api): link to nvim_set_hl_ns from nvim_set_hl (#22678)ii142023-03-16
|/
* build(deps): bump tree-sitter to HEAD - a318b42c8Christian Clason2023-03-15
|
* fix(lua): vim.deprecate() shows ":help deprecated" #22677Justin M. Keyes2023-03-15
| | | | | | | | | | | Problem: vim.deprecate() shows ":help deprecated" for third-party plugins. ":help deprecated" only describes deprecations in Nvim, and is unrelated to any 3rd party deprecations. Solution: If `plugin` is specified, don't show ":help deprecated". fix #22235
* docs(html): render @see items as a list #22675Justin M. Keyes2023-03-15
| | | | | | | | | | | Needed for "flow" HTML layout. Flow layout before: See also: https://github.com/kikito/inspect.lua https://github.com/mpeterv/vinspect Flow layout after: See also: - https://github.com/kikito/inspect.lua - https://github.com/mpeterv/vinspect
* test: Windows not detected in msys shells #22671Enan Ajmain2023-03-15
| | | | | | | | | | | | | Problem: The functional tests have `is_os(s)` to determine if the current os is. E.g. `is_os("win")` returns true if the current os is Windows. This is done by checking if the sysname as detected by luv contains the substring 'windows'. In MSYS shells, the sysname is looks like MINGWXX_NT, where XX is either 32 or 64. So if you're using busted or luv that you built separately, not the nvim-bundled versions, then `is_os(s)` won't work. Solution: Treat sysname containing "mingw" as Windows.
* Merge pull request #22666 from bfredl/unscreenbfredl2023-03-14
|\ | | | | refactor(screen): screen.c delenda est
| * refactor(screen): screen.c delenda estbfredl2023-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | drawscreen.c vs screen.c makes absolutely no sense. The screen exists only to draw upon it, therefore helper functions are distributed randomly between screen.c and the file that does the redrawing. In addition screen.c does a lot of drawing on the screen. It made more sense for vim/vim as our grid.c is their screen.c Not sure if we want to dump all the code for option chars into optionstr.c, so keep these in a optionchar.c for now.
* | fix(lsp): kill buffers after renaming a directory #22618Ivan2023-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When LSP client renames a directory, opened buffers in the edfitor are not renamed or closed. Then `:wall` shows errors. https://github.com/neovim/neovim/blob/master/runtime/lua/vim/lsp/util.lua#L776 works correctly if you try to rename a single file, but doesn't delete old buffers with `old_fname` is a dir. Solution: Update the logic in runtime/lua/vim/lsp/util.lua:rename() Fixes #22617
* | fix(lsp): vim.lsp.util.apply_text_edits cursor validation #22636hrsh7th2023-03-14
| | | | | | | | | | | | | | | | Problem Using wrong variable when checking the cursor position is valid or not in vim.lsp.util.apply_text_edits. Solution Use the correct variable.
* | docs(lsp): opt-out of default LSP "gq" #22615Zoltán Reegn2023-03-14
| | | | | | close #22611
* | Merge pull request #22658 from clason/help-marksChristian Clason2023-03-14
|\ \ | |/ |/| | | fix(help): force tree reparse after local addition insertion docs(help): consistent headers for local additions
| * docs(help): consistent headers for local additionsChristian Clason2023-03-13
| |
| * fix(help): force tree reparse after local addition insertionChristian Clason2023-03-13
| | | | | | | | | | | | | | | | | | Problem: *local-additions* in `help.txt` are inserted via `ml_append`, which messes up treesitter highlighting of this file as the buffer becomes desynced from the tree. Solution: Add hack on top of hack by explicitly calling `mark_adjust` and `changed_lines_buf` after each insertion.
* | Merge pull request #22659 from bfredl/floatrulerbfredl2023-03-14
|\ \ | | | | | | fix(screen): redraw the ruler for a current floating window
| * | fix(screen): redraw the ruler for a current floating windowbfredl2023-03-14
| |/ | | | | | | | | | | | | Semi-regression. The "ruler" behavior for a floating window was never really specified but in practice followed the users cursor movements in normal mode in a focused float, which seems like a reasonable behavior to now specify.
* | build(deps): bump tree-sitter to v0.20.8 (#22663)Christian Clason2023-03-14
| |
* | test: re-bundle cat on windows (#21255)dundargoc2023-03-14
|/ | | | | | | | | | The builtin cat was removed in 4bc9229ecbec514e9a87cfc4be88ea27a971e9a1 as it is not used during runtime but only for tests. However, it is a very small and useful utility program that we need for a lot of our tests, so there's no harm in bundling it, and it helps us avoid complicating our build system by having two versions of neovim (neovim for users and neovim for testing). Also skip tests if "grep" or "sleep" isn't available.
* fix(lsp): remove_workspace_folders fails if client has no workspace_folders ↵Dan Strokirk2023-03-13
| | | | | | #22633 When a client has no workspace_folders, (e.g., copilot), `pairs` code would crash.
* Merge pull request #22627 from nullchilly/highlight-cleanupChristian Clason2023-03-13
|\ | | | | refactor!: remove deprecated functions
| * docs: add removed features in news.txtnullchilly2023-03-12
| |
| * refactor(health)!: remove deprecated health.luanullchilly2023-03-11
| |
| * refactor(treesitter)!: remove deprecated show_tree funcnullchilly2023-03-11
| |
| * refactor(highlight)!: remove deprecated functionsnullchilly2023-03-11
| | | | | | | | vim.highlight.create/link
* | fix(treesitter): foldexpr (#22652)Lewis Russell2023-03-13
| | | | | | The ranges passed to foldinfo.remove_range were in the wrong order.
* | test(old): unskip working tests on Windows (#22650)zeertzjq2023-03-13
| |
* | test: unskip working Windows tests (#22537)dundargoc2023-03-13
| | | | | | | | Some tests that were previously not working have started to work again for unspecified reasons, so let's enable them.
* | feat(options)!: deprecate paste, remove pastetoggle (#22647)ii142023-03-13
| | | | | | | | | | we cannot remove 'paste'. It is very common in plugins and configs. 'pastetoggle' can and should be removed though, it's a total waste of everyone's time because it generates bug reports and doesn't work well, and is useless because bracketed-paste works better.