aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | vim-patch:8.1.0917: double free when running out of memoryJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Double free when running out of memory. Solution: Remove one free. (Ken Takata, closes vim/vim#3955) https://github.com/vim/vim/commit/445e71c5ee06015064cf0642cac8190cfe8fbc59
| * | | | | vim-patch:8.2.0089: crash when running out of memory in :setfiletype completionJan Edmund Lazo2020-06-04
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when running out of memory in :setfiletype completion. Solution: Do not allocate memory. (Dominique Pelle, closes vim/vim#5438) https://github.com/vim/vim/commit/f0f8055102c264b1d0c0a79bf742dc126fb447b9
* | | | | Merge pull request #12411 from kuuote/fix-remote-plugin-commandMatthieu Coudron2020-06-06
|\ \ \ \ \ | |/ / / / |/| | | | runtime: fix remote plugin command fails at some case
| * | | | test: rewrite to multiple argumentskuuote2020-06-01
| | | | |
| * | | | runtime: fix remote plugin command fails at some casekuuote2020-05-31
| | | | | | | | | | | | | | | | | | | | fixes #12410
* | | | | lsp: do not process diagnostics for unloaded buffers (#12440)TJ DeVries2020-06-04
| | | | |
* | | | | lsp: compute height of floating preview correctly for wrapped lines (#12380)Christian Clason2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * take wrapping into account when computing float height * factor out size calculation * add test * accept and pass through opts.wrap_at in floating_preview * make padding configurable * slightly refactor fancy_floating_markdown to make use of make_position * padding using string.format * move trim and pad to separate function * nit Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com> * remove mention of backward compat * make lint happy Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
* | | | | lsp: Add check for `declaration` and `typeDefinition` support in vim lsp ↵Dheepak Krishnamurthy2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | server before making `request` (#12421) * Add check for typeDefinition support in vim lsp server * Check for typeDefinitionProvider in server * Check for declarationProvider in server * Add check for client support * Fix typo
* | | | | lua: fix behavior when split empty string (#12429)notomo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | * lua: fix behavior when split empty string * test: lsp.util.apply_text_edits with an empty edit
* | | | | build: match WSL2 kernel name (#12425)Luis Hagenauer2020-06-04
| | | | |
* | | | | Merge pull request #12343 from ndreas/fix/lsp-multibyte-indexingHirokazu Hata2020-06-04
|\ \ \ \ \ | | | | | | | | | | | | Fix LSP multibyte indexing
| * | | | | Add tests for jump_to_locationAndreas Johansson2020-05-19
| | | | | |
| * | | | | Use get_line_byte_from_position in jump_to_locationAndreas Johansson2020-05-19
| | | | | |
| * | | | | Refactor fetching the line byteAndreas Johansson2020-05-19
| | | | | | | | | | | | | | | | | | | | | | | | Takes the entire LSP position instead of line/col
* | | | | | Add v:event.visual during `TextYankPost` (#12382)Christian Clason2020-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * propagate visual selection to textyankpost event * adapt tests * add docs * also adapt oldtest
* | | | | | lua: fix infinite loop for vim.split on empty string (#12420)notomo2020-06-02
| |_|/ / / |/| | | |
* | | | | lua: add vim.highlight.range (#12401)Christian Clason2020-05-31
| | | | |
* | | | | vim-patch.sh: fix bash version-check message #12398Poh Zi How2020-05-31
| |/ / / |/| | |
* | | | vim-patch:8.2.0843: filetype elm not detected (#12403)Jan Edmund Lazo2020-05-30
| | | | | | | | | | | | | | | | | | | | Problem: Filetype elm not detected. Solution: Recognize *.elm files. (closes vim/vim#6157) https://github.com/vim/vim/commit/0016fd2e29b7d4d4eef89a0516d14888a8651c61
* | | | Merge pull request #12348 from tjdevries/luawaitTJ DeVries2020-05-30
|\ \ \ \ | | | | | | | | | | [RFC] lua: Add vim.wait()
| * | | | lua: vim.wait implementationTJ DeVries2020-05-30
| | | | |
| * | | | lua: vim.wait initial outlineBjörn Linse2020-05-30
|/ / / /
* | | | provider: Fix ruby checkhealth error for Windows (#12400)BusyBruce2020-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plaform: Windows 10 run `cmd /c gem list -ra ^^neovim$` *** REMOTE GEMS *** minitest-neovim (0.1.0) neovim (0.7.1, 0.7.0, 0.6.2, 0.6.1, 0.6.0, 0.5.1, 0.5.0, 0.4.0, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.5, 0.2.4, 0.2.3, 0.2.2, 0.2.1, 0.2.0, 0.1.0, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1) run `cmd /c gem list -ra "^^neovim$"` *** REMOTE GEMS *** neovim (0.7.1, 0.7.0, 0.6.2, 0.6.1, 0.6.0, 0.5.1, 0.5.0, 0.4.0, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.5, 0.2.4, 0.2.3, 0.2.2, 0.2.1, 0.2.0, 0.1.0, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1)
* | | | API: nvim_create_buf: unset 'modeline' in scratch-buffer #12379Justin M. Keyes2020-05-29
| | | | | | | | | | | | | | | | Although 'nomodeline' is not strictly part of the definition of a "scratch-buffer" it is obviously the right default.
* | | | lua: simple snippet support in the completion items (#12118)Viktor Kojouharov2020-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old behavior is: foo(${placeholder: bar, ...) with lots of random garbage you'd never want inserted. New behavior is: foo(bar, baz) (which maybe is good, maybe is bad [depends on user], but definitely better than it was). ----- * Implement rudimentary snippet parsing Add support for parsing and discarding snippet tokens from the completion items. Fixes #11982 * Enable snippet support * Functional tests for snippet parsing Add simplified real-world snippet text examples to the completion items test * Add a test for nested snippet tokens * Remove TODO comment * Return the unmodified item if the format is plain text * Add a plain text completion item
* | | | lsp: add preview_location util function (#12368)Christian Clason2020-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add preview_location * add doc stub * doc style; return bufnr&winnr of preview * doc: function may return nil Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com> * doc: fixup Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
* | | | lsp: make the command error message more detailed (#11633)Hirokazu Hata2020-05-26
| | | | | | | | | | | | | | | | | | | | * lsp.lua: make the error message more detailed * test: add lsp._cmd_part test
* | | | Merge pull request #11803 from erw7/virtual-terminal-inputMatthieu Coudron2020-05-26
|\ \ \ \ | | | | | | | | | | [RDY] win/TUI: Use virtual terminal input if available
| * | | | deps: update libuverw72020-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/neovim/neovim/pull/11808 https://github.com/neovim/libuv/pull/12 v1.34.2 * darwin: stop calling SetApplicationIsDaemon() (Ben Noordhuis) * osx,fsevent: fix race during uv_loop_close (Jameson Nash) * unix: handle uv__open_cloexec return value correctly (Anna Henningsen) v1.34.1 * unix: fix -Wstrict-aliasing compiler warning (Ben Noordhuis) * unix: cache address of dlsym("mkostemp") (Ben Noordhuis) * win,tty: avoid regressions in utf-8 handling (Jameson Nash) * win: remove bad assert in uv_loop_close (Jameson Nash) * tty,unix: avoid affecting controlling TTY (Jameson Nash) v1.34.0 * unix: refactor uv__fs_copyfile() logic (cjihrig) * fs: handle non-functional statx system call (Milad Farazmand) * unix,win: add uv_sleep() (cjihrig) * fs: add uv_fs_mkstemp (Saúl Ibarra Corretgé) v1.33.0 * win: fix reading hidden env vars (Anna Henningsen) * unix,win: add uv_random() (Ben Noordhuis) * win, tty: fix problem of receiving unexpected SIGWINCH (erw7) * fs: use statvfs in uv__fs_statfs() for Haiku (Calvin Hill) * fsevents: stop using fsevents to watch files (Jameson Nash) * win,tty: add uv_tty_{get,set}_vterm_state (erw7) * unix: update uv_fs_copyfile() fallback logic (Stefan Bender) * win: cast setsockopt struct to const char* (Shelley Vohr) * unix: fix {Net,Open}BSD build
| * | | | win/TUI: enable mouse on ConEmu and vtpcon without vtierw72020-05-26
| | | | |
| * | | | win: use virtual terminal input (VTI) if available #11803erw72020-05-26
|/ / / / | | | | | | | | | | | | | | | | fixes #9514 fixes #11773
* | | | Merge pull request #10905 from erw7/vim-8.1.0475Matthieu Coudron2020-05-25
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.{475,800,868,1007,1027,1031,1033,1037,1058,1435,1484,1485}
| * | | | eval: fix problem with free_unref_funccal not being callederw72020-05-25
| | | | |
| * | | | vim-patch:8.1.1485: double free when garbage_collect() is used in autocommanderw72020-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Double free when garbage_collect() is used in autocommand. Solution: Have garbage collection also set the copyID in funccal_stack. https://github.com/vim/vim/commit/c07f67ad0e9c48a07d49f2d67eb63e183a22386a
| * | | | vim-patch:8.1.1484: some tests are slowDaniel Hahler2020-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some tests are slow. Solution: Add timing to the test messages. Fix double free when quitting in VimLeavePre autocmd. https://github.com/vim/vim/commit/75ee544f99ca66be8105570c6309d95435ad30d1
| * | | | vim-patch:8.1.1435: memory usage test is a bit too flakyerw72020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory usage test is a bit too flaky. Solution: Adjust the tolerances a bit. (Christian Brabandt) https://github.com/vim/vim/commit/5d508dd39e810d446f29dfd4f4e745b802875001
| * | | | vim-patch:8.1.1058: memory usage test may still fail on some systemserw72020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory usage test may still fail on some systems. Solution: Use 98% of the lower limit. (Christian Brabandt) https://github.com/vim/vim/commit/3a731ee0c2dd34792c1b21fc4c699a84129f1b86
| * | | | vim-patch:8.1.1037: memory usage test may still fail on some systemserw72020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory usage test may still fail on some systems. Solution: Increase tolerance from 3% to 20%. https://github.com/vim/vim/commit/6b6f7aae4a3329d685e512699287605540257b40
| * | | | vim-patch:8.1.1033: memory usage test may still fail on some systemserw72020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory usage test may still fail on some systems. (Elimar Riesebieter) Solution: Increase tolerance from 1% to 3%. https://github.com/vim/vim/commit/ba64ba093520e85d6bed2595960edb693bdb4c51
| * | | | vim-patch:8.1.1031: memory usage test may still failerw72020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory usage test may still fail. Solution: Drop the unused min value. (Christian Brabandt) https://github.com/vim/vim/commit/f7e47af7760fe054cb645dac9a1e96b23c85804d
| * | | | vim-patch:8.1.1027: memory usage test sometimes failserw72020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory usage test sometimes fails. Solution: Use 80% of before.last as the lower limit. (Christian Brabandt) https://github.com/vim/vim/commit/08cda65ddfbb4bce8cef43726a0c00817fc47327
| * | | | vim-patch:8.1.1007: using closure may consume a lot of memoryerw72020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using closure may consume a lot of memory. Solution: unreference items that are no longer needed. Add a test. (Ozaki Kiichi, closes vim/vim#3961) https://github.com/vim/vim/commit/209b8e3e3bf7a4a3d102134124120f6c7f57d560
| * | | | vim-patch:8.1.0475: memory not freed on exit when quit in autocmderw72020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory not freed on exit when quit in autocmd. Solution: Remember funccal stack when executing autocmd. https://github.com/vim/vim/commit/27e80c885bcb5c5cf6a6462d71d6c81b06ba2451
* | | | | Merge pull request #12367 from h-michael/lsp-logHirokazu Hata2020-05-25
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | lsp: change log name to "lsp.log" from "vim-lsp.log"Hirokazu Hata2020-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | It's confusing because vim-lsp already has the same name as the plugin name that predates this built-in lsp. Also, since "vim.fn.stdpath" is used, adding the prefix "nvim-" is redundant, so just "lsp.log" will suffice.
* | | | | vim-patch:8.0.1668: terminal debugger: can't re-open source code window (#12329)Jan Edmund Lazo2020-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Terminal debugger: can't re-open source code window. Solution: Add the :Source command. Also create the window if needed when gdb stops at a source line. https://github.com/vim/vim/commit/c4b533e1e93151658cb170c6796d327a8c0f8612
* | | | | vim-patch:8.1.2233: cannot get the Vim command line arguments (#12117)kuuote2020-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot get the Vim command line arguments. Solution: Add v:argv. (Dmitri Vereshchagin, closes vim/vim#1322) https://github.com/vim/vim/commit/69bf634858a2a75f2984e42b1e4017bc529a040a
* | | | | Merge pull request #12327 from janlazo/vim-8.2.0766Matthieu Coudron2020-05-23
|\ \ \ \ \ | |/ / / / |/| | | | vim-patch:8.1.2228,8.2.{36,37,766,810}
| * | | | vim-patch:8.2.0810: error when appending "tagfile" to 'wildoptions'Jan Edmund Lazo2020-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Error when appending "tagfile" to 'wildoptions'. Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin, closes vim/vim#6105) https://github.com/vim/vim/commit/2e61e2d08390623fcf933fd06646ac91f81fb772
| * | | | vim-patch:8.2.0037: missing renamed messageJan Edmund Lazo2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Missing renamed message. Solution: Now really add the error number. https://github.com/vim/vim/commit/1500a42c42b26cb63659d90883f7a438895cd273