aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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: 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
| | | |
* | | | lsp: replace the event that closes the signature help preview window from ↵Hirokazu Hata2020-04-18
| | | | | | | | | | | | | | | | | | | | | | | | InsertCharPre to CursolMovedI (#11954) In the case of InsertCharPre, it is inconvenient because the signature help is displayed when backspaced in insert mode, so change it to CursolMovedI.
* | | | LSP: fix breakage when severity isn't specified (#12027)Ghjuvan Lacambre2020-04-18
| | | | | | | | | | | | | | | | | | | | | | | | Before this commit, the LSP client would throw errors when messages without severity would be sent by the server. We make severity default to `Error` as a kludge before proper heuristics to discover the severity of a message are found.
* | | | Merge pull request #12141 from vigoux/treesitter_fixMatthieu Coudron2020-04-18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | [RFC] Update treesitter runtime Get rid of our utf8proc dependency Note that we unconditionnally escape treesitter queries, might need to be revisited.
| * | | | treesitter: remove utf8proc dependencyThomas Vigouroux2020-04-18
| | | | |
| * | | | treesitter: escape backslashes in queriesThomas Vigouroux2020-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treesitter changed their decoders and apparently thus causing this change. This decoder change happened on ee9a3c0ebb218990cf391ed987be7f2448c54a73.
| * | | | treesitter: update vendor codeThomas Vigouroux2020-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | Update treesitter vendor code to commit 35f82ce301951315e08de3b7e44a18c9170b28b8
* | | | | Merge pull request #12145 from janlazo/vim-8.2.0584Matthieu Coudron2020-04-18
|\ \ \ \ \ | |/ / / / |/| | | | vim-patch:8.2.{584,589}
| * | | | vim-patch:8.2.0589: .bsd file type not recognizedJan Edmund Lazo2020-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: .bsd file type not recognized. Solution: Recognize .bsd as BSDL. (Daniel Kho, closes vim/vim#5945) https://github.com/vim/vim/commit/0fc1288aefce25da0a2fb2a0aab75b0bd314403f
| * | | | vim-patch:8.2.0584: viminfo file uses obsolete function file_readable()Jan Edmund Lazo2020-04-17
|/ / / / | | | | | | | | | | | | | | | | | | | | Problem: Viminfo file uses obsolete function file_readable(). Solution: Use filereadable(). (closes vim/vim#5934) https://github.com/vim/vim/commit/c5f33db888d14225e5a3851563c9a7fc0b5a5564
* | | | folds: decrease reliance on global "curwin" (#12132)Matthieu Coudron2020-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass the window in which to create/delete folds instead of using the global "curwin" (current window). Preliminary work for a fold API. TODO: I kept changed_lines prototype unchanged. This should be updated when a fold API sees the light.
* | | | doc:Fix incorrect nvim config paths in documentation (#12134)Micah Halter2020-04-16
| | | | | | | | | | | | Updates remaining ~/.vim with ~/.config/nvim
* | | | lsp: provide a default for missing reference kind (#12127)George Zhao2020-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #12122 >Error executing vim.schedule lua callback: /usr/local/share/nvim/runtime/lua/vim/lsp/util.lua:560: Expected lua string Some lsp server(e.g. https://github.com/bash-lsp/bash-language-server) not have kind in reference, reference["kind"] is nil
* | | | win,runtime: Fix problem when win32yank was a symbolic link in WSL [skip ci] ↵erw72020-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#12124) On some versions of Windows, WSL is unable to execute symbolic links to Windows executables (microsoft/WSL#3999). As a workaround for that problem this changes to use resolve() on WSL if win32yank was a symbolic link. fixes #12113.
* | | | Merge pull request #12005 from erw7/fix-screen-vsplitJames McCoy2020-04-15
|\ \ \ \ | | | | | | | | | | Closes #11998
| * | | | Fix screen terminal family issueserw72020-03-12
| | | | |
| * | | | Fix splitting issue on gnu screenerw72020-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | gnu screen does not have smglr, but it inherits smglr from xterm and splitting will cause drawing problems. So disable smglr.
* | | | | Merge pull request #12121 from janlazo/vim-8.2.0575James McCoy2020-04-15
|\ \ \ \ \
| * | | | | vim-patch:8.2.0575: :digraph! not testedJan Edmund Lazo2020-04-13
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :digraph! not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#5925) https://github.com/vim/vim/commit/e3242346cf1c2ff8b0315cb2cb98e731bfa952c0
* | | | | Suppress Microsoft copyright banner. (#12114)Doug Richardson2020-04-14
| | | | |
* | | | | Use libnvim as OUTPUT_NAME for libnvim (#12119)Doug Richardson2020-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | libnvim's OUTPUT_NAME was nvim, which caused the cmake Ninja generator to generate two build rules for the library, which produced a warning about incorrect builds.
* | | | | TUI: support setting cursor color in tmux (#12100)Thomas Churchman2020-04-14
| | | | |
* | | | | Merge pull request #11997 from janlazo/vim-8.1.2389Matthieu Coudron2020-04-13
|\ \ \ \ \ | | | | | | | | | | | | [RDY]vim-patch:8.1.{1745,2147,2280,2282,},8.2.{41,134,365,366,381,387,389,397,398,406,415,457,464,473,474,507,544,549}
| * | | | | vim-patch:8.2.0549: user systemd files not recognizedJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: User systemd files not recognized. Solution: Add filetype patterns. (Kevin Locke, closes vim/vim#5914) https://github.com/vim/vim/commit/3b922f11380c7dbf94ee45bc09d688b772d9707f
| * | | | | vim-patch:8.2.0544: memory leak in search testJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory leak in search test. Solution: Free msgbuf. (Dominique Pelle, closes vim/vim#5912) https://github.com/vim/vim/commit/880e4d9117ea990e66d867aefad0f73ba89bda82
| * | | | | vim-patch:8.2.0507: getbufvar() may get the wrong dictionaryJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Getbufvar() may get the wrong dictionary. (David le Blanc) Solution: Check for empty name. (closes vim/vim#5878) https://github.com/vim/vim/commit/5259275347667a90fb88d8ea74331f88ad68edfc
| * | | | | vim-patch:8.2.0473: variables declared in an outer scopeJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Variables declared in an outer scope. Solution: Decleare variables only in the scope where they are used. https://github.com/vim/vim/commit/8601545338581c01e328cdc3a72c0b12d92c54cf