aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
| * | | vim-patch:8.2.0134: some map functionality not covered by testsJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Some map functionality not covered by tests. Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#5504) https://github.com/vim/vim/commit/8ba6bb7c94229f1e6f85ea5152ed8b4fbbbd9d20
| * | | vim-patch:8.2.0474: cannot use :write when using a plugin with BufWriteCmdJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use :write when using a plugin with BufWriteCmd. Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes vim/vim#5807) https://github.com/vim/vim/commit/0fff44152d06e6b662ad4bef172af07a041d2f3f
| * | | vim-patch:8.2.0464: typos and other small problemsJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Typos and other small problems. Solution: Fix the typos. Add missing file to distribution. https://github.com/vim/vim/commit/2d9d409ad4fab1ae7ceaecc0ef0e9b511d868374
| * | | vim-patch:8.2.0457: Test_quotestar() often fails when run under valgrindJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Test_quotestar() often fails when run under valgrind. Solution: Wait longer for the GUI to start. https://github.com/vim/vim/commit/26bde6e2eb307898ab7ed42bf8e7e2ccde979e02
| * | | vim-patch:8.1.1745: compiler warning for unused argumentJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Compiler warning for unused argument. Solution: Add UNUSED. Change comments to new style. https://github.com/vim/vim/commit/1f164b19685d8ad709b11f3f1933685469251e30
| * | | vim-patch:8.2.0415: bsdl filetype is not detectedJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Bsdl filetype is not detected. Solution: Add an entry in the filetype list. (Daniel Kho, closes vim/vim#5810) https://github.com/vim/vim/commit/40d235e7305ce6ff696e8301c62a41f1f07f8aca
| * | | vim-patch:8.2.0406: FileReadCmd event not well testedJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: FileReadCmd event not well tested. Solution: Add a test. https://github.com/vim/vim/commit/e32848780cc07c368ba2e088cdefdbb8c3b827c2
| * | | vim-patch:8.1.2282: crash when passing many arguments through a partialJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when passing many arguments through a partial. (Andy Massimino) Solution: Check the number of arguments. (closes vim/vim#5186) https://github.com/vim/vim/commit/4c054e9fb23027b55a09ee647a3a2c91936aeb1b
| * | | vim-patch:8.1.2280: crash when passing partial to substitute()Jan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when passing partial to substitute(). Solution: Take extra arguments into account. (closes vim/vim#5186) https://github.com/vim/vim/commit/b0745b221d284e381f1bd4b591cd68ea54b6a51d
| * | | vim-patch:8.2.0398: profile test fails when two functions take same timeJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Profile test fails when two functions take same time. Solution: Add a short sleep in once function. (closes vim/vim#5797) https://github.com/vim/vim/commit/a21df1db3ca619afdcb47931af042508a6bbc8e5
| * | | vim-patch:8.2.0397: delayed screen update when using undo from Insert modeJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Delayed screen update when using undo from Insert mode. Solution: Update w_topline and cursor shape before sleeping. (closes vim/vim#5790) https://github.com/vim/vim/commit/5715b3147bfc8ddfe905339f6fd224fd3a5a3ba1
| * | | vim-patch:8.2.0041: leaking memory when selecting spell suggestionJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Leaking memory when selecting spell suggestion. Solution: Free previous value at the right time. https://github.com/vim/vim/commit/6c52f8237199ea09abbecdc5b89847c5889c3de1
| * | | vim-patch:8.1.2147: crash when allocating memory failsJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when allocating memory fails. (Zu-Ming Jiang) Solution: Check that 'spellcapcheck' is not NULL. (closes vim/vim#5048) https://github.com/vim/vim/commit/53efb18530cc3940d7af2ea338947783ea5495ed
| * | | pvs/v502: use explicit ternary in for-loopJan Edmund Lazo2020-04-13
| | | |
| * | | vim-patch:8.2.0389: delayed redraw when shifting text from Insert modeJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Delayed redraw when shifting text from Insert mode. Solution: Use msg_attr_keep() instead of msg(). (closes vim/vim#5782) https://github.com/vim/vim/commit/e4fc746d13f5b6a0b5c3a8efdff7de1454c3297d
| * | | vim-patch:8.2.0387: error for possible NULL argument to qsort()Jan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Error for possible NULL argument to qsort(). Solution: Don't call qsort() when there is nothing to sort. (Dominique Pelle, closes vim/vim#5780) https://github.com/vim/vim/commit/bb65a5690c24ccfce37e210316bf1d0964c91359
| * | | pvs/v595: check if extmark not NULLJan Edmund Lazo2020-04-13
| | | |
| * | | pvs/v560: remove redundant line checkJan Edmund Lazo2020-04-13
| | | |
| * | | vim-patch:8.2.0381: using freed memory with :lvimgrep and autocommandJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory with :lvimgrep and autocommand. (extracted from POC by Dominique Pelle) Solution: Avoid deleting a dummy buffer used in a window. (closes vim/vim#5777) https://github.com/vim/vim/commit/2573af3519ad062ddad647b97e32090f106f2ac1