aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.1.2281: 'showbreak' cannot be set for one windowSean Dewar2021-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'showbreak' cannot be set for one window. Solution: Make 'showbreak' global-local. https://github.com/vim/vim/commit/ee85702c10495041791f728e977b86005c4496e8 Change in oneleft() is N/A as the relevant condition was removed (has_mbyte is always true for Nvim, so the condition was always false; see commit 73dc9e9). Use wp over curwin for curs_columns(). Required for v8.2.2903 (otherwise test fails as it'll leave the global option set). N/A patches for version.c: vim-patch:8.1.2283: missed on use of p_sbr Problem: Missed on use of p_sbr. Solution: Add missing p_sbr change. https://github.com/vim/vim/commit/91e22eb6e09ec384496fccde812072033fd9e616 Already ported in commit 43a874a.
* vim-patch:8.2.3399: Octave files are not recognized (#15622)Christian Clason2021-09-10
| | | | | Problem: Octave files are not recognized. Solution: Detect Octave files. (Doug Kearns) https://github.com/vim/vim/commit/deba5eb195d6ac70171d4973091fa884809fa3fa
* Merge pull request #15618 from jamessan/test-timeout-configJames McCoy2021-09-10
|\ | | | | test: use $TEST_TIMEOUT to specify timeout
| * test: use $TEST_TIMEOUT to specify timeoutJames McCoy2021-09-09
| |
* | vim-patch:4d8f476176ea (#15612)Christian Clason2021-09-10
| | | | | | | | | | | | | | | | | | | | * vim-patch:4d8f476176ea Update runtime files https://github.com/vim/vim/commit/4d8f476176eadfc745bcb8e143460029048f858d skip nsis/README.txt skip doc/vim9.txt skip src/nvim/po/it.po
* | docs(gen_vimdoc.py): ignore health.lua files #15614Gregory Anders2021-09-09
| |
* | vim-patch:partial 2346a6378483 (#15599)Christian Clason2021-09-09
| | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/2346a6378483c9871016f9fc821ec5cbea638f13 omit doc/vim.man omit doc/vim9.txt omit doc/vimdiff.txt omit doc/vimdiff.man skip doc/eval.txt (missing patch 8.2.2324) skip doc/help.txt (missing patch 8.2.2344)
* | Merge pull request #15566 from bfredl/mpackBjörn Linse2021-09-09
|\ \ | | | | | | libs: vendor libmpack and libmpack-lua
| * | fix(ci): don't enrage the CI Gods by calling a file 'core.*'Björn Linse2021-09-09
| | |
| * | feat(lua): make vim.mpack support vim.NIL and vim.empty_dict()Björn Linse2021-09-09
| | |
| * | feat(lua): add vim.mpack for msgpack support in luaBjörn Linse2021-09-09
| | |
| * | fix(build): make vendored libmpack and libmpack-lua build properlyBjörn Linse2021-09-09
| | |
| * | build: vendor libmpack/libmpack-lua sources from ↵Björn Linse2021-09-09
| | | | | | | | | | | | b593809d93b5299bbee4e1d18e2e2d55f9fa53a6
| * | build: vendor libmpack source from libmpack/libmpack ↵Björn Linse2021-09-09
| | | | | | | | | | | | 22b1fd90285117c995728511f9525d29520a8c82
* | | test(busted): disable colors in test-runner output #15610Justin M. Keyes2021-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem ------- Because test/busted/outputHandlers/nvim.lua doesn't know if it's running in a terminal (no "isatty" equivalent), it outputs color codes in CI logs and local tooling that runs the tests in a pipe: [1m[ SKIPPED ]  This is just noise, hard for humans to read. Solution -------- Disable the color codes. If we later find a clever way to detect a terminal in nvim.lua, we might consider re-enabling colors, but that would still affect the CI build logs...
* | | Merge pull request #15091 from yatli/mouse_drag_fixBjörn Linse2021-09-09
|\ \ \ | |/ / |/| | fix #15075 (mouse crash in multigrid)
| * | fix(multigrid): #15075 mouse events crash neovimYatao Li2021-09-08
| | |
* | | Merge #15460 feat(lua)!: register_keystroke_callback => on_keyJustin M. Keyes2021-09-09
|\ \ \ | |_|/ |/| |
| * | docs: naming conventionsJustin M. Keyes2021-09-09
| | |
| * | feat(lua)!: register_keystroke_callback => on_keyJustin M. Keyes2021-09-09
|/ / | | | | | | | | | | | | | | | | Analogous to nodejs's `on('data', …)` interface, here on_key is the "add listener" interface. ref 3ccdbc570d85 #12536 BREAKING_CHANGE: vim.register_keystroke_callback() is now an error.
* | fix(doc): various fixes #15604Sean Dewar2021-09-09
| | | | | | | | | | | | | | | | | | In particular: - jobwait: omitting {timeout} arg is the same as -1. - sockconnect: omitting {opts} arg is the same as {}. - jobsend: obsoleted by chansend; don't mention it in job_control.txt. - menu_get: add to |functions| table. [skip ci]
* | Merge pull request #15602 from clason/vim-8.2.3390Christian Clason2021-09-09
|\ \ | | | | | | | | | | | | | | | vim-patch:8.2.3390: included xdiff code is outdated build: move src/nvim/xdiff to src/xdiff
| * | build: move src/nvim/xdiff to src/xdiffChristian Clason2021-09-08
| | | | | | | | | | | | Closes #11239
| * | vim-patch:8.2.3390: included xdiff code is outdatedChristian Clason2021-09-08
| | | | | | | | | | | | | | | | | | Problem: Included xdiff code is outdated. Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes vim/vim#8431) https://github.com/vim/vim/commit/ba02e4720f863fdb456e7023520f0a354eec0dcf
* | | feat(lsp): support textDocument/prepareRename (#15514)Zi How Poh2021-09-08
|/ /
* | fix(termdebug): replace term_getline with getbufline #15598Christian Clason2021-09-08
| | | | | | | | Correct incomplete runtime file port in https://github.com/neovim/neovim/commit/79cbbd5179d816a64989243cb1ce85b802a2896f
* | vim-patch:d2ea7cf10a4d #15571Christian Clason2021-09-08
| | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/d2ea7cf10a4d026ebd402594d656af7d5c811c24 omit `runtime/doc/if_tcl.txt` omit `runtime/doc/textprop.txt` omit `runtime/tutor/*` omit `runtime/syntax/vim.vim` (cherry-picked in https://github.com/neovim/neovim/commit/2dd7828511d04a8b7f1ac4331c719a751a5db869) manual merge of `runtime/pack/dist/opt/termdebug/plugin/termdebug.vim`
* | test: timeout at 20 minutes #15597Justin M. Keyes2021-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set a maximum test run-time of 20 minutes to: - fail faster - avoid wasting CI resources - set a bound on the test time (if tests take longer than 20 minutes we need to invest in parallelizing them...) Timeout looks like: -- Tests exited non-zero: Process terminated due to timeout -- No output to stderr. CMake Error at /…/neovim/cmake/RunTests.cmake:86 (message): functional tests failed with error: Process terminated due to timeout
* | chore(lsp): fix formatting in vim.lsp.log (#15596)Michael Lingelbach2021-09-07
| |
* | Merge pull request #15595 from mjlbach/feat/add-healthcheck-lspMichael Lingelbach2021-09-07
|\ \ | | | | | | | | | | | | * feat(lsp): add lsp healthcheck * feat(lsp): add warning message for large log size
| * | feat(lsp): add warning message for large log sizeMichael Lingelbach2021-09-07
| | |
| * | feat(lsp): add lsp healthcheckMichael Lingelbach2021-09-07
|/ / | | | | | | | | Add healthcheck for language server client, currently only checks logging status.
* | Merge pull request #15575 from dundargoc/refactor/uncrustifyBjörn Linse2021-09-07
|\ \ | |/ |/| refactor: format files with uncrustify
| * refactor: format files with uncrustifyDundar Göc2021-09-07
|/
* fix(screen): missing search highlights when redrawing from timer #15380Jit2021-09-06
| | | | | | | * Revert "vim-patch:8.1.2294: cursor pos wrong with concealing and search causes a scroll" * Add a test which covers #13074 910bbc3cca796f7fa941e0f6176cd0061de0e01c while reverting the screen.c code changes from there. Fixes #14064
* fix(lsp): adapt codelens resolve to handler signature change (#15578)Mathias Fußenegger2021-09-06
| | | Follow up to https://github.com/neovim/neovim/pull/15504
* fix(lsp): update workspace/applyEdit handler signature (#15573)Jose Alvarez2021-09-05
|
* Merge pull request #15504 from mjlbach/feat/change-handler-signatureMichael Lingelbach2021-09-05
|\ | | | | feat(lsp)!: change handler signature
| * docs: regenerateMichael Lingelbach2021-09-05
| |
| * feat(lsp)!: change handler signatureMichael Lingelbach2021-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the handler signature was: function(err, method, params, client_id, bufnr, config) In order to better support external plugins that wish to extend the protocol, there is other information which would be advantageous to forward to the client, such as the original params of the request that generated the callback. In order to do this, we would need to break symmetry of the handlers, to add an additional "params" as the 7th argument. Instead, this PR changes the signature of the handlers to: function(err, result, ctx, config) where ctx (the context) includes params, client_id, and bufnr. This also leaves flexibility for future use-cases. BREAKING_CHANGE: changes the signature of the built-in client handlers, requiring updating handler calls
* | Merge pull request #15569 from bfredl/end_fillBjörn Linse2021-09-05
|\ \ | | | | | | refactor(screen): let win_line() always handle fillers after last line
| * | refactor(screen): let win_line() always handle fillers after last lineBjörn Linse2021-09-05
| | |
* | | build: fix fpclassify -Wfloat-conversion warning #15570Ben Noordhuis2021-09-05
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Work around a glibc bug where it truncates the argument to fpclassify() from double to float by implementing fpclassify() ourselves. Correctness test (Note that the FP_SUBNORMAL test depends on an atof() that knows how to parse subnormals. Glibc does, not sure about other libcs.): #include <math.h> #include <stdint.h> #include <string.h> int xfpclassify(double d) { uint64_t m; int e; memcpy(&m, &d, sizeof(m)); e = 0x7ff & (m >> 52); m = 0xfffffffffffffULL & m; switch (e) { default: return FP_NORMAL; case 0x000: return m ? FP_SUBNORMAL : FP_ZERO; case 0x7ff: return m ? FP_NAN : FP_INFINITE; } } #include <assert.h> #include <stdlib.h> int main(void) { assert(FP_ZERO == xfpclassify(atof("0.0"))); assert(FP_ZERO == xfpclassify(atof("-0.0"))); assert(FP_NORMAL == xfpclassify(atof("1.0"))); assert(FP_NORMAL == xfpclassify(atof("-1.0"))); assert(FP_INFINITE == xfpclassify(atof("inf"))); assert(FP_INFINITE == xfpclassify(atof("-inf"))); assert(FP_NAN == xfpclassify(atof("nan"))); assert(FP_NAN == xfpclassify(atof("-nan"))); assert(FP_SUBNORMAL == xfpclassify(atof("1.8011670033376514e-308"))); return 0; }
* | vim-patch:90df4b9 (#15494)Izhak Jakov2021-09-04
| | | | | | | | | | Add JSONC runtime files Co-authored-by: Izhak Jakov <izhakjakov>
* | Merge pull request #15563 from dundargoc/refactor/uncrustifyBjörn Linse2021-09-04
|\ \ | | | | | | refactor: update uncrustify config and format screen.c
| * | refactor: update uncrustify config and format screen.cDundar Göc2021-09-03
|/ / | | | | | | | | Also set new option cmt_trailing_single_line_c_to_cpp to true. It converts trailing, single-line c-comments (/**/) into cpp-comments (//).
* | fix(defaults): "syntax sync maxlines=1" on CmdwinEnter #15552Justin M. Keyes2021-09-02
| | | | | | | | | | | | | | I mistakenly suggested maxlines=&cmdwinheight, forgetting that it is calculated from topline, not cursor. maxlines=1 makes the most sense in cmdwin. ref #15401 622a36b1f1c652a8de433028bc4a03a1216db23f
* | feat(defaults): limit syntax cost on CmdwinEnter #15401Gregory Anders2021-09-02
| | | | | | | | | | | | | | | | | | Add a new default autocommand to limit syntax highlighting synchronization in the command window. This refactors the nvim_terminal autocommand out of main() and into a new init_default_autocmds() function, which is now part of the startup process and can be further extended with more default autocommands down the road. ref #6289 #6399
* | refactor(tests): use assert_alive() #15546Justin M. Keyes2021-09-01
| |
* | feat(api): nvim_get_chan_info: include "argv" for jobs #15537Justin M. Keyes2021-09-01
| | | | | | ref #15440