aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.1.1264: crash when closing window from WinBar clickJan Edmund Lazo2020-04-26
| | | | | | Problem: Crash when closing window from WinBar click. (Ben Jackson) Solution: Check that window pointer is still valid. (closes vim/vim#4337) https://github.com/vim/vim/commit/d2fad67e3eb71f48d23f283ef8e7b7ddf4ee180f
* vim-patch:8.0.1139: using window toolbar changes stateJan Edmund Lazo2020-04-26
| | | | | | Problem: Using window toolbar changes state. Solution: Always execute window toolbar actions in Normal mode. https://github.com/vim/vim/commit/a21a6a9ade7bec3a07992d4d900d4ce82eeb8a29
* vim-patch:8.0.1334: splitting a window with a WinBar damages window layoutJan Edmund Lazo2020-04-26
| | | | | | | | Problem: Splitting a window with a WinBar damages window layout. (Lifepillar) Solution: Take the winbar into account when computing the new window position. Add WINBAR_HEIGHT(). https://github.com/vim/vim/commit/3167c3e7010ac7e2fd7d3aa198dd2d1dcff8ecc8
* vim-patch:8.0.1292: quick clicks in the WinBar start Visual modeJan Edmund Lazo2020-04-26
| | | | | | Problem: Quick clicks in the WinBar start Visual mode. Solution: Use a double click in the WinBar like a normal click. https://github.com/vim/vim/commit/d327b0c68fa9b32877123f77560f4521a9eb39db
* vim-patch:8.0.1138: click in window toolbar starts Visual modeJan Edmund Lazo2020-04-26
| | | | | | Problem: Click in window toolbar starts Visual mode. Solution: Add the MOUSE_WINBAR flag. https://github.com/vim/vim/commit/eb163d73b11c10b461a2839530173a33d7915a33
* vim-patch:8.0.1142: window toolbar menu gets a tear-off itemJan Edmund Lazo2020-04-26
| | | | | | Problem: Window toolbar menu gets a tear-off item. Solution: Recognize the window toolbar. https://github.com/vim/vim/commit/378daf87d380b9f3c4f822786dfbfdcad9ca2db9
* vim-patch:8.0.1125: wrong window height when splitting window with window ↵Jan Edmund Lazo2020-04-26
| | | | | | | | toolbar Problem: Wrong window height when splitting window with window toolbar. Solution: Add or subtract the window toolbar height. https://github.com/vim/vim/commit/d326ad6e93604222c64bae51f47521fe9114d1ea
* vim-patch:8.0.1123: cannot define a toolbar for a windowJan Edmund Lazo2020-04-26
| | | | | | | | | | Problem: Cannot define a toolbar for a window. Solution: Add a window-local toolbar. https://github.com/vim/vim/commit/1b9645de3c05f37b5c30e78f999351b0cf486ade "WinBar" code in "screen.c" was not ported. Fix https://github.com/neovim/neovim/issues/11513#issuecomment-562012827
* LSP: don't redefine LspDiagnostics signs #12164jakbyte2020-04-26
| | | fix #12162
* LSP: Fix show_line_diagnostics #12186Mathias Fußenegger2020-04-26
| | | Messed this up in ef0398fe88e6cc74f33fb20519997774168d7832
* lint: use docstring style #12187Billy SU2020-04-26
|
* LSP: Add a check for null version in VersionedTextDocumentIdentifier (#12185)Chris Kipp2020-04-26
| | | | | | | | | According to the spec there is the possibility that when a VersionedTextDocumentIdentifier is used in a TextEdit the value may be null. Currently we don't check for this and always assume that it's set. So currently if a TextEdit comes in for a rename for example with the version null, it fails as we are comparing the bufnumber with nil. https://microsoft.github.io/language-server-protocol/specification#versionedTextDocumentIdentifier
* tui: improve support for GNU Screen (#12098)erw72020-04-26
| | | | | | | | Wrapping it in DCS allows the following features to work with GNU Screen. - Changing the cursor style. - bracketed paste. - focus reporting.
* Merge #12177 'folds: decrease reliance on globals'Justin M. Keyes2020-04-26
|\
| * helpers: fix FIXED_TEMP_ARRAYMatthieu Coudron2020-04-24
| | | | | | | | ...was using wrong macro argument.
| * lint: fix linting issuesMatthieu Coudron2020-04-24
| |
| * extmark: introduce extmark_splice_colsMatthieu Coudron2020-04-24
| | | | | | | | to ease up notations.
| * folds: decrease reliance on global 'curwin'Matthieu Coudron2020-04-24
| | | | | | | | | | | | TODO in a future commit: - remains 2 instances of changed_lines that dont take into account buffer
* | LSP: remove obsolete "peek definition" code #12178Thore Weilbier2020-04-25
| | | | | | | | | | | | The method with the name 'textDocument/peekDefinition' is not part of the official language server protocol specification. Therefore no language server can/will support this. Thereby all related code and documentation as been removed.
* | TUI: block signals on suspend #12180Kei Kamikawa2020-04-25
| | | | | | fix #8075
* | Merge #12181 from janlazo/vim-8.2.0635Justin M. Keyes2020-04-25
|\ \ | | | | | | vim-patch:8.2.{635,638}
| * | vim-patch:8.2.0638: MS-Windows: messages test failsJan Edmund Lazo2020-04-25
| | | | | | | | | | | | | | | | | | Problem: MS-Windows: messages test fails. Solution: Clear environment variables. https://github.com/vim/vim/commit/47a1a8baf9c8eb22b24f667e57a1dab579999a74
| * | vim-patch:8.2.0635: when using 256 colors DarkYellow does not show expected ↵Jan Edmund Lazo2020-04-25
| | | | | | | | | | | | | | | | | | | | | | | | color Problem: When using 256 colors DarkYellow does not show expected color. Solution: Use color 3 instead of 130. (Romain Lafourcade, closes vim/vim#5985) https://github.com/vim/vim/commit/e93c968f520ee8d6bc29ccc6e18055ac65e832b3
* | | ci/travis: Enable ipv6 #12182Justin M. Keyes2020-04-25
|/ / | | | | | | | | | | | | | | ref: a39c8b7ce30ddeed4329c28c42b1b699103dccab ref: https://github.com/vim/vim/commit/bfe13ccc58ccb96f243a58309800410db1ccb52c Also: - Remove unused macos_rvm_dance() function. (It was there for reference, but we have since resolved (or gave up) on Travis + macOS + ruby.
* | LSP: Expose diagnostics grouped by bufnr (#11932)Mathias Fußenegger2020-04-25
| | | | | | | | | | | | | | | | | | Expose `vim.lsp.buf.diagnostics_by_buf` This makes it easier to customize the diagnostics behavior. For example to defer the update they can override the `textDocument/publishDiagnostics` callback to only call `buf_diagnostics_save_positions` and then defer the other actions to a autocmd event.
* | lsp: remove buffer version on buffer_detach (#12029)Hirokazu Hata2020-04-25
| | | | | | | | When we save the buffer, the buffer is detached and attached again. So the client also needs to remove the buffer version once.
* | version.c: update [ci skip] (#12084)Marvim the Paranoid Android2020-04-24
|/
* lsp: callback for references now opens qf (#12171)Thore Weilbier2020-04-23
| | | | | | | | In contrast to other callbacks for LSP requests like `textDocument/documentSymbols`, does the one for references not open the quickfix window after the quickfix list was filled. This left the user in a situation he don't know what or if something had happen. Related to: neovim/neovim#12170
* treesitter: check for integer overflow (#12135)Thomas Vigouroux2020-04-22
| | | | | | | Sometimes treesitter calls for an invalid column within a line, checking that the column is actually valid and forcing the value avoids an integer overflow and an infinite sequence of invalid reads. Fixes #12131
* Merge pull request #12081 from xylix/bash-version-checkJames McCoy2020-04-21
|\
| * Apply suggestions from code reviewKerkko Pelttari2020-04-07
| | | | | | | | | | | | Improve error message for unsupported bash version, use double square bracket operator Co-Authored-By: Daniel Hahler <github@thequod.de>
| * Check for bash version in vim-patch.shKerkko Pelttari2020-04-06
| |
* | terminal: Fix mouse coordinates issue (#12158)erw72020-04-21
| | | | | | | | | | | | Offsets of window were not taken into account when sending mouse coordinates to the terminal. Therefore, when nu or rnu is set, the mouse coordinates sent to the terminal were not correct. Change it to send the correct coordinates by subtract window offset from col.
* | lsp: do not assert even if the code does not exist in ErrorCodes (#11981)Hirokazu Hata2020-04-21
| | | | | | | | | | | | | | | | There is ErrorCodes in the LSP specification, but in ResponseError.code it is not used and the actual type is number. Some language servers response original error cods and this is valid spec. So we shouldn't assert even if the code does not exist in ErrorCodes. ref: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#responseMessage
* | lsp: textDocument/definition can return Location or Location[] (#12014)Khangal2020-04-21
| | | | | | | | | | * https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition Co-authored-by: Khangal Jargalsaikhan <khangal.j@irbis.sg>
* | doc: fix vim.lsp.stop_all_clients doc (#12055)Hirokazu Hata2020-04-21
| |
* | Merge pull request #12108 from mcepl/luv-1.18.0-compatJames McCoy2020-04-21
|\ \
| * | Test on actual libuv version number, not on existence of symbol.Matěj Cepl2020-04-21
| | | | | | | | | | | | | | | | | | uv_stream_get_write_queue_size isn't a define, it's a function. It seems like this would always be shadowing the actual function name.
| * | Make neovim building even with libuv 1.18.0Matěj Cepl2020-04-21
|/ / | | | | | | (found for example on openSUSE/Leap 15.*)
* | Merge pull request #11989 from Weypare/textEditMatthieu Coudron2020-04-20
|\ \ | | | | | | LSP/completion: add textEdit support
| * | test: add docs for get_completion_word testAndrey Avramenko2020-04-20
| | |
| * | test: add get_completion_word test for text_doc...Andrey Avramenko2020-04-20
| | | | | | | | | | | | ...ument_completion_list_to_complete_items
| * | LSP/completion: Add completion text helper functionAndrey Avramenko2020-04-20
| | |
| * | LSP/completion: add textEdit supportAndrey Avramenko2020-03-06
| | | | | | | | | | | | | | | According to lsp specification, value of insertText should be ignored if textEdit is provided.
* | | tui: Don't call uv_write without output (#12146)erw72020-04-20
| | | | | | | | | Fixes #11653, #11990. Check for cursor visibility to toggle uv_write call.
* | | lsp: export convert_signature_help_to_markdown_lines (#11950)Hirokazu Hata2020-04-19
| | | | | | | | | This function is also useful for users to create their own `textDocument/signatureHelp` callback function.
* | | Merge pull request #12047 from erw7/fix-resolve-on-windowsMatthieu Coudron2020-04-19
|\ \ \ | | | | | | | | | | | | Change resolve() to resolve symbolic links on Windows Neovim worked the same way as vim for shortcuts, but didn't handle symbolic links and junction cases. This PR implements the same behavior for symbolic links and junctions as for vim.
| * | | Change to canonicalize only when reparse point in includederw72020-04-02
| | | |
| * | | Change resolve() to resolve symbolic links on Windowserw72020-04-02
| | | |
* | | | lua: allow deepcopy of functions (#12136)Tristan Konolige2020-04-19
| | | |