aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fix(diagnostic): rename buffer → bufnr in type annotation (#23042)Mathias Fußenegger2023-04-12
| | | | See `:h diagnostic-structure`, the property name is `bufnr`, not `buffer`.
* fix(runtime): add commentstring for C# ftplugin (#23039)Christian Clason2023-04-12
| | | | | | Problem: No commentstring is set for C# buffers after removing the default C-style commentstring Solution: Add `ftplugin/cs.lua` with C-style commentstring
* ci(lintcommit): allow colon not followed by space in description (#23035)zeertzjq2023-04-12
|
* test(startup_spec): use getscriptinfo() instead of :scriptnames (#23034)zeertzjq2023-04-12
|
* refactor: remove :CheckHealthdundargoc2023-04-12
| | | | | Using :CheckHealth invokes an error, and many of the features from :checkhealth doesn't even work such as calling only a specific check. Users should use :checkhealth instead.
* build: use -O3 optimization for release buildsdundargoc2023-04-11
| | | | | | Compilers have much more reliable -O3 output these days, so this workaround is likely not needed. Closes https://github.com/neovim/neovim/issues/23008.
* feat!: remove vimballs (#22402)dundargoc2023-04-11
| | | | | | | | Vimball is an outdated feature that is rarely used these days. It is not a maintenance burden on its own, but it is nonetheless dead weight and something we'd need to tell users to ignore when they inevitably ask what it is. See: https://github.com/neovim/neovim/pull/21369#issuecomment-1347615173
* test(lsp): fix unstable tests for set_defaults (#23002)Michal Liszcz2023-04-11
| | | | | | | | | | In the `test_rpc_server` procedure, both `on_setup` and `on_init` callbacks can run concurrently in some scenarios. This caused some CI failures in tests for the LSP set_defaults feature. This commit attempts to fix this by merging those two callbacks in the impacted tests. See: https://github.com/neovim/neovim/actions/runs/4553550710/attempts/1
* feat(lua): vim.region accepts getpos() arg (#22635)NAKAI Tsuyoshi2023-04-11
|
* test: avoid name collisions with Xtest directory (#23019)kylo2522023-04-11
|
* fix(highlight): combine ColorColumn with low-priority CursorLine (#23017)zeertzjq2023-04-11
|
* fix(treesitter): Use the correct replacement args for #gsub! directive (#23015)Scott Ming2023-04-11
| | | fix(treesitter): use the correct replacement args for #gsub! directive
* fix(health): check for _host_prog variables properly (#23014)zeertzjq2023-04-11
|
* fix(man.lua): don't continue on command error (#23009)zeertzjq2023-04-11
| | | Fix #21169
* fix(health): combine python and virtualenv healthchecks (#23004)Gregory Anders2023-04-10
| | | fix(health): combine python and virtualenv health checks
* fix(health): fix typo in function nameGregory Anders2023-04-10
|
* fix(mark): properly init mark views (#22996)zeertzjq2023-04-10
|
* refactor: rewrite perl healthcheck in luadundargoc2023-04-10
| | | This is required to remove the vimscript checkhealth functions.
* refactor: rewrite node healthcheck in luadundargoc2023-04-10
| | | This is required to remove the vimscript checkhealth functions.
* Merge pull request #22865 from MunifTanjim/issue-20370bfredl2023-04-10
|\ | | | | fix(api): do not re-apply win_config.style when missing
| * fix(api): do not re-apply win_config.style when missingMunif Tanjim2023-04-10
| |
* | refactor: rewrite ruby healthcheck in luadundargoc2023-04-10
| | | | | | This is required to remove the vimscript checkhealth functions.
* | ci(release/winget): get msi from previous job instead of downloading Vedant2023-04-10
| |
* | fix(eval): prevent double-free in garbage collection (#22990)zeertzjq2023-04-10
| |
* | refactor: rewrite virtualenv healthcheck in luadundargoc2023-04-10
| | | | | | This is required to remove the vimscript checkhealth functions.
* | fix(column): 'statuscolumn' not drawn after virt_lines with "n" in 'cpo' ↵luukvbaal2023-04-10
| | | | | | | | | | | | | | | | (#22967) Problem: The 'statuscolumn' is not drawn and the line itself is drawn at an offset to the rest of the buffer after virt_lines if 'cpoptions' includes "n". Solution: Make sure 'statuscolumn' is drawn.
* | vim-patch:9.0.1443: ending Insert mode when accessing a hidden prompt buffer ↵zeertzjq2023-04-10
| | | | | | | | | | | | | | | | | | | | (#22984) Problem: Ending Insert mode when accessing a hidden prompt buffer. Solution: Don't stop Insert mode when it was active before. (closes vim/vim#12237) https://github.com/vim/vim/commit/05a627c3d4e42a18f76c14828d68ee4747118211 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | refactor: rewrite python provider healthcheck in Luadundargoc2023-04-09
| | | | | | This is required to remove the vimscript checkhealth functions.
* | refactor: rewrite clipboard provider healthchecks in Luadundargoc2023-04-09
| | | | | | This is required to remove the vimscript checkhealth functions.
* | build(ci): ensure correct headers are used on macOSCarlo Cabrera2023-04-09
| | | | | | | | | | | | | | | | | | | | Currently, the release build picks up headers in `/Library/Frameworks/Mono.framework/Headers`. You can verify this by downloading the latest nightly build and checking the output of `nvim --version`. These headers are likely to be from a different version of `libintl` than the one we link to. Let's avoid usage of them by setting `CMAKE_FIND_FRAMEWORK` to `NEVER`.
* | build: remove uninstall targetdundargoc2023-04-08
| | | | | | | | | | The `make uninstall` target can't be expected to find all files it installs in many cases. It is therefore better to remove it rather than give the impression to users that it is a robust.
* | Merge pull request #22963 from echasnovski/diagnostic-new-hlChristian Clason2023-04-08
|\ \ | | | | | | docs: add `hl-DiagnosticDeprecated` and `hl-DiagnosticUnnecessary`
| * | docs: add `hl-DiagnosticDeprecated` and `hl-DiagnosticUnnecessary`Evgeni Chasnovski2023-04-08
|/ /
* | build(uninstall): don't build if installation manifest not founddundargoc2023-04-08
| | | | | | | | | | | | Due to the way neovim project is set up, running `make uninstall` would previously build neovim in order to determine whether neovim was installed. Instead, check if installation manifest file exists and if not then skip building entirely.
* | refactor(mappings)!: remove #n as a notation for a function key (#17318)zeertzjq2023-04-08
| | | | | | | | This notation is hardly used and makes the behavior of the from_part argument of nvim_replace_termcodes confusing.
* | fix(termdebug): handle partial lines passed to callback (#22950)zeertzjq2023-04-08
| | | | | | | | | | | | | | | | | | | | Problem: Job callbacks in termdebug cannot handle partial lines. Solution: Add a wrapper function that handles partial lines and only passes full lines to the real callback. Fix #22929.
* | ci: simplify backport workflowdundargoc2023-04-08
| |
* | revert(packaging): installation context to per-machine on Windowssitiom2023-04-08
| | | | | | | | | | | | Revert this change until a proper solution is implemented, such as allowing the user to select whether to install per-user or per-machine. Fixes https://github.com/neovim/neovim/issues/22933.
* | fix(highlight): add missing g: prefix for colors_name (#22952)zeertzjq2023-04-08
| | | | | | | | Fix #22951. This was fixed in Vim in patch 8.2.0613.
* | Merge pull request #22873 from bfredl/keyset2bfredl2023-04-08
|\ \ | | | | | | refactor(api): make typed dicts appear as real types in the source code
| * | refactor(api): make typed dicts appear as types in the source codebfredl2023-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problem: can we have Serde? solution: we have Serde at home This by itself is just a change of notation, that could be quickly merged to avoid messy merge conflicts, but upcoming changes are planned: - keysets no longer need to be defined in one single file. `keysets.h` is just the initial automatic conversion of the previous `keysets.lua`. keysets just used in a single api/{scope}.h can be moved to that file, later on. - Typed dicts will have more specific types than Object. this will enable most of the existing manual typechecking boilerplate to be eliminated. We will need some annotation for missing value, i e a boolean will need to be represented as a TriState (none/false/true) in some cases. - Eventually: optional parameters in form of a `Dict opts` final parameter will get added in some form to metadata. this will require a discussion/desicion about type forward compatibility.
* | | vim-patch:9.0.1442: mapset() does not restore non-script context (#22942)zeertzjq2023-04-08
| | | | | | | | | | | | | | | | | | Problem: mapset() does not restore non-script context. Solution: Also accept negative sid. (closes vim/vim#12132) https://github.com/vim/vim/commit/bfc7cbd1d44e53e844a079d8ad16ae990dad664d
* | | ci: use a set instead of array for team reviewersdundargoc2023-04-07
| | | | | | | | | Adding the same team multiple times will fail the review job.
* | | ci: don't automatically enable -Werror on CI environmentsdundargoc2023-04-07
| | | | | | | | | | | | | | | | | | This catches downstream consumers of neovim off guard when using neovim in an esoteric environment not tested in our own CI. Closes https://github.com/neovim/neovim/issues/22932
* | | refactor: remove redundant castsii142023-04-07
|/ /
* | refactor: remove redundant castsii142023-04-07
| |
* | refactor: remove redundant const char * castsii142023-04-07
| |
* | refactor: make char * parameters const in message.cii142023-04-07
| | | | | | | | Add const to char * parameters in message.c functions and remove some redundant casts.
* | feat(lua): allow vim.F.if_nil to take multiple arguments (#22903)Gregory Anders2023-04-07
| | | | | | | | | | | | | | | | | | | | | | | | The first argument which is non-nil is returned. This is useful when using nested default values (e.g. in the EditorConfig plugin). Before: local enable = vim.F.if_nil(vim.b.editorconfig, vim.F.if_nil(vim.g.editorconfig, true)) After: local enable = vim.F.if_nil(vim.b.editorconfig, vim.g.editorconfig, true)
* | docs(news): create new news, rename old news (#22922)Christian Clason2023-04-07
| |