aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.2.2884: not enough cscope code is covered by testsJan Edmund Lazo2021-05-24
| | | | | | Problem: Not enough cscope code is covered by tests. Solution: Add a few test cases. (Dominique Pellé, closes vim/vim#8246) https://github.com/vim/vim/commit/1e469c72ee2914fcffbcd49258036acdabd6f500
* vim-patch:8.2.0511: Cscope code not fully testedJan Edmund Lazo2021-05-24
| | | | | | Problem: Cscope code not fully tested. Solution: Add more test cases. (Dominique Pelle, closes vim/vim#5886) https://github.com/vim/vim/commit/d7ffc0ba8ccb039dd19b255368302d9bfe0e010b
* test/old: partial port of patch v8.2.1.0183Jan Edmund Lazo2021-05-24
| | | | Prep for patch v8.2.0511.
* vim-patch:8.2.1689: 'colorcolumn' doesn't show in indentJan Edmund Lazo2021-05-24
| | | | | | | Problem: 'colorcolumn' doesn't show in indent. Solution: Also draw the column when draw_state is WL_BRI or WL_SBR. (Alexey Demin, closes vim/vim#6948, closes vim/vim#6619) https://github.com/vim/vim/commit/ad5e5631c5dc93a50bbe637be254c5e9968848ea
* vim-patch:8.2.1957: diff and cursorcolumn highlighting don't mixJan Edmund Lazo2021-05-24
| | | | | | | Problem: Diff and cursorcolumn highlighting don't mix. Solution: Fix condition for what attribute to use. (Christian Brabandt, closes vim/vim#7258, closes vim/vim#7260) https://github.com/vim/vim/commit/fabc3ca896751277f18a3a68e5661179728db3ad
* vim-patch:8.2.2880: unified diff fails if actually usedJan Edmund Lazo2021-05-24
| | | | | | | Problem: Unified diff fails if actually used. Solution: Invoke :diffupdate in the test. Fix the check for working external diff. (Ghjuvan Lacambre, Christian Brabandt, closes vim/vim#8197) https://github.com/vim/vim/commit/ad5c178a191cf2cf37a27c2a789d7afda3879831
* vim-patch:8.2.2879: file extension .hsig not recognized (#14628)Jan Edmund Lazo2021-05-23
| | | | | | Problem: File extension .hsig not recognized. Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski, closes vim/vim#8236) https://github.com/vim/vim/commit/f5409dbf66f4e4a0461d3f2079c1bffacbf12392
* vim-patch:8.2.2879: file extension .hsig not recognized (#14623)Jan Edmund Lazo2021-05-23
| | | | | | Problem: File extension .hsig not recognized. Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski, closes vim/vim#8236) https://github.com/vim/vim/commit/f5409dbf66f4e4a0461d3f2079c1bffacbf12392
* Merge pull request #14622 from mfussenegger/unmute-error-responsesMichael Lingelbach2021-05-23
|\ | | | | lsp: Only mute RequestCancelled or ContentModified, but not other errors
| * lsp: Only mute RequestCancelled or ContentModified, but not other errorsMathias Fussenegger2021-05-23
|/ | | | | | | | | | | | | | | | | | | | | | | | | | handlers passed to `lsp_buf_request` weren't called if the server responded with an error that looks like this: "decoded", { error = { code = -32601, message = "No delegateCommandHandler for foo" }, id = 5, jsonrpc = "2.0" } An example where that happens is both eclipse.jdt.ls and the haskell-language-server when invoking a command that doesn't exist: :lua vim.lsp.buf_request( 0, 'workspace/executeCommand', { command = 'foo' }, function(err, _, res) print(vim.inspect(err), vim.inspect(res)) end )
* Merge pull request #14619 from janlazo/vim-8.2.2772Jan Edmund Lazo2021-05-22
|\ | | | | vim-patch:8.2.{2772,2778}
| * vim-patch:8.2.2778: problem restoring 'packpath' in sessionJan Edmund Lazo2021-05-22
| | | | | | | | | | | | | | | | Problem: Problem restoring 'packpath' in session. Solution: Let "skiprtp" also apply to 'packpath'. https://github.com/vim/vim/commit/d23b714d8b9ed8e16ef553098acc6da0979e94fc Port Test_mksession_skiprtp() to lua functional test.
| * vim-patch:8.2.2772: problems when restoring 'runtimepath' from a session fileJan Edmund Lazo2021-05-22
| | | | | | | | | | | | | | | | | | | | | | Problem: Problems when restoring 'runtimepath' from a session file. Solution: Add the "skiprtp" item in 'sessionoptions'. https://github.com/vim/vim/commit/635bd60804966803490287e97460ecdc91d5fe0a Allow "terminal" value for sessionoptions even if it's no-opt because patch v8.0.1592 is not ported yet. Omit vim9 test, Test_mksession_skiprtp().
| * fixup! vim-patch:8.1.0734: the hlsearch state is not stored in a session ↵Jan Edmund Lazo2021-05-22
|/ | | | file (#13547)
* Merge pull request #14615 from folke/faster_locations_to_itemsMichael Lingelbach2021-05-22
|\ | | | | perf(lsp): `locations_to_items`: use libuv for unloaded buffers to get line
| * perf(lsp): locations_to_items use libuv for unloaded buffers to get lineFolke Lemaitre2021-05-22
| |
* | Merge pull request #14269 from fdschmidt93/fix/document_symbol_rangeMichael Lingelbach2021-05-22
|\ \ | | | | | | fix(lsp): prefer selectionRange over range for document symbols in vim.lsp.util.symbols_to_items
| * | fix: selectionrange over range for document symbolsFabian David Schmidt2021-04-01
| | |
* | | Merge pull request #14603 from folke/format_on_saveMichael Lingelbach2021-05-22
|\ \ \ | | | | | | | | fix(lsp): allow apply_text_edits to append text (insert at last line)
| * | | fix(lsp): allow apply_text_edits and set_lines to insert text after the last ↵Folke Lemaitre2021-05-21
| | | | | | | | | | | | | | | | line. Fixes #14017
* | | | Merge pull request #14601 from janlazo/vim-8.1.2320Jan Edmund Lazo2021-05-22
|\ \ \ \ | |_|_|/ |/| | | vim-patch:8.1.{2320,2339},8.2.{946,1591,2875}
| * | | vim-patch:8.2.2875: cancelling inputlist() after a digit does not return zeroJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cancelling inputlist() after a digit does not return zero. Solution: Always return zero when cancelling. (closes vim/vim#8231) https://github.com/vim/vim/commit/5cf94577cf2045fec87344d7d89422fe6dfce62f
| * | | vim-patch:8.2.0946: cannot use "q" to cancel a number promptJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use "q" to cancel a number prompt. Solution: Recognize "q" instead of ignoring it. https://github.com/vim/vim/commit/eebd555733491cb55b9f30fe28772c0fd0ebacf7
| * | | vim-patch:8.2.1591: using winheight('.') in tests works but is wrongJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using winheight('.') in tests works but is wrong. Solution: Use winheight(0). (issue vim/vim#6863) https://github.com/vim/vim/commit/c05d1c043a25c7a52dbf0a740d3f715a9d2691f7
| * | | vim-patch:8.1.2339: insufficient testing for quickfixJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Insufficient testing for quickfix. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#5261) https://github.com/vim/vim/commit/70077dd1ca63636afaf07acf22519981e3a8e4b7 TODO: Debug the following off-by-one error: call assert_equal(repeat('m', 1024), l[0].module)
| * | | vim-patch:8.1.2320: insufficient test coverage for quickfixJan Edmund Lazo2021-05-21
|/ / / | | | | | | | | | | | | | | | | | | Problem: Insufficient test coverage for quickfix. Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan, closes vim/vim#5238) https://github.com/vim/vim/commit/f9ae154c512683ea7b933f870b0268232fd7ad38
* | | doc/options: Removed vim-only text from ambiwidth. (#14602)Thiago Mota Martins2021-05-21
| | | | | | | | | NeoVim always includes all features and doesn´t have termcap-options (t_u7).
* | | Merge pull request #14604 from folke/masterMichael Lingelbach2021-05-21
|\ \ \ | | | | | | | | feat(lsp): use same formatting for `signature_help` as `hover`
| * | | feat(lsp): use fancy_floating_markdown for signature_helpFolke Lemaitre2021-05-21
| | | |
| * | | fix(lsp): clear current_syntax before formatting fancy markdown regionFolke Lemaitre2021-05-21
| | | |
| * | | fix(lsp): preview_location options and syntax fallbackFolke Lemaitre2021-05-21
| | | |
* | | | Merge pull request #14596 from folke/masterMichael Lingelbach2021-05-20
|\| | | | |/ / |/| | lsp: `lsp.util.fancy_floating_markdown` improvements
| * | feat(lsp): lsp.util.fancy_floating_markdown improvementsFolke Lemaitre2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix: fancy_floating_markdown: syn region must include keepend to make sure syntax regions are applied correctly. Fixes #14594 feat: fancy_floating_markdown: handle <pre></pre> code blocks as a markdown code block with plaintext fix: possible nil check for markdown code blocks till end of buffer refactor: only one check is needed to see if stripped[h.finish +1] is valid fix(lsp): dont't set doc ownsyntax, since it breaks contained syntaxes. Set regions for the markdown blocks intsead fix: apply markdown formatting for code blocks without a language fix: use markdownCodeBlock when no language was set in a code block
* | | Fixed ttimeout documentation. (#14600)Thiago Mota Martins2021-05-20
| | | | | | | | | ttimeout is a boolean. The correct command for this line is ":set ttimeoutlen=9999"
* | | Merge pull request #14490 from kevinhwang91/qftfJan Edmund Lazo2021-05-20
|\ \ \ | |/ / |/| | vim-patch: 8.2.{0869,0933,0959} - port quickfixtextfunc
| * | Merge remote-tracking branch 'origin/master' into qftfkevinhwang912021-05-20
| |\ \
| * | | fixup! vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slowkevinhwang912021-05-20
| | | |
| * | | vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slowkevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using 'quickfixtextfunc' is a bit slow. Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234) https://github.com/vim/vim/commit/00e260bb6cc33ff5dbba15ac87ca7fd465aa49c0
| * | | vim-patch:8.2.0933: 'quickfixtextfunc' does not get window ID of location listkevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'quickfixtextfunc' does not get window ID of location list. Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan, closes vim/vim#6222) https://github.com/vim/vim/commit/7ba5a7eff335dcce25afaa154f32eeadb6014b61
| * | | vim-patch:8.2.0869: it is not possible to customize the quickfix window contentskevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not possible to customize the quickfix window contents. Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes vim/vim#5465) https://github.com/vim/vim/commit/858ba06d5f577b187da0367b231f7fa9461cb32d
* | | | Merge pull request #14575 from vigoux/virtualedit-bytesThomas Vigouroux2021-05-20
|\ \ \ \ | |_|/ / |/| | | fix(bufupdate): send events when inserting with virtualedit
| * | | fix(bufupdate): send events when inserting with virtualeditThomas Vigouroux2021-05-18
| | | | | | | | | | | | | | | | | | | | Problem first raised https://github.com/nvim-treesitter/nvim-treesitter/issues/1304
* | | | Merge pull request #14538 from jamessan/vim-patch.sh-fixupJames McCoy2021-05-19
|\ \ \ \ | | | | | | | | | | fix(vim-patch.sh -m): Show all commits touching a file, not just the first
| * | | | vim-patch.sh -m: Ignore changes to version.cJames McCoy2021-05-19
| | | | | | | | | | | | | | | | | | | | [skip ci]
| * | | | fix(vim-patch.sh -m): Show all commits touching a file, not just the firstJames McCoy2021-05-19
|/ / / / | | | | | | | | | | | | [skip ci]
* | | | Merge pull request #14579 from jamessan/windows-env-varsJames McCoy2021-05-19
|\ \ \ \ | | | | | | | | | | Deduplicate env var names on Windows
| * | | | fix(job): Deduplicate env var names on WindowsJames McCoy2021-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows handles environment variable names case-insensitively (i.e., %Path% can be accessed via %PATH%). Since nvim explicitly creates the environment block for jobs, we need to ensure it doesn't contain duplicate names with different cases (e.g., both %Path% and %PATH%) as that can confuse processes using the environment. `f_environ()` now converts all env var names to upper-case on Windows, since it does duplicate detection and also provides the base environment for jobs. Similarly, `create_environment()` converts any env var names supplied in the job opts to upper-case so they can be compared against what we get from `f_environ()`. Closes #14541
| * | | | test(job_spec): Test handling of case-insensitively matching env varsJames McCoy2021-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | Since Windows is case-insensitive, there should only be a single env var in visible in the resulting job. However, non-Windows should see both.
* | | | | Merge pull request #14592 from janlazo/vim-8.2.2869Jan Edmund Lazo2021-05-19
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.2.{2869,2871}
| * | | | | Remove '- 1' for sizes passed to xstrlcpyJan Edmund Lazo2021-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xstrlcpy() NUL-terminates the destination string such that reducing the destination string length by 1 to reserve the last byte for NUL is pointless. https://github.com/neovim/neovim/pull/14490#discussion_r635661185