aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* backport: fix(lsp): restore diagnostics extmarks that were moved to the last ↵Folke Lemaitre2021-09-16
| | | | edit line (#15023)
* ci: skip "cancels stale events on channel close" #15278Justin M. Keyes2021-09-14
| | | | | - ref #14083 #15251 - also: docs: naming conventions
* feat(lua)!: register_keystroke_callback => on_keyJustin M. Keyes2021-09-14
| | | | | | | | | 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(lsp): correctly parse LSP snippets #15579hrsh7th2021-09-14
| | | | Fixes #15522
* backport: fixup(clipboard): Fix error not properly handled #14984Shadman2021-09-14
| | | | fixes #14967
* backport: fix(lsp): restore diagnostics extmarks on buffer changes (#15011)Folke Lemaitre2021-09-14
|
* backport: fix(lsp): prevent double <text> for cached plaintext markupFolke Lemaitre2021-09-14
|
* backport: fix(vim.opt): vimL map string values not trimmed (#14982)jadedpasta2021-09-14
| | | | | | | | | | Options formatted as a list of comma-separated key-value pairs may have values that contain leading and trailing whitespace characters. For example, the `listchars` option has a default value of `"tab:> ,trail:-,nbsp:+"`. When converting this value to a lua table, leading and trailing whitespace should not be trimmed. Co-authored-by: Robert Hrusecky <robert.hrusecky@utexas.edu>
* backport: fixup(clipboard): Use case matching #14962Shadman2021-09-14
| | | | Context: https://github.com/neovim/neovim/pull/14848#discussion_r663203173
* feat(job): add parameter to close stdinGregory Anders2021-08-26
| | | | | | | | | | | | | | | | Some programs behave differently when they detect that stdin is being piped. This can be problematic when these programs are used with the job control API where stdin is attached, but not typically used. It is possible to run the job using a PTY which circumvents this problem, but that includes a lot of overhead when simply closing the stdin pipe would suffice. To enable this behavior, add a new parameter to the jobstart options dict called "stdin" with two valid values: "pipe" (the default) implements the existing behavior of opening a channel for stdin and "null" which disconnects stdin (or, if you prefer, connects it to /dev/null). This is extensible so that other modes can be added in the future.
* fix(man.vim): filetype=man is too eager #15489Justin M. Keyes2021-08-26
| | | | | | | | | | | | | | | Problem: "set filetype=man" assumes the user wants :Man features, this does extra stuff like renaming the buffer as "man://". Solution: - old entrypoint was ":set filetype=man", but this is too presumptuous #15487 - make the entrypoints more explicit: 1. when the ":Man" command is run 2. when a "man://" buffer is opened - remove the tricky b:man_sect checks in ftplugin/man.vim and syntax/man.vim - MANPAGER is supported via ":Man!", as documented. fixes #15487
* fix: add 0.5.0 release to appdataJames McCoy2021-08-21
| | | | [skip ci]
* doc(options): Fix recommended PowerShell config (#14349)Dimitri Tcaciuc2021-07-02
| | | | | | | | | | | Ensure that * Shell uses UTF8 input/output mode * Stderr output is captured, in UTF8 * Program exit codes are correctly captured Update functional test harness and add tests for :make command. Closes #13713
* runtime/vim: d2ea7cf10a4d026ebd402594d656af7d5c811c24 (#14950)Christian Clason2021-07-01
| | | Port vim syntax file only.
* BugFix(clipboard): Fix block paste not working properlyshadmansaleh2021-07-01
| | | | | | | | | | | Block copy and paste from system-clipboard currently breaks formatting. This fixes it. The bug occurs because system-clipboard doesn't contain information about what mode the copy was made. Simple solution to this is we keep a cache of copy we last made along with mode information. If system-clipboard returns the cache we apply the mode information that we know about that cache.
* fix(vim.opt): Fix #14828 with empty values being incorrectly insertedTJ DeVries2021-06-29
|
* fix(vim.opt): Fix #14668 Now correctly handles unescaped commas in isfname styleTJ DeVries2021-06-29
|
* fix(vim.opt): Fix #14669 whichwrap now acts as expectedTJ DeVries2021-06-29
|
* fix(vim.opt): Add basic error handlingDavid Zhang2021-06-29
|
* fix(vim.opt): Get window options before setting.ckipp012021-06-29
| | | | | | | This closes #14677, but I also am a little unsure if there are times where this may not be correct. However, this just changes the behavior that even if `was_set` was false, we still get for `nvim_win_get_option`.
* fix(vim.opt): #14708 Now lets you put duplicate values in wildmodeTJ DeVries2021-06-29
|
* fix(doc/api): Remove 'border' as unsupported (#14916)Daniel Steinberg2021-06-28
| | | PR #13998 added support for floating window borders.
* fix(doc): remove reference to vim.lsp.callbacks (#14576)Matthieu Coudron2021-06-28
| | | | too old now, can be confusing
* [RDY] Add buffer information to tabline_update (#12481)John Gehrig2021-06-27
| | | | | | | | | | * Add buffer information to tabline_update Most terminal implementations of the tabline display buffer and tab information. Many neovim-qt users disable GuiTabline because it lacks functionality provided in the terminal implementation. The tabline_update event should include buffer information too, so client GUIs can display rich useful tabs.
* Fixed +1 -1 in util.lua (#14913)jimman20032021-06-26
| | | No point in adding and then subtracting I believe ;)
* vim-patch:8.2.2954: short file name extension for Scala not recognizedJan Edmund Lazo2021-06-26
| | | | | | Problem: Short file name extension for Scala not recognized. Solution: Recognize *.sc. (closes vim/vim#8337) https://github.com/vim/vim/commit/6db7b6375a3ea3afef5295b1366896902012e640
* vim-patch:8.2.3049: JSON patch file not recognizedJan Edmund Lazo2021-06-26
| | | | | | Problem: JSON patch file not recognized. Solution: Recognize json-patch as json. (Kevin Locke, closes vim/vim#8450) https://github.com/vim/vim/commit/6582e230a0f6592287b1123c5fc3807d6fed997e
* vim-patch:8.2.3050: cannot recognize elixir filesJan Edmund Lazo2021-06-26
| | | | | | | Problem: Cannot recognize elixir files. Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria or Elixir. (Austin Gatlin, closes vim/vim#8401, closes vim/vim#8446) https://github.com/vim/vim/commit/f3caeb63d62c08b579e9b5f40b35e8bf64dde87a
* fix(doc/usr_41): don't mention 0o prefix for octs (#14906)Sean Dewar2021-06-25
| | | | | | v8.2.0886 isn't ported yet. Also remove mentions of Vim9 and legacy script for now. [skip ci]
* fix(lsp): render the last line in stylize_markdownFolke Lemaitre2021-06-25
|
* Merge pull request #14910 from folke/lsp_fences_docsMichael Lingelbach2021-06-25
|\ | | | | style(lsp): make get_markdown_fences private
| * style(lsp): make get_markdown_fences privateFolke Lemaitre2021-06-25
| |
* | Update busy_start/busy_stop ui events documentation (#14415)Ghjuvan Lacambre2021-06-25
|/ | | Closes #14386
* Merge pull request #14904 from mfussenegger/nil-message-callbacksMichael Lingelbach2021-06-25
|\ | | | | fix(lsp): Handle nil message_callbacks
| * fix(lsp): Handle nil message_callbacksMathias Fussenegger2021-06-25
| | | | | | | | | | | | | | | | | | | | The `onexit` handler could set `message_callbacks` to `nil` within the luv event loop while the mainloop runs a function that tries to access `message_callbacks`. This adds some checks to prevent errors in that case. Fixes https://github.com/neovim/neovim/issues/14863
* | Merge pull request #14617 from folke/fancy_markdown_fences_supportMichael Lingelbach2021-06-25
|\ \ | | | | | | feat(lsp): use `g:markdown_fenced_languages` in `vim.lsp.util.stylized_markdown`
| * | feat(lsp): use markdown_fenced_languages in stylized_markdownFolke Lemaitre2021-06-25
| |/
* | Merge pull request #14903 from mfussenegger/add-workspace-folderMichael Lingelbach2021-06-25
|\ \ | | | | | | fix(lsp): Set `dir` completion option for add_workspace_folder
| * | fix(lsp): Set `dir` completion option for add_workspace_folderMathias Fussenegger2021-06-25
| |/ | | | | | | | | Given that the input is pre-filled with a path, it should be possible to use dir completion.
* / fix(lsp): syntax improvements for lsp_markdownFolke Lemaitre2021-06-25
|/
* Merge pull request #14886 from janlazo/vim-8.1.1437Jan Edmund Lazo2021-06-24
|\ | | | | vim-patch:8.1.{1437,2391},8.2.{1255,2185,2294,3033,3034,3037,3038,3043}
| * vim-patch:8.2.1255: cannot use a lambda with quickfix functionsJan Edmund Lazo2021-06-23
| | | | | | | | | | | | Problem: Cannot use a lambda with quickfix functions. Solution: Add support for lambda. (Yegappan Lakshmanan, closes vim/vim#6499) https://github.com/vim/vim/commit/d43906d2e5969288f239df851f5ad7b1dc2c7251
* | fix(lsp): do not convert vim.NIL to nil in listsAkin Sowemimo2021-06-24
|/
* docs(starting): mention init.lua in paths and remove repetition (#14883)smolck2021-06-23
|
* fix(lsp): handlers should focus quickfix listMichael Lingelbach2021-06-21
|
* Merge pull request #14849 from seandewar/demethod-curwinJan Edmund Lazo2021-06-19
|\ | | | | fix(doc): various fixes
| * fix(doc/index.txt): various ex command fixesSean Dewar2021-06-19
| | | | | | | | | | | | | | | | Add :eval and :checkhealth (:eval was also missing upstream). Fix :perlfile typo, add abbreviations for :perl, :perlfile and :perldo. Remove :scriptversion; it hasn't been ported yet (#14611). [skip ci]
| * fix(doc): :sleep! does not hide cursorSean Dewar2021-06-19
| | | | | | | | :sleep is the same as :sleep! in the port of v8.2.2366
| * fix(doc): remove :promptfind and :promptreplSean Dewar2021-06-19
| | | | | | | | :promptfind and :promptrepl are N/A for Nvim.
| * fix(doc): don't use method call syntax in examplesSean Dewar2021-06-19
| | | | | | | | The method call syntax patches aren't ported yet.