aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* perf(loader): reduce calls to Loader.cache_fileLewis Russell2024-10-31
|
* refactor(loader): remove unused _topmodsLewis Russell2024-10-31
|
* fix: another round of type annotation fixesLewis Russell2024-10-31
|
* Merge pull request #31008 from zeertzjq/vim-3d7e567zeertzjq2024-10-31
|\ | | | | vim-patch: netrw fixes
| * vim-patch:4d61800: runtime(netrw): fix E874 when browsing remote directory ↵zeertzjq2024-10-31
| | | | | | | | | | | | | | | | | | | | which contains `~` character closes: vim/vim#15964 https://github.com/vim/vim/commit/4d618006ecfd2557806d8af488f70b3e46878d70 Co-authored-by: Tom Benham <tom.benham13@gmail.com>
| * vim-patch:8b0fa7a: runtime(netrw): make :Launch/Open autoloadablezeertzjq2024-10-31
| | | | | | | | | | | | | | | | | | | | fixes: vim/vim#15959 closes: vim/vim#15962 https://github.com/vim/vim/commit/8b0fa7a565d8aec306e5755307d182fa7d81e65f Co-authored-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
| * vim-patch:9f32069: runtime(netrw): fix regression with x mapping on Cygwinzeertzjq2024-10-31
| | | | | | | | | | | | | | | | | | related: vim/vim#13687 https://github.com/vim/vim/commit/9f32069b8c4f74aa6af47e2f0ec07f2745feac57 Co-authored-by: Christian Brabandt <cb@256bit.org> Co-authored-by: K.Takata <kentkt@csc.jp>
| * vim-patch:aa2ce6f: runtime(netrw): fix filetype detection for remote fileszeertzjq2024-10-31
| | | | | | | | | | | | | | | | | | | | | | fixes: vim/vim#15961 while at it, remove the Decho comments in the s:NetrwOptionsRestore() function https://github.com/vim/vim/commit/aa2ce6f58005bc3b81be2bf42f84ffd01ce22d57 Co-authored-by: Christian Brabandt <cb@256bit.org>
| * vim-patch:d69ffbe: runtime(netrw): add missing change for s:redir()zeertzjq2024-10-31
| | | | | | | | | | | | | | | | Somehow, that change got lost in commit 70197885 https://github.com/vim/vim/commit/d69ffbe4bc2196c4fc2b9377167a9a194213a686 Co-authored-by: Christian Brabandt <cb@256bit.org>
| * vim-patch:7019788: runtime(netrw): improve netrw's open-handling furtherzeertzjq2024-10-31
| | | | | | | | | | | | | | | | closes: vim/vim#15956 https://github.com/vim/vim/commit/70197885a8957071e4ab6816141ce6e8026635c6 Co-authored-by: Enno <Konfekt@users.noreply.github.com>
| * vim-patch:7c96776: runtime(netrw): fix syntax error in netrwPlugin.vimzeertzjq2024-10-31
| | | | | | | | | | | | https://github.com/vim/vim/commit/7c96776729a671b7c5f6be81bc29d860920ea1c1 Co-authored-by: Christian Brabandt <cb@256bit.org>
| * vim-patch:3d7e567: runtime(netrw): simplify gx file handlingzeertzjq2024-10-31
|/ | | | | | | | | | | | | | | | | | | | | | It did not work very well, at least on Debian 12, and I am not sure Git Bash and WSL, for example, were taken care of as maintenance stalled. The whole logic was somewhat convoluted with some parts repeatedly invoking failed commands. The file handling was outdated, for example, nowadays Netscape is rarely used, and also opinionated, for example mainly Microsoft Paint and Gimp for Image files. Instead, let's use (xdg-)open and similar commands on other systems which respects the user's preferences. closes: vim/vim#15721 https://github.com/vim/vim/commit/3d7e567ea7392e43a90a6ffb3cd49b71a7b59d1a Co-authored-by: Konfekt <Konfekt@users.noreply.github.com> Co-authored-by: Luca Saccarola <96259932+saccarosium@users.noreply.github.com>
* vim-patch:6be21b9: runtime(debversions): Add plucky (25.04) as Ubuntu ↵Christian Clason2024-10-31
| | | | | | | | | | release name closes: vim/vim#15882 https://github.com/vim/vim/commit/6be21b937db1c088c4d191e4569989eb078adb45 Co-authored-by: Simon Quigley <tsimonq2@ubuntu.com>
* vim-patch:9.1.0823: filetype: Zephyr overlay files not recognizedChristian Clason2024-10-31
| | | | | | | | | | | | | | | | Problem: filetype: Zephyr overlay files not recognized Solution: detect '*.overlay' files as dts filetype, include syntax tests for DTS files (Xudong Zheng) Reference: https://docs.zephyrproject.org/latest/build/dts/howtos.html closes: vim/vim#15963 https://github.com/vim/vim/commit/a68bd6f089239a51ba90026b18109707e601b107 Co-authored-by: Xudong Zheng <7pkvm5aw@slicealias.com>
* feat(highlight): make `PmenuMatch` and `PmenuMatchSel` boldEvgeni Chasnovski2024-10-31
| | | | | | | | | | | | | | Problem: both `PmenuMatch` and `PmenuMatchSel` can provide helpful information about characters which actually match query in completion candidates. This is not as useful with default regular match, but much more useful with 'completopt+=fuzzy'. Solution: make both highlight groups bold. This will also affect (i.e. benefit) other color schemes which do not define groups separately. This is possible since the recently merged changes to `PmenuMatch` and `PmenuMatchSel` combine attributes with underlying "base" groups. See PR 29980.
* test: fix files being left behind (#31004)zeertzjq2024-10-31
|
* fix(lsp): correct hover result handling (#30995)notomo2024-10-30
| | | | | | | Problem: vim.lsp.buf.hover() displays "No information available" when client_id is not 1. Solution: use vim.tbl_isempty(tbl) instead of #tbl==0
* vim-patch:9.1.0822: topline might be changed in diff mode unexpectedly (#30988)zeertzjq2024-10-30
| | | | | | | | | | | | | Problem: topline might be changed in diff mode unexpectedly (Jaehwang Jung) Solution: do not re-calculate topline, when using line() func in diff mode. fixes: vim/vim#15812 closes: vim/vim#15950 https://github.com/vim/vim/commit/05a40e07c2f0e41b708c4c75a6aa7d0e7f6201a3 Co-authored-by: Christian Brabandt <cb@256bit.org>
* fix(defaults): omit extraneous info from unimpaired mapping errors (#30983)Gregory Anders2024-10-29
|
* docs(options): shell-powershell #30969Kai Moschcau2024-10-29
| | | | | | | `-NonInteractive` at least somewhat hints to pwsh/powershell, that shell sessions created from :! are not interactive, though even that is not foolproof, because powershell is weird. `$PSStyle.OutputRendering='plaintext'` causes pwsh/powershell to omit ANSI escape sequences in its output.
* Merge pull request #30935 from lewis6991/feat/lsp_multi_hoverLewis Russell2024-10-29
|\
| * feat(lsp)!: multiple client support for vim.lsp.buf.hover()Lewis Russell2024-10-29
| | | | | | | | Deprecate `vim.lsp.handlers.hover` and `vim.lsp.handlers['textDocument/hover']`
| * refactor(lsp): buf_request_allLewis Russell2024-10-29
| |
* | vim-patch:1e2007e: runtime(awk): Highlight more awk comments in syntax scriptChristian Clason2024-10-29
| | | | | | | | | | | | | | | | closes: vim/vim#15944 https://github.com/vim/vim/commit/1e2007e6437da2696d0239d487720eb51e94e15f Co-authored-by: John M Devin <john.m.devin@gmail.com>
* | vim-patch:9.1.0820: tests: Mac OS tests are too flaky (#30980)zeertzjq2024-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem: tests: Mac OS tests are too flaky Solution: Increase max test timeout to 25 minutes, allow up to 10 retries on Mac OS runners, refactor runtest.vim (Milly). closes: vim/vim#15940 https://github.com/vim/vim/commit/baab7c08653a4e1b7227d6426d96cab030ccf9e8 Co-authored-by: Milly <milly.ca@gmail.com> Co-authored-by: K.Takata <kentkt@csc.jp>
* | Merge pull request #30979 from zeertzjq/vim-9.1.0810zeertzjq2024-10-29
|\ \ | | | | | | vim-patch:9.1.{0810,0811,0821}: 'findexpr'
| * | vim-patch:9.1.0821: 'findexpr' completion doesn't set v:fname to cmdline ↵zeertzjq2024-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | argument Problem: 'findexpr' completion doesn't set v:fname to cmdline argument. Solution: Set v:fname to the cmdline argument as-is (zeertzjq). closes: vim/vim#15934 https://github.com/vim/vim/commit/20e045f78148c0ef0143c33ffe686fee72d29376
| * | vim-patch:9.1.0811: :find expansion does not consider 'findexpr'zeertzjq2024-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :find expansion does not consider 'findexpr' Solution: Support expanding :find command argument using 'findexpr' (Yegappan Lakshmanan) closes: vim/vim#15929 https://github.com/vim/vim/commit/2f6efaccfd5c4e7df1f54ed0f41f329abbe05f60 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| * | vim-patch:9.1.0810: cannot easily adjust the |:find| commandzeertzjq2024-10-29
|/ / | | | | | | | | | | | | | | | | | | | | | | Problem: cannot easily adjust the |:find| command Solution: Add support for the 'findexpr' option (Yegappan Lakshmanan) closes: vim/vim#15901 closes: vim/vim#15905 https://github.com/vim/vim/commit/aeb1c97db5b9de4f4903e7f288f2aa5ad6c49440 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* | refactor: sort various Lua tables in src/ alphabetically (#30977)zeertzjq2024-10-29
| |
* | refactor(options): option flags enum #30961Famiu Haque2024-10-28
| | | | | | | | | | Problem: Currently we use macros with hardcoded flag values for option flags, which is messy and requires a lot of mental math for adding / removing option flags. Using macros for option flags also means that they cannot be used inside debuggers. Solution: Create a new `OptFlags` enum that stores all the option flags in an organized way that is easier to understand.
* | feat(defaults): map gO to LSP document_symbol #30781Nikita Revenco2024-10-28
| |
* | fix(lsp): list all workspace folders in healthcheck #30966Maria José Solano2024-10-28
| |
* | test(pum): add test for item selection with 'rightleft' (#30968)zeertzjq2024-10-28
| |
* | fix(pum): don't select item when clicking to the left/right (#30967)zeertzjq2024-10-28
| | | | | | | | | | | | | | Problem: Selecting an item in the right-click menu when clicking to the left/right of it is confusing, especially in a UI that doesn't support 'mousemoveevent'. Solution: Don't select an item when clicking to the left/right of the right-click menu.
* | fix(treesitter): correct condition in `__has_ancestor`Amaan Qureshi2024-10-27
| |
* | feat(diagnostics)!: sort underline severity_sort (#30898)Donatas2024-10-27
| | | | | | | | | | feat(diagnostics)!: sort underline with severity_sort BREAKING CHANGE: underline will be applied with a higher value than `vim.hl.priorities.diagnostics`
* | fix(lsp): compare URI instead of workspace folder name (#30962)Gregory Anders2024-10-27
| | | | | | | | | | | | The workspace folder name is meant to be a human-readable name which is only used in the UI. Comparing the name against root_dir is thus not a valid comparison. Instead, we should compare the workspace folder's URI against the root dir URI.
* | feat(tutor): give hints to satisfy the line checker #30952echometerain2024-10-27
| | | | | | | | | | Problem: novice users relying on vimtutor won't know what to do when they follow the instructions and delete a couple lines and that breaks the line checker Solution: tell the user to fix the line numbers after they're done
* | refactor(options): always allocate option values (#30917)Famiu Haque2024-10-27
| | | | | | | | | | | | | | Instead of keeping `P_ALLOCED` and `P_DEF_ALLOCED` flags to check if an option value is allocated, always allocate option values to simplify the logic. Ref: #25672
* | docs(lsp): document alternative for vim.lsp.util.jump_to_locationMaria José Solano2024-10-27
| |
* | docs(treesitter): specify predicate boolean return valueRiley Bruins2024-10-27
| |
* | refactor(lsp): drop str_byteindex/str_utfindex wrappers #30915Tristan Knight2024-10-26
| | | | | | | | | | * deprecate old signatures * move to new str_byteindex/str_utfindex signature * use single-underscore name (double-underscore is reserved for Lua itself)
* | refactor(options)!: use OptVal for option defaults #26691Famiu Haque2024-10-25
| | | | | | | | | | | | | | | | | | Problem: We use `void *` for option default values, which is confusing and can cause problems with type-correctness. It also doesn't accomodate for multitype options. On top of that, it also leads to default boolean option values not behaving correctly on big endian systems. Solution: Use `OptVal` for option default values. BREAKING CHANGE: - `:set {option}<` removes the local value for all global-local options instead of just string global-local options. - `:setlocal {option}<` copies the global value to the local value for number and boolean global-local options instead of removing the local value.
* | fix(defaults): missing ]Q/[Q unimpaired mappings #30943Maria José Solano2024-10-25
| |
* | vim-patch:9.1.0814: mapset() may remove unrelated mapping (#30941)zeertzjq2024-10-24
|/ | | | | | | | | Problem: mapset() may remove unrelated mapping whose {rhs} matches the restored mapping's {lhs}. Solution: only match by {lhs} when unmapping for mapset() (zeertzjq). closes: vim/vim#15935 https://github.com/vim/vim/commit/fdf135a0525746cc0ff85bed2fbbde320ddb6d0d
* feat(lsp): deprecate vim.lsp.buf.completionLewis Russell2024-10-24
| | | | Use `vim.lsp.completion.trigger()` instead'
* feat(lsp): deprecate execute_command with client:exec_cmdLewis Russell2024-10-24
|
* fix(lsp): better multi-client support for callHierarchyLewis Russell2024-10-24
| | | | | | | | Only ever display a dialogue box once. Switch from vim.fn.inpulist to vim.ui.select refactor(lsp): merge call and type hierarchy functions
* fix(lsp): use correct method for prepareTypehierarchyLewis Russell2024-10-24
| | | | Regression from #30902