aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* | | feat(lsp): improve logging (#15636)Michael Lingelbach2021-09-15
|/ / | | | | | | | | | | | | * Simplify rpc encode/decode messages to rpc.send/rcp.receive * Make missing handlers message throw a warning * Clean up formatting style in log * Move all non-RPC loop messages to trace instead of debug * Add format func option to log to allow newlines in per log entry
* | docs: third-party licenses, TEST_COLORS, system() #15665Justin M. Keyes2021-09-14
| |
* | fix(lsp): correctly parse LSP snippets #15579hrsh7th2021-09-14
| | | | | | Fixes #15522
* | vim-patch:6c391a74fe90 (#15654)Christian Clason2021-09-13
| | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7 omit autoload/getscript.vim skip doc/eval.txt (needs 8.2.2468) skip doc/various.txt (needs 8.2.3400) (typofixes courtesy of @dundargoc)
* | vim-patch:89a9c159f23f #15641Christian Clason2021-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/89a9c159f23fb7b3e24e6d09068adfc24a73afcb Omit: nsis/lang/turkish.nsi pixmaps/gen-inline-pixbufs.sh doc/popup.txt doc/terminal.txt tutor/tutor* src/[g]vimtutor CONTRIBUTING.md Skip: doc/eval.txt (needs 8.1.2342) doc/testing.txt (needs 8.2.0299)
* | vim-patch:8.2.3432: octave/Matlab filetype detection does not work properly ↵Christian Clason2021-09-13
| | | | | | | | | | | | | | (#15652) Problem: Octave/Matlab filetype detection does not work properly. Solution: Update the patterns used for matching. (Doug Kearns) https://github.com/vim/vim/commit/ca0627df69c29508f6f797bef27a1f5fa9a447d3
* | doc(options): remove vim9script reference (#15645)Sean Dewar2021-09-12
| | | | | | [skip ci]
* | vim-patch:8.2.3368: not all Racket files are recognized (#15643)Christian Clason2021-09-12
| | | | | | | | | | Problem: Not all Racket files are recognized. Solution: Also recognize .rktl and .rktd files. (Doug Kearns) https://github.com/vim/vim/commit/9cd91a1e8816d727fbdbf0b3062288e15abc5f4d
* | vim-patch:8.2.3374: Pyret files are not recognized (#15642)Christian Clason2021-09-12
| | | | | | | | | | Problem: Pyret files are not recognized. Solution: Recognize .arr files as Pyret. (Doug Kearns) https://github.com/vim/vim/commit/eb05d05f8a049b32ba1b992074534ca4763e46b3
* | vim-patch:partial 6aa57295cfbe (#15633)Christian Clason2021-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vim-patch:partial 6aa57295cfbe Update runtime files https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404 omit doc/popup.txt omit plugin/manpager.vim partial skip runtime/doc/eval.txt (needs 8.2.{0258,0924,1544,2324,2468,2606}) skip ftplugin/julia.vim, indent/julia.vim, syntax/julia.vim (already ported in https://github.com/neovim/neovim/commit/65f32f0f195fbf7df2478f31cab345d00a6673a4) skip syntax/scala.vim (already ported in https://github.com/neovim/neovim/commit/a92e83ac14a0a674bc5b4b1d06d6b6c9d0d20a10)
* | Merge pull request #15550 from jasonccox/vim-8.2.3385Christian Clason2021-09-12
|\ \ | | | | | | vim-patch:8.2.3385,8.2.3393
| * | vim-patch:8.2.3385: escaping for fish shell does not work properlyJason Cox2021-09-02
| | | | | | | | | | | | | | | | | | Problem: Escaping for fish shell does not work properly. Solution: Insert a backslash before a backslash. (Jason Cox, closes vim/vim#8810) https://github.com/vim/vim/commit/6e82351130ddb8d13cf3748b47f07cae77886fc7
* | | Merge #14611 from seandewar/vim-8.1.1116Justin M. Keyes2021-09-11
|\ \ \ | | | | | | | | vim-patch:8.1.{1116,1188,1190,1355,1722,2035,2036,2038,2043},8.2.{0886,2309}
| * | | vim-patch:8.2.0886: cannot use octal numbers in scriptversion 4Sean Dewar2021-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use octal numbers in scriptversion 4. Solution: Add the "0o" notation. (Ken Takata, closes vim/vim#5304) https://github.com/vim/vim/commit/c17e66c5c0acd5038f1eb3d7b3049b64bb6ea30b :scriptversion is N/A. Cherry-pick latest str2nr() doc changes from v8.1.2035. Cherry-pick various mentions of the 0o prefix from: - v8.2.2324 - https://github.com/vim/vim/commit/2346a6378483c9871016f9fc821ec5cbea638f13 - https://github.com/vim/vim/commit/11e3c5ba820325b69cb56f70e13c21d7b8808d33 - https://github.com/vim/vim/commit/82be4849eed0b8fbee45bc8da99b685ec89af59a Patch used ascii_isbdigit() by mistake, which was fixed in v8.2.2309. Make STR2NR_OOCT work the same as STR2NR_OCT when forcing. In Vim, STR2NR_FORCE | STR2NR_OOCT isn't handled, and doesn't actually force anything. Rather than abort(), make it work as STR2NR_OCT. This means STR2NR_FORCE | STR2NR_OCT works the same as STR2NR_FORCE | STR2NR_OOCT and STR2NR_FORCE | STR2NR_OCT | STR2NR_OOCT.
| * | | vim-patch:8.1.2035: recognizing octal numbers is confusingSean Dewar2021-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Recognizing octal numbers is confusing. Solution: Introduce scriptversion 4: do not use octal and allow for single quote inside numbers. https://github.com/vim/vim/commit/60a8de28d11595f4df0419ece8afa7d6accc9fbd :scriptversion is N/A. Cherry-pick Test_readfile_binary() from v8.1.0742. Note that this patch was missing vim_str2nr() changes, and so fails the tests; this was fixed in v8.1.2036.
| * | | vim-patch:8.1.1116: cannot enforce a Vim script styleSean Dewar2021-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot enforce a Vim script style. Solution: Add the :scriptversion command. (closes vim/vim#3857) https://github.com/vim/vim/commit/558ca4ae55096f8763ab8515a304cda9c57f18a7 :scriptversion is N/A, but ":let ..=" is relevant. N/A patches for version.c vim-patch:8.1.1188: not all Vim variables require the v: prefix Problem: Not all Vim variables require the v: prefix. Solution: When scriptversion is 3 all Vim variables can only be used with the v: prefix. (Ken Takata, closes vim/vim#4274) https://github.com/vim/vim/commit/d2e716e6dfd50b605867c7c684373384c8edf707 vim-patch:8.1.1190: has('vimscript-3') does not work Problem: has('vimscript-3') does not work. Solution: Add "vimscript-3" to the list of features. https://github.com/vim/vim/commit/93a4879c2008bbd26aac072e7cdc65b3ce7c32a3 vim-patch:8.1.2038: has('vimscript-4') is always 0 Problem: has('vimscript-4') is always 0. Solution: Add "vimscript-4" to the feature table. (Naruhiko Nishino, closes vim/vim#4941) https://github.com/vim/vim/commit/af9143833865a2d8311e57313023271720442f90
* | | | vim-patch:partial 53f7fccc9413 (#15631)Christian Clason2021-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vim-patch:partial 53f7fccc9413 Update runtime files https://github.com/vim/vim/commit/53f7fccc9413c9f770694b56f40f242d383b2d5f omit macros/hanoi/hanoi.vim omit spell/tet/main.aap omit tools/shtags.1 omit tools/xcmdsrv_client.c skip doc/pattern.txt (requires 8.2.3110; 8.2.{1665,1872}) skip doc/map.txt (requires 8.2.3228)
* | | | Merge pull request #15619 from clason/vim-90df4b9d4234Christian Clason2021-09-11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | vim-patch:90df4b9d4234 chore(vim-patch): add doc/vim9.txt to unwanted files
| * | | | vim-patch:90df4b9d4234Christian Clason2021-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/90df4b9d423485f7db16e3a65cab4f14edc815ae omit .github/CODEOWNERS omit doc/vim9.txt omit po/it.po skip ftplugin/jsonc.vim skip indent/jsonc.vim skip syntax/jsonc.vim (already ported in https://github.com/neovim/neovim/commit/dce50312e1e9af81fb0e3b61d6e70bdf286fbffb) partial skip doc/eval.txt (needs 8.1.{2304,2321})
* | | | | docs: extmarks indexing #15311Justin M. Keyes2021-09-10
| | | | | | | | | | | | | | | | | | | | ref #11456
* | | | | docs: extmarks indexing #15311Javier López2021-09-10
| | | | | | | | | | | | | | | | | | | | fix #11456
* | | | | docs: extmark indexing #12742Patrice Peterson2021-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extmarks mostly use api-indexing, except for nvim_buf_get_extmarks(), which uses api-indexing with inclusive ranges. ref #11456
* | | | | vim-patch:8.2.3389: cannot stop insert mode completion without side effects ↵zeertzjq2021-09-10
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | #15538 Problem: Cannot stop insert mode completion without side effects. Solution: Add CTRL-X CTRL-Z. (closes vim/vim#8821) https://github.com/vim/vim/commit/dca29d9cf46cd1d4d4519211c7af78b6b1c56960
* | | | Merge #15626 vim-patch:8.1.{2281,2283},8.2.{2903,3391,3397}Justin M. Keyes2021-09-10
|\ \ \ \
| * | | | 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.
* | | | docs: clarify :runtime START, OPT behavior #15342Gregory Anders2021-09-10
| | | | | | | | | | | | | | | | | | | | By default, the :runtime command searches "pack/*/start" in 'packpath' along with 'runtimepath'. Update the documentation to reflect this behavior.
* | | | docs #15625Justin M. Keyes2021-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #12261 fix #15536 fix #15623 fix #15572 ref #14244 ref #15034 close #15555 close #14957
* | | | docs(terminal): clarify CTRL-\ behavior #15171zeertzjq2021-09-10
| | | |
* | | | perf(lua): optimize vim.deep_equal #15236Javier Lopez2021-09-10
|/ / / | | | | | | | | | By remembering the keys already compared in repeating a comparison is avoided. Thanks: https://stackoverflow.com/a/32660766
* / / 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
* | 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)
* | feat(lua): make vim.mpack support vim.NIL and vim.empty_dict()Björn Linse2021-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]
* | 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`
* | chore(lsp): fix formatting in vim.lsp.log (#15596)Michael Lingelbach2021-09-07
| |
* | 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.
* | 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
* | | vim-patch:90df4b9 (#15494)Izhak Jakov2021-09-04
| | | | | | | | | | | | | | | Add JSONC runtime files Co-authored-by: Izhak Jakov <izhakjakov>
* | | 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