aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* 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
| * | | Change default for tpf optionerw72021-02-04
| | | | | | | | | | | | | | | | | | | | Change the default of tpf to the same value as the default of xterm's disallowedPasteControls, because it may be a security risk.
| * | | Add termpastefilter optionerw72021-02-04
| | | | | | | | | | | | | | | | | | | | Change to specify a character to be filtered as an option when pasting on the terminal.
* | | | lsp: Fix pumvisible() check introduced in #12900 (#13866)runiq2021-02-04
|/ / / | | | | | | | | | | | | | | | | | | | | | `pumvisible()` returns a number, and numbers are always `true` in Lua, so the return value needs to be checked explicitly. Using https://github.com/neovim/neovim/pull/12900 as context, it appears the intention was to move into the `if` branch when the completion popup is not shown (i.e. `vim.fn.pumvisible() == 0`).
* | | runtime/zsh: 23515b4ef7580af8b9d3b964a558ab2007cacda5Saad Parwaiz2021-01-30
| | | | | | | | | | | | port zsh compiler only
* | | runtime/zsh: 23515b4ef7580af8b9d3b964a558ab2007cacda5Saad Parwaiz2021-01-30
| | | | | | | | | | | | port zsh ftplugin only.
* | | runtime/zsh: b17893aa940dc7d45421f875f5d90855880aad27Saad Parwaiz2021-01-30
| | | | | | | | | | | | port zsh ftplugin only
* | | runtime/zsh: 23515b4ef7580af8b9d3b964a558ab2007cacda5Saad Parwaiz2021-01-30
| | | | | | | | | | | | port zsh syntax file only
* | | runtime/zsh: b17893aa940dc7d45421f875f5d90855880aad27Saad Parwaiz2021-01-30
| | | | | | | | | | | | port zsh syntax file only
* | | runtime/zsh: 96f45c0b6fc9e9d404e6805593ed1e0e6795e470Saad Parwaiz2021-01-30
| |/ |/| | | | | Port zsh syntax file only
* | Merge pull request #13784 from runiq/get_extmark_by_id-limit_breakThomas Vigouroux2021-01-28
|\ \ | | | | | | doc: remove nvim_buf_get_extmark_by_id limit opt
| * | doc: remove nvim_buf_get_extmark_by_id limit optPatrice Peterson2021-01-18
| | | | | | | | | | | | Passing any key but `details` in the opts results in an error.
* | | Merge pull request #13820 from janlazo/vim-8.2.2392Jan Edmund Lazo2021-01-25
|\ \ \ | | | | | | | | vim-patch:8.2.{2392,2399,2402}
| * | | vim-patch:8.2.2402: some filetypes not detectedJan Edmund Lazo2021-01-24
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Some filetypes not detected. Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns) https://github.com/vim/vim/commit/8323cab31c3120a7f80cf3271a506a30ec04d99e
| * | | vim-patch:8.2.2392: fennel filetype not recognizedJan Edmund Lazo2021-01-24
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Fennel filetype not recognized. Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes vim/vim#7729) https://github.com/vim/vim/commit/402115f1c2b4d0704a822206f2e6e931e721c129
* | | | lsp: match textDocument/didChange eol behavior (#13792)Michael Lingelbach2021-01-25
|/ / / | | | | | | We should be consistent in sending the EOL character to servers(I think). Julia expects this to match on bufwrite, or it crashes when vim appends the newline during the write process.
* | | Merge pull request #13807 from spywhere/min-size-auto-signMatthieu Coudron2021-01-23
|\ \ \ | | | | | | | | Auto sign column with minimum size support
| * | | opt: update docs on signnumber (#13783)Sirisak Lueangsaksri2021-01-20
| | | |
* | | | Doc: Generate API docs for buf_set_extmark gravityPatrice Peterson2021-01-23
| | | | | | | | | | | | | | | | Cf. #13679
* | | | lsp: clear diagnostics on client shutdown (#13788)Michael Lingelbach2021-01-23
| | | |
* | | | vim-patch:8.2.2384: turtle filetype not recognizedJan Edmund Lazo2021-01-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Turtle filetype not recognized. Solution: Add a rule to detect turtle files. (closes vim/vim#7722) https://github.com/vim/vim/commit/5e6a7aa2b26077775906eb8411952dc6259694de
* | | | api: nvim_echonotomo2021-01-20
|/ / /
* | | fix(languagetree): use tree nodes instead of regions in containsSteven Sojka2021-01-20
| | |
* | | Merge pull request #13765 from jvgrootveld/ts-default-start-end-row-on-captureThomas Vigouroux2021-01-20
|\ \ \ | | | | | | | | treesitter: default start and end row when omitted
| * | | treesitter: Fix linter warning and add helper function to remove duplicated ↵“jvgrootveld”2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | logic This function returns the start and stop value if set else the node's range is used When the node's range is used, the stop is incremented by 1 to make the search inclusive
| * | | treesitter: default start and end row when omitted“jvgrootveld”2021-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for default start and end row when omitted in the query:iter_captures and query:iter_matches functions. When the start and end row values are omitted, the values of the given node is used. The end row value is incremented by 1 to include the node end row in the match. Updated tests and docs accordingly.
* | | | lsp: remove duplicate settings validation (#13789)Michael Lingelbach2021-01-18
| | | |
* | | | lsp: validate and document server settings (#13698)Michael Lingelbach2021-01-18
| | | | | | | | | | | | | | | | * update lua documentation * run docgen
* | | | LSP: Fix nil settings handling in workspace/configuration (#13708)Mathias Fußenegger2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `workspace/configuration` handler could fail with the following error if `config.settings` is nil: runtime/lua/vim/lsp/util.lua:1432: attempt to index local 'settings' (a nil value)" This ensures that `config.settings` is always initialized to an empty table.
* | | | Update nvim.appdata.xml to reflect version 0.4.4 (#13754)Maltimore2021-01-18
| |/ / |/| | | | | Set release date based on commit ee77d8665ffe327a2158354021bbbcb772b3521a
* | | LSP: Add in clientInfo to initalize_params. (#13757)Chris Kipp2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add in clienInfo to initalize_params. Some servers (like Metals in my case) will actually pull this info from the initalize_params and display it in the logs. I know from the server perspective it helps at times to have this available to pull from to have more details about the client and version. You can see that this is part of the spec here: microsoft.github.io/language-server-protocol/specification#initialize
* | | lsp: add client/registerCapability handler (#13780)Michael Lingelbach2021-01-18
| | | | | | | | | Until we support dynamicRegistration, we should handle the client/registerCapability in core. There are still some language servers that send this request despite dynamicRegistration not being registered client-side (we got an upstream fix for the node ones, but this depends on them bumping vscode-languageserver-node).
* | | api: add vim.version (#13762)Michael Lingelbach2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | retrun a structured version dict :lua print(vim.inspect(vim.version())) { api_compatible = 0, api_level = 7, api_prerelease = true, major = 0, minor = 5, patch = 0 }
* | | vim-patch:8.2.2366: when using ":sleep" the cursor is always displayedJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using ":sleep" the cursor is always displayed. Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, closes vim/vim#7688) https://github.com/vim/vim/commit/e2edc2ed4a9a229870b1e1811b0ecf045b84e429 Cursor showing/hiding is moved from core to TUI. ":sleep!" behaves the same as ":sleep".
* | | vim-patch:8.2.2353: spartql files are not detectedJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | Problem: Spartql files are not detected. Solution: Add the sparql filetype. (closes vim/vim#7679) https://github.com/vim/vim/commit/17d015b2438e51d4d42d72720611d16c772cc4bb
* | | log.c: warn instead of error on failed stdpath('cache') creationMichael Lingelbach2021-01-16
| | |