aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* | | | vim-patch:8.2.2236: 'scroll' option can change when setting the statuslineJan Edmund Lazo2021-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'scroll' option can change when setting the statusline or tabline but the option context is not updated. Solution: Update the script context when the scroll option is changed as a side effect. (Christian Brabandt, closes vim/vim#7533) https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
* | | | vim-patch:8.1.1901: the +insert_expand feature is not always availableJan Edmund Lazo2021-03-01
|/ / / | | | | | | | | | | | | | | | Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature. https://github.com/vim/vim/commit/e2c453d38f6512ac4cff7cd26aa7780b4e2534d7
* | | fix: show error when language server start fails and prevent future requestsDavid Zhang2021-02-26
| | |
* | | Merge pull request #14014 from mfussenegger/textDocumentSyncMichael Lingelbach2021-02-25
|\ \ \ | | | | | | | | LSP: Resolve text_document_save capability according to spec
| * | | LSP: Resolve text_document_save capability according to specMathias Fussenegger2021-02-25
| | | | | | | | | | | | | | | | | | | | Fixes https://github.com/neovim/neovim/issues/13989 See https://github.com/microsoft/language-server-protocol/issues/288
* | | | Merge pull request #14004 from erw7/fix-ficJan Edmund Lazo2021-02-25
|\ \ \ \ | |/ / / |/| | | option: fix problem with fileignorecase not being set properly
| * | | eval: add fname_case to feature listerw72021-02-25
| | | |
* | | | Update lsp and api docs with gen_vimdoc changesMathias Fussenegger2021-02-24
| | | | | | | | | | | | | | | | | | | | Applies the changes generated with ./scripts/gen_vimdoc.py to add missing documentation.
* | | | [LSP] Add in more docs for highlight groups with document_highlight() (#13614)Chris Kipp2021-02-24
|/ / / | | | | | | | | | | | | | | | Currently it's not 100% clear that without setting these, using the autocomds to utilize the `textDocument/documentHighlight` functionality, nothing will actually be visible since the highlight groups don't have any details. This just adds in a couple simple extra notes to make sure that's done
* | | fix: treesitter languagetree crash when using telescope buffer previewer ↵Simon Hauser2021-02-23
| | | | | | | | | | | | (#13986)
* | | vim-patch:8.2.2233: cannot convert a byte index into a character index (#13978)kuuote2021-02-22
| | | | | | | | | | | | | | | Problem: Cannot convert a byte index into a character index. Solution: Add charidx(). (Yegappan Lakshmanan, closes vim/vim#7561) https://github.com/vim/vim/commit/17793ef23aae0bc94539390ccfe5e63b0ad39ff2
* | | lsp: remove deprecated references to 'callbacks' (#13945)Matthieu Coudron2021-02-23
| | | | | | | | | | | | | | | vim.lsp.callbacks was deprecated a few months ago. This is a cleanup before the release. Use vim.lsp.handlers instead.
* | | feat(lsp): use vim.notify for some errors (#13992)Matthieu Coudron2021-02-22
| | |
* | | vim-patch:8.1.1310: named function arguments are never optionalerw72021-02-22
| | | | | | | | | | | | | | | | | | | | | Problem: Named function arguments are never optional. Solution: Support optional function arguments with a default value. (Andy Massimino, closes vim/vim#3952) https://github.com/vim/vim/commit/42ae78cfff171fbd7412306083fe200245d7a7a6
* | | vim-patch:8.2.2070: can't get the exit value in VimLeave(Pre) autocommands ↵Jan Edmund Lazo2021-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#13981) Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands. Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes vim/vim#7395) https://github.com/vim/vim/commit/f0068c5154a99b86b2c4515a4b93c003b2445cf4 Rearrange VimVarIndex enums and vimvars[] entries to sync with Vim. N/A patches for version.c: vim-patch:8.2.2535: MS-Windows: cannot run all vim9 tests Problem: MS-Windows: cannot run all vim9 tests. Solution: Make test_vim9 target work. https://github.com/vim/vim/commit/723ef5db980b2e69ef8bdc0dd448cb645491c464
* | | lsp: Fix text edits operating on the last line of a document (#13677)Mathias Fußenegger2021-02-19
| | | | | | | | | | | | | | | | | | `lines` can be empty, in which case `#lines[#lines]` failed with an error: lsp/util.lua:214: attempt to get length of a nil value
* | | lsp: client stop cleanups (#13877)Michael Lingelbach2021-02-19
| | | | | | | | | | | | | | | | | | | | | | | | * lsp: client stop cleanups * Add diagnostic clearing to client.stop() method used by nvim-lspconfig * Clear diagnostic cache to prevent stale diagnostics on client restart * lsp: Add test for vim.lsp.diagnostic.reset
* | | runtime/tar: 23515b4ef7580af8b9d3b964a558ab2007cacda5Jan Edmund Lazo2021-02-17
| | | | | | | | | | | | | | | | | | Port tar files only in order to support '*.tar.zst' files. Close https://github.com/neovim/neovim/pull/13337
* | | runtime/tar: 8024f936368336241406137a2fa78ed5ee9000a6Jan Edmund Lazo2021-02-17
| | | | | | | | | | | | Port tar runtime files only.
* | | runtime/tar: 2963456ff2b740244b3a064785fe681b1998d75eJan Edmund Lazo2021-02-17
| | | | | | | | | | | | Port tar files for release v31 only.
* | | vim-patch:8.2.2523: Svelte filetype not recognized (#13961)Brian Ryall2021-02-18
| | | | | | | | | | | | | | | Problem: Svelte filetype not recognized. Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7858) https://github.com/vim/vim/commit/c0fcb6e0b10050145e7d334b68b1bdc5201fed05
* | | vim-patch:8.2.2522: Beancount filetype not recognized (#13960)Brian Ryall2021-02-18
| | | | | | | | | | | | | | | Problem: Beancount filetype not recognized. Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7859) https://github.com/vim/vim/commit/9bbd883b3528b37dcacad22ad58861105a9ae428
* | | Merge pull request #13944 from chentau/on_bytes_docBjörn Linse2021-02-17
|\ \ \ | | | | | | | | Doc: update documentation for on_bytes
| * | | Doc: update documentation for on_byteschentau2021-02-17
| | | |
* | | | netrw: move netrw_home to XDA_DATA_HOME (#13939)Jakub Łuczyński2021-02-16
| | | |
* | | | doc: Update vim_diff.txt (#13954)Yegappan Lakshmanan2021-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update vim_diff.txt to reflect the following patches: patch 8.1.1113: making an autocommand trigger once is not so easy patch 8.2.2128: there is no way to do something on CTRL-Z patch 8.2.2508: cannot change the character displayed in non existing lines patch 8.2.2518: 'listchars' should be window-local
* | | | runtime/netrw: 207f009326c8f878defde0e594d7d9ed9860106eJan Edmund Lazo2021-02-16
| | | | | | | | | | | | | | | | Port runtime/doc/pi_netrw.txt only.
* | | | runtime/netrw: 8024f936368336241406137a2fa78ed5ee9000a6Jan Edmund Lazo2021-02-16
| | | | | | | | | | | | | | | | Port runtime/doc/pi_netrw.txt only.
* | | | runtime/netrw: 2963456ff2b740244b3a064785fe681b1998d75eJan Edmund Lazo2021-02-16
| | | | | | | | | | | | | | | | Port netrw files for release v168 only.
* | | | runtime/netrw: 469bdbde1e8ea8110705327ab193acca79296742Jan Edmund Lazo2021-02-15
| | | | | | | | | | | | | | | | Port runtime/doc/pi_netrw.txt only.
* | | | runtime/netrw: 2ed639abdc4000436115f378e28320b7bee38a6eJan Edmund Lazo2021-02-15
| | | | | | | | | | | | | | | | Port runtime/doc/pi_netrw.txt only.
* | | | runtime/netrw: 91359014b359cf816bf943fe2c7d492996263defJan Edmund Lazo2021-02-15
| | | | | | | | | | | | | | | | Port netrw files for release v167 only.
* | | | runtime/netrw: 09c6f265b21065ffa9437837b1d0955137175e45Jan Edmund Lazo2021-02-15
| | | | | | | | | | | | | | | | Port runtime/doc/pi_netrw.txt only.
* | | | runtime/netrw: 574ee7bc1246070dba598f9561a2776aa1a10d07Jan Edmund Lazo2021-02-15
| | | | | | | | | | | | | | | | Port runtime/doc/pi_netrw.txt only.
* | | | runtime/netrw: 5ef1c6a4838a9629b793f3ae676f72a764171b00Jan Edmund Lazo2021-02-15
|/ / / | | | | | | | | | Port netrw files only.
* | | vim-patch:8.2.0925: getcompletion() does not return command line argumentsJan Edmund Lazo2021-02-14
| | | | | | | | | | | | | | | | | | Problem: Getcompletion() does not return command line arguments. Solution: Add the "cmdline" option. (Shougo, closes vim/vim#1140) https://github.com/vim/vim/commit/1f1fd44ef796dd909ff5f3e5288b3fd79294dc71
* | | vim-patch:8.2.0054: :diffget and :diffput don't have good completionJan Edmund Lazo2021-02-13
| | | | | | | | | | | | | | | | | | Problem: :diffget and :diffput don't have good completion. Solution: Add proper completion. (Dominique Pelle, closes vim/vim#5409) https://github.com/vim/vim/commit/ae7dba896975051a3f0b7123faa08dac5635972d
* | | man.vim: `:Man` should not change global value of 'tagfunc' option (#13926)最上川2021-02-13
| | |
* | | vim-patch:8.2.1967: the session file does not restore the alternate fileSean Dewar2021-02-11
|/ / | | | | | | | | | | | | | | | | | | | | Problem: The session file does not restore the alternate file. Solution: Add ":balt". Works like ":badd" and also sets the buffer as the alternate file. Use it in the session file. (closes vim/vim#7269, closes vim/vim#6714) https://github.com/vim/vim/commit/59d8e56e048eb5d384649284fb35363931fc3697 Include minimal test_buffer.vim from patch 8.2.0243 for Test_balt(). Add entry for :balt to runtime/doc/index.txt from vim/vim#7819.
* | vim-patch:8.2.2490: 'wrap' option is always reset when starting diff modeJan Edmund Lazo2021-02-10
| | | | | | | | | | | | Problem: 'wrap' option is always reset when starting diff mode. Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes vim/vim#7797) https://github.com/vim/vim/commit/4223d43c0fb6ead1e611e4469a1680a9228b6015
* | buffer updates: add on_reload callback and handle it in treesitter parserBjörn Linse2021-02-10
| |
* | treesitter: propagate on_detach event properlyBjörn Linse2021-02-10
| |
* | Merge pull request #13843 from teto/notif_providerMatthieu Coudron2021-02-08
|\ \ | | | | | | [RDY] Notification provider
| * | feat: adds vim.notifyMatthieu Coudron2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds function to notify the user like this: `:lua vim.notify("hello user")` embeds log levels vim.log.levels. you can then reassign vim.notify to for instance ``` function notify_external(msg, log_level, opts) vim.fn.jobstart({"notify-send", msg }) end ```
* | | treesitter: small fixesSantos Gallegos2021-02-07
| | | | | | | | | | | | Mostly typos I found while reading the code.
* | | fix(pty): Always use $TERM from the job's env dictJames McCoy2021-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before #12937, the only way to specify the `$TERM` for a pty job was through the `TERM` key in the job's opts dict. This was shuttled to the child process throug a special field on the PtyProcess object and injected into the environment after forking. Now that we have a proper way to specify the environment for a job, we can simply ensure that the env dict has a proper `TERM` set and avoid the extra shuttling of data around. This deprecates the use of the `TERM` option, but will still honor it if present, although at a lower priority than a `TERM` present in the env dict. This also fixes #13874 because we're no longer trying to overwrite `TERM` in the env dict with the special pty `term_name`. Doing so raises an internal error because of the existing key which, under certain circumstances, would cause the "hit enter" prompt. However, since the child process had already forked, there was no way for the user to acknowledge the prompt and we would just hang there.
* | | Merge pull request #13701 from erw7/fix-checkhealtherw72021-02-06
|\ \ \ | | | | | | | | Fix checkhealth problems
| * | | checkhealth: fix terminfo problems on Windowserw72021-01-06
| | | | | | | | | | | | | | | | fixes #13415
| * | | checkhealth: fix problem where &shada is emptyerw72021-01-06
| | | | | | | | | | | | | | | | fixes #13700
* | | | Merge pull request #12080 from erw7/feature-bracketed-paste-on-termerw72021-02-06
|\ \ \ \ | | | | | | | | | | terminal: add bracketed pasting feature