Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | fix(gx): move to to _init_default_mappings #24420 | marshmallow | 2023-07-24 | |
| | | | | | | | | Problem: netrw may conflict with the Nvim default "gx" mapping. Solution: Initialize keymapping earlier by moving it to vim._init_default_mappings(). That also avoids needing to check maparg(). | |||
* | fix(treesitter): stop() should treat 0 as current buffer #24450 | Micah Halter | 2023-07-24 | |
| | ||||
* | docs(vim_diff): fixed inconsistent autocmds behavior #24453 | ii14 | 2023-07-24 | |
| | ||||
* | fix(mouse): drag vsep of window with 'statuscolumn' (#24462) | zeertzjq | 2023-07-24 | |
| | | | | | | Problem: Cannot drag a vertical separator to the right of a window whose 'statuscolumn' is wider than itself. Solution: Never treat a click on a vertical separator as a click on 'statuscolumn'. | |||
* | fix(statuscolumn): don't update clicks if current width is 0 (#24459) | zeertzjq | 2023-07-24 | |
| | ||||
* | fix(terminal): call validate_cursor() before screen update (#24425) | fredizzimo | 2023-07-23 | |
| | | | | | | | | | | | | | Problem: When the CurSearch highlight group is set, and a search is active and you are listening to the remote UI "win_viewport" events, then typing is very unresponsive, because "win_viewport" is not sent as soon as the character is typed. On the other hand if you refresh the screen on "flush", the screen will scroll with a delay since "win_viewport" comes too late. I estimate this delay be up to one second, but it varies. Solution: Call validate_cursor() before drawing the screen, just like other modes. No tests have been added because only the intermediate state is wrong. | |||
* | fix(highlight): make CurSearch work properly with 'winhl' (#24448) | zeertzjq | 2023-07-23 | |
| | ||||
* | build(deps): bump tree-sitter to HEAD - 3f44b8968 (#24447) | Christian Clason | 2023-07-23 | |
| | ||||
* | build(deps): bump tree-sitter-python to v0.20.3 (#24446) | Christian Clason | 2023-07-23 | |
| | ||||
* | test: reduce flakiness (#24443) | zeertzjq | 2023-07-23 | |
| | | | | | | | Avoid consecutive RPC requests involving :startinsert or :stopinsert, because consecutive RPC requests may be processed together, before the :startinsert or :stopinsert takes effect. Also change some feed_command() to command() to make tests faster. | |||
* | test: fix VimResume test flakiness (#24438) | zeertzjq | 2023-07-23 | |
| | ||||
* | test: check that TextChangedT cannot delete terminal buffer (#24437) | zeertzjq | 2023-07-23 | |
| | ||||
* | test: check real cursor position in Terminal mode (#24436) | zeertzjq | 2023-07-23 | |
| | ||||
* | fix(events): trigger VimResume on next UI request (#24426) | zeertzjq | 2023-07-23 | |
| | ||||
* | fix(treesitter): update markdown parser and queries (#24429) | Christian Clason | 2023-07-22 | |
| | ||||
* | refactor: remove some (const char **) casts (#24423) | zeertzjq | 2023-07-22 | |
| | ||||
* | refactor(lsp): use LspNotify for inlay_hint (#24411) | Chris AtLee | 2023-07-22 | |
| | ||||
* | fix(api/options): validate buf and win | Lewis Russell | 2023-07-22 | |
| | | | Fixes #24398 | |||
* | docs(lua): add missing word in docs for vim.empty_dict (#24401) | Gnik | 2023-07-22 | |
| | ||||
* | fix(terminal): send Shift-Home Shift-End Ctrl-Home Ctrl-End (#24418) | zeertzjq | 2023-07-22 | |
| | ||||
* | Merge #24392 from mrshmllow/gx_win | Justin M. Keyes | 2023-07-21 | |
|\ | | | | | fix(ui.open): some URLs fail on Windows | |||
| * | test(vim.ui.open): mock failure on Windows | Justin M. Keyes | 2023-07-21 | |
| | | | | | | | | | | | | | | | | | | Problem: On Windows, `rundll32` exits zero (success) even when given a non-existent file. Solution: Mock vim.system() on Windows to force a "failure" case. | |||
| * | fix(ui.open): some URLs fail on Windows | marshmallow | 2023-07-21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: On Windows, `explorer.exe` fails to open some URLs, for example: :lua vim.ui.open('https://devdocs.io/#q=lua%20lua_call') https://github.com/neovim/neovim/pull/23401#issuecomment-1641015704 Solution: Use rundll32 instead. | |||
* | | docs(lsp): clean up LSP event documentation #24413 | Chris AtLee | 2023-07-21 | |
|/ | | | Alphabetize LSP events, and make formatting consistent. | |||
* | docs: also change "vimL" and "viml" to "Vimscript" (#24414) | zeertzjq | 2023-07-21 | |
| | ||||
* | fix(folds): update folds in Insert mode with fdm=indent (#24402) | Brandon Simmons | 2023-07-21 | |
| | | | | | | | | | | | Previously, when using foldmethod=indent, inserting an unindented line would inadvertently open closed folds below it. As a performance improvement, folds were only updated once, across all lines, after Insert mode was exited. Now, the performance improvement is no longer being used when foldmethod=indent, so folds are updated multiple times during Insert mode, but only across the lines that are changing, which preserves the folds (and their open/close states) instead of recreating them. | |||
* | fix(decoration_provider): don't leak memory on error (#24410) | zeertzjq | 2023-07-21 | |
| | ||||
* | feat(lsp): implement textDocument/diagnostic (#24128) | Chris AtLee | 2023-07-20 | |
| | ||||
* | docs(lua): clarify fs.find() documentation #24394 | futsuuu | 2023-07-19 | |
| | ||||
* | feat(decoration_provider): log errors as error messages | Thomas Vigouroux | 2023-07-19 | |
| | ||||
* | feat(lsp): handle multiple clients in omnifunc (#24381) | Mathias Fußenegger | 2023-07-19 | |
| | | | | | Also fixes https://github.com/neovim/neovim/issues/24369 by adding an extra `vim.schedule` to ensure the `vim.fn.complete` call happens outside of a luv callback | |||
* | test(startup_spec): add a test for #18315 (#24391) | zeertzjq | 2023-07-19 | |
| | ||||
* | docs(lua): more improvements (#24387) | Lewis Russell | 2023-07-18 | |
| | | | | | | | | | | | | | | | | | * docs(lua): teach lua2dox how to table * docs(lua): teach gen_vimdoc.py about local functions No more need to mark local functions with @private * docs(lua): mention @nodoc and @meta in dev-lua-doc * fixup! Co-authored-by: Justin M. Keyes <justinkz@gmail.com> --------- Co-authored-by: Justin M. Keyes <justinkz@gmail.com> | |||
* | build(scripts): allow a git ref for lsp_types #24377 | kylo252 | 2023-07-18 | |
| | | | | | | USAGE: nvim -l scripts/lsp_types.lua gen nvim -l scripts/lsp_types.lua gen --build/new_lsp_types.lua nvim -l scripts/lsp_types.lua gen --out runtime/lua/vim/lsp/types/protocol.lua --ref 2023.0.0a2 | |||
* | refactor(lua2dox): overhaul (#24386) | Lewis Russell | 2023-07-18 | |
| | ||||
* | fix(fs.lua): normalize slash truncation (#23753) | Mike | 2023-07-18 | |
| | | | Preserve last slash in windows' root drive directories | |||
* | Merge pull request #24363 from lewis6991/docs/luatypes | Lewis Russell | 2023-07-17 | |
|\ | | | | | docs(lua): move some function docs to lua files | |||
| * | fix: doc errors | Lewis Russell | 2023-07-17 | |
| | | ||||
| * | fix: luacheck | Lewis Russell | 2023-07-17 | |
| | | ||||
| * | refactor(gen_vimdoc): put defgroup handling in a function | Lewis Russell | 2023-07-17 | |
| | | ||||
| * | docs(lua): change *lua-foo* -> *vim.foo* | Lewis Russell | 2023-07-17 | |
| | | ||||
| * | docs(lua): move function docs to lua files | Lewis Russell | 2023-07-17 | |
| | | ||||
| * | docs: handle whitespace in emmycomments | Lewis Russell | 2023-07-17 | |
| | | ||||
| * | docs(lua): do not render self args | Lewis Russell | 2023-07-17 | |
| | | ||||
| * | refactor: rename _meta.lua to _options.lua | Lewis Russell | 2023-07-17 | |
| | | ||||
* | | feat(lsp)!: rename vim.lsp.get_active_clients to get_clients (#24113) | Mathias Fußenegger | 2023-07-17 | |
| | | ||||
* | | fix(terminal): don't send unknown special keys to terminal (#24378) | zeertzjq | 2023-07-17 | |
| | | | | | | | | Special keys are negative integers, so sending them to terminal leads to strange behavior. | |||
* | | feat(options)!: remove compatible behaviours for vim 5.0 and earlier | Lewis Russell | 2023-07-17 | |
| | | ||||
* | | test(fs): vim.loop was renamed to vim.uv (#24376) | kylo252 | 2023-07-17 | |
| | | | | | | test(fs): vim.loop has been replaced with vim.uv | |||
* | | fix(inccommand): block errors when parsing command line again (#24374) | zeertzjq | 2023-07-17 | |
| | | | | | | Revert the change to ex_getln.c from a741c7fd0465c949a0016fcbee5f4526b65f8c02 |