aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* chore(clang): Fix 'Array subscript is undefined' #15057ansimita2021-07-11
|
* fixup(clipboard): Fix error not properly handled #14984Shadman2021-07-11
| | | fixes #14967
* fix(lsp): Ensure human readable errors are printedMathias Fussenegger2021-07-11
| | | | | | | | | | `return err_message(tostring(err))` caused errors to be printed as `table: 0x123456789` instead of showing the error code and error message. This also removes some `if err` blocks that never got called because at the end of `handlers.lua` all the handlers are wrapped with logic that adds generic error handling.
* fix(lsp): Ensure users get feedback on references/symbols errors or empty ↵Mathias Fussenegger2021-07-11
| | | | | | | | | results Relates to https://github.com/neovim/neovim/issues/15050 Users should get some indication if there was an error or an empty result.
* window.c: address Coverity failure #14996Daniel Steinberg2021-07-10
| | | | | | | | | Check that `wip2` does not point to the same address as `wip`, to address the Coverity test failure from PR #14884. Based on the `if` clauses, `free_wininfo(wip2, ...)` is only called when `wip2->wi_win == NULL` and `wip->wi_win == wp`. I think `wip2` would only point to the same address as `wip` in scenarios where `wp` were `NULL`, which can be assumed otherwise based on the earlier code.
* test/memory_usage_spec: skip on MacOS #15043Daniel Steinberg2021-07-10
| | | Memory compression could complicate the measurements.
* fix(lsp): Add separator between codelens in virttext (#15049)Mathias Fußenegger2021-07-10
| | | | | | | | | | | | Before: Lens1Lens2 After: Lens1 | Lens2 Fixes https://github.com/neovim/neovim/issues/15048
* fix(lsp): correctly check for windows in lsp logger (#14954)Oliver Marriott2021-07-10
|
* Merge pull request #15047 from teto/flake-testsMatthieu Coudron2021-07-10
|\ | | | | flake update
| * chore: add log hander to gen_vimdocMatthieu Coudron2021-07-10
| | | | | | | | | | so it actually dumps output. Plus a description of what it does in the argparser.
| * chore(flake): update inputsMatthieu Coudron2021-07-10
|/ | | | | | | | | | | | Updated inputs so no need to add tree-sitter ourselves anymore. Added checks: - for pylint/shlint - distinguish the devolpment shell from the ASAN build (closure for ASAN version is smaller). While in the devShell, functionaltests would fail because bin/nvim could not load outputs/out/share/nvim/syntax/syntax.vim So we touch the file.
* feat(lsp): Make line diagnostics display prettierMathias Fussenegger2021-07-09
| | | | | | | | | | | | | | | | | | | | | | | | | Adds indentation that matches the number prefix to ensure diagnostic messages spawning multiple lines align. Before: Diagnostics: 1. • Variable not in scope: red :: t0 -> t • Perhaps you meant one of these: ‘rem’ (imported from Prelude), ‘read’ (imported from Prelude), ‘pred’ (imported from Prelude) 2. • Variable not in scope: repeDoubleColon :: [Char] -> t0 • Perhaps you meant ‘replaceDoubleColon’ (line 32) After: Diagnostics: 1. • Variable not in scope: red :: t0 -> t • Perhaps you meant one of these: ‘rem’ (imported from Prelude), ‘read’ (imported from Prelude), ‘pred’ (imported from Prelude) 2. • Variable not in scope: repeDoubleColon :: [Char] -> t0 • Perhaps you meant ‘replaceDoubleColon’ (line 32)
* Merge pull request #15036 from vigoux/decurbuf-2Björn Linse2021-07-09
|\ | | | | refactor(undo): don't assume curbuf in u_compute_hash
| * refactor(undo): don't assume curbuf in u_compute_hashThomas Vigouroux2021-07-09
| |
* | Merge pull request #15035 from neovim/marvim/api-doc-update/masterThomas Vigouroux2021-07-09
|\ \ | |/ |/| docs: regenerate
| * docs: regeneratemarvim2021-07-09
|/
* fix(lsp): support duplicate params in signature help (#15032)Folke Lemaitre2021-07-09
|
* Merge pull request #12971 from vigoux/decurbufBjörn Linse2021-07-09
|\ | | | | Decrease reliance on curbuf in BUFEMPTY and `undo.c`
| * refactor(undo): remove last occurence of save_curbufThomas Vigouroux2021-07-08
| |
| * refactor: remove all mentions to `curbuf_lock`Thomas Vigouroux2021-07-08
| |
| * style(undo): remove unnecessary commentThomas Vigouroux2021-07-06
| |
| * fix(qf): use correct buffer fieldThomas Vigouroux2021-07-06
| |
| * buffer: move BUFEMPTY to a functionThomas Vigouroux2021-07-06
| |
| * undo: reduce reliance on curbufThomas Vigouroux2021-07-06
| |
| * buffer: don't rely on curbuf in BUFEMPTYThomas Vigouroux2021-07-06
| |
* | Merge pull request #14908 from neovim/marvim/api-doc-update/masterJames McCoy2021-07-08
|\ \ | | | | | | docs: regenerate
| * | docs: regeneratemarvim2021-07-08
| | |
* | | build(cmake): skip download if target file exists #14844)comicfans2021-07-08
| | |
* | | vim-patch:8.2.3125: variables are set but not used #15028dundargoc2021-07-08
| | | | | | | | | | | | | | | | | | Problem: Variables are set but not used. Solution: Move the declarations to the block where they are used. (closes vim/vim#8527) https://github.com/vim/vim/commit/09f688c33aad9692276dfb68842cf0621a0e2002
* | | vim-patch:8.2.3089: garbage collection has useless code #15027dundargoc2021-07-08
|/ / | | | | | | | | Problem: Garbage collection has useless code. Solution: Bail out when aborting. (closes vim/vim#8504) https://github.com/vim/vim/commit/20cc52832067d22a3cd47dfb0805251228c32e7d
* | fix(lsp): restore diagnostics extmarks that were moved to the last edit line ↵Folke Lemaitre2021-07-08
| | | | | | | | (#15023)
* | feat(lsp): highlight active parameter in signature help (#15018)Folke Lemaitre2021-07-07
| |
* | doc: "--remote" is not supported #14936cbarrete2021-07-07
| | | | | | | | There are plans to support the --remote-xx stuff (or something like it): #1750 #8326 But we don't need this doc meanwhile.
* | doc: remove mentions of compile-time flags #14935cbarrete2021-07-07
| | | | | | | | Nvim always compiles everything in so those are useless at best and confusing at worst.
* | chore: use codespell to spell check #15016dundargoc2021-07-07
| |
* | clang/'Dead initialization': don't assign unused value to variable "string" ↵dundargoc2021-07-07
| | | | | | | | #15015
* | fix(lsp): restore diagnostics extmarks on buffer changes (#15011)Folke Lemaitre2021-07-07
| |
* | clang/'Dead nested assignment': don't assign unused value to precision #15012dundargoc2021-07-07
| |
* | chore(deps): bump LibLUV to 1.40.0-0 (#14997)Christian Clason2021-07-07
|/ | | Adds several threading, async, and gc fixes and allows building with older gcc (4.x). Minimum required version remains 1.30.1.
* clang/'Dead assignment': ignore warning #15000dundargoc2021-07-05
| | | | This assignment is informative/documenting though technically unnecessary. https://github.com/neovim/neovim/pull/11900#discussion_r381860165 .
* chore(deps): bump LibLUV to 1.34.1 and lua-compat-53 to 0.9 (#14985)Lewis Russell2021-07-05
| | | | | This bumps the bundled LibLUV to 1.34.1 in order to make the newly introduced `uv.fs_mkstemp` available in the official builds. (The minimum required version remains at 1.30.1.) The bump of lua-compat-53 to 0.9 is needed to build with the updated LibLUV.
* Merge pull request #14989 from folke/lsp_convert_input_markdownMichael Lingelbach2021-07-04
|\ | | | | fix(lsp): prevent double <text> for cached plaintext markup
| * fix(lsp): prevent double <text> for cached plaintext markupFolke Lemaitre2021-07-05
|/
* Merge pull request #14391 from lewis6991/signsBjörn Linse2021-07-04
|\ | | | | signs: Change b_signcols_max -> b_signcols_valid
| * signs: Change b_signcols_max -> b_signcols_validLewis Russell2021-07-04
|/ | | | | b_signcols_max isn't used to store the max value, it is use to invalidate b_signcols.
* Merge pull request #14981 from janlazo/vim-8.2.3081Jan Edmund Lazo2021-07-04
|\ | | | | vim-patch:8.2.{3081,3082,3085,3087,3088,3093,3094,3097,3098}
| * vim-patch:8.2.3097: crash when using "quit" at recovery promptJan Edmund Lazo2021-07-04
| | | | | | | | | | | | | | | | Problem: Crash when using "quit" at recovery prompt and autocommands are triggered. Solution: Block autocommands when creating an empty buffer to use as the current buffer. (closes vim/vim#8506) https://github.com/vim/vim/commit/1d97efce0ce31ddf0dd4c1ae2228ef4caee6880c
| * vim-patch:8.2.3093: tablabel_tooltip test fails with AthenaJan Edmund Lazo2021-07-04
| | | | | | | | | | | | Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé) Solution: Skip the test when using Athena. (closes vim/vim#8508) https://github.com/vim/vim/commit/fb773a3e0aa9466bb953c29bad0bf4ba34461a40
| * vim-patch:8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrongJan Edmund Lazo2021-07-04
| | | | | | | | | | | | | | Problem: With 'virtualedit' set to "block" Visual highlight is wrong after using "$". (Marco Trosi) Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes vim/vim#8495) https://github.com/vim/vim/commit/9cee4a1c9c69542ccd73bcd2db05920150856361
| * vim-patch:8.2.3087: Gemtext files are not recognizedJan Edmund Lazo2021-07-04
| | | | | | | | | | | | Problem: Gemtext files are not recognized. Solution: Recognize .gmi and .gemini files. (closes vim/vim#8427) https://github.com/vim/vim/commit/fcde67c99fbb6d7294e01b9e87d8d2ae7af31255