aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | Merge pull request #9726 from mhinz/nvim_win_get_configMarco Hinz2019-03-17
|\ \ | | | | | | Closes #9723
| * | api: add tests for new code pathsMarco Hinz2019-03-16
| | |
| * | api: refactor FloatRelative usageMarco Hinz2019-03-16
| | |
| * | api: numerous small fixesMarco Hinz2019-03-16
| | |
| * | api: update docMarco Hinz2019-03-16
| | |
| * | api: add width/height to FloatConfigMarco Hinz2019-03-16
| | |
| * | api: nvim_win_config() -> nvim_win_set_config()Marco Hinz2019-03-16
| | |
| * | api: refactor FloatAnchor usageMarco Hinz2019-03-16
| | |
| * | api: add nvim_win_get_config()Marco Hinz2019-03-16
| | |
* | | aucmd_prepbuf: also restore `prevwin` #9741Justin M. Keyes2019-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bisected to f5d5da391715 Other test steps: nvim -u NORC :terminal tree / " Produces lots of output :edit somefile.txt :vsplit :vsplit <c-w>l <c-w>l <c-w>h <c-w>p
* | | vim-patch:8.1.1011: indent from autoindent not removed #9742Jan Edmund Lazo2019-03-17
| | | | | | | | | | | | | | | Problem: Indent from autoindent not removed from blank line. (Daniel Hahler) Solution: Do not reset did_ai when text follows. (closes vim/vim#4119) https://github.com/vim/vim/commit/2ba4238818ca5ea52334de3037ef3729584cebf5
* | | clipboard: Always copy as plain text in Wayland #9737Tim Morgan2019-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `wl-copy` by default tries to determine the mime type of a copied bit of text. From the [readme](https://github.com/bugaevc/wl-clipboard): > wl-copy automatically infers the type of the copied content by running > xdg-mime(1) on it. So copying a Ruby script from Nvim may store it in the Wayland clipboard as mime-type `application/x-ruby`. This is a small reproduction without Nvim: $ cat test.rb #!/usr/bin/env ruby puts 'hello world' $ cat test.rb | wl-copy $ wl-paste --list-types application/x-ruby This commit fixes that by telling wl-copy that all text copied from Nvim has the mime type `text/plain`. $ cat test.rb | wl-copy --type text/plain $ wl-paste --list-types text/plain;charset=utf-8
* | | Merge pull request #9607 from bfredl/wildpumBjörn Linse2019-03-16
|\ \ \ | | | | | | | | UI: deprecate redundant ext_wildmenu events and allow TUI popupmenu for cmdline
| * | | Allow using internal popupmenu or ext_popupmenu for wildmenuBjörn Linse2019-03-16
| |/ / | | | | | | | | | | | | Deprecate ext_wildmenu. ext_popupmenu already contains more state (anchor position), and will allow further expansion (info about items).
* | | Merge #9686 'win/Lua: monkey-patch os.getenv()'Justin M. Keyes2019-03-16
|\ \ \ | | | | | | | | | | | | fixes #9681
| * | | Fix os.getenv of lua on Windowserw72019-03-07
| | | | | | | | | | | | | | | | | | | | Change to use os_getenv instead of getenv because environment variable set by uv_os_setenv can not be get with getenv.
| * | | Fix environment variable on Windowserw72019-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since uv_os_setenv uses SetEnvironmentVariableW, _wenviron is no updated. As a result, inconsistency occurs in completion of environment variable names. Change to use GetEnvironmentStaringsW instead of _wenviron to solve it.
* | | | Merge #9736 from janlazo/vim-8.1.0019Justin M. Keyes2019-03-16
|\ \ \ \ | |_|/ / |/| | |
| * | | oldtests: wait 200ms on mac for timer testJan Edmund Lazo2019-03-16
| | | |
| * | | vim-patch:8.1.0019: error when defining a Lambda with index of a function resultJan Edmund Lazo2019-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Error when defining a Lambda with index of a function result. Solution: When not evaluating an expression and skipping a function call, set the return value to VAR_UNKNOWN. https://github.com/vim/vim/commit/b4518563c73460150344a57879bf5b22cb8b1c77
* | | | Merge pull request #9616 from chemzqm/completechangeBjörn Linse2019-03-16
|\ \ \ \ | |/ / / |/| | | add MenuPopupChanged autocmd
| * | | autocmd: add MenuPopupChanged autocmdchemzqm2019-03-15
| | | | | | | | | | | | | | | | | | | | | | | | Update src/nvim/auevents.lua Co-Authored-By: chemzqm <chemzqm@gmail.com>
* | | | test: simplify TUI bg-detection testJustin M. Keyes2019-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous approach skipped the test if the expected value matched the default value ("dark"). New approach always checks, but uses retry() to ignore potentially wrong 'background' before the terminal response is handled.
* | | | Merge #9728 from justinmk/autocmd-onceJustin M. Keyes2019-03-15
|\ \ \ \
| * | | | autocmd: do not show empty section after ++once handlers expireJustin M. Keyes2019-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: If autocmd pattern only contained `++once` handlers, and all of them completed, then there would be an empty group displayed by `:autocmd Foo`. Solution: Delete the pattern if all of its commands were deleted.
| * | | | autocmd: rename: "++nested", "++once"Justin M. Keyes2019-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | Based on feedback from upstream: https://github.com/vim/vim/pull/4100
* | | | | vim-patch:8.1.0728: avoid breaking after single space #9733Jan Edmund Lazo2019-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot avoid breaking after a single space. Solution: Add the 'p' flag to 'formatoptions'. (Tom Ryder) https://github.com/vim/vim/commit/c3c3158756ae074052b0db2a3e3a7ba192df5330
* | | | | Merge pull request #9730 from bfredl/pumfloatBjörn Linse2019-03-14
|\ \ \ \ \ | |/ / / / |/| | | | compositor: fix rendering issues with floats opened after popupmenu
| * | | | compositor: fix rendering issues with floats opened after popupmenuBjörn Linse2019-03-14
| | | | |
* | | | | vim-patch:8.1.0671: cursor in wrong column after auto-format #9729Jan Edmund Lazo2019-03-14
|/ / / / | | | | | | | | | | | | | | | | Problem: Cursor in the wrong column after auto-formatting. Solution: Check for deleting more spaces than adding. (closes vim/vim#3748) https://github.com/vim/vim/commit/e1e714ef0d1f4bb8b1712795e9106e3b4ff4c7bd
* | | | vim-patch:8.0.1447: still too many old style tests (#9725)Jan Edmund Lazo2019-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Still too many old style tests. Solution: Turn a few tests into new style. (Yegappan Lakshmanan, closes vim/vim#2509) https://github.com/vim/vim/commit/cada78975eebc47f9b12de1a471639b5afd9ad2f Exclude test_shortpathname.vim. nvim does not support 8.3 filenames on Windows.
* | | | dictwatcheradd(): support b:changedtick #9693demiurg3372019-03-14
| | | | | | | | | | | | | | | | | | | | fixes #6635 closes #9693
* | | | TextYankPost: add v:event["inclusive"] #9717Justin M. Keyes2019-03-13
| | | |
* | | | vim-patch:8.1.0170: invalid memory use with complicated pattern #9724Jan Edmund Lazo2019-03-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Invalid memory use with complicated pattern. (Andy Massimino) Solution: Reallocate the list of listids when needed. (closes vim/vim#3175) Remove unnecessary function prototypes. https://github.com/vim/vim/commit/2338c32b53d20dc18540b1a20845bcd8a6371bff
* | | | test/CI: skip "throttles output" test on Travis macOS #9721Justin M. Keyes2019-03-12
| | | | | | | | | | | | | | | | | | | | Travis macOS is not fast enough to run this test reliably. The test depends on the system producing output faster than the Nvim TUI can handle it.
* | | | Merge pull request #9722 from bfredl/float-doc2Björn Linse2019-03-12
|\ \ \ \ | | | | | | | | | | Float docs and defaults.
| * | | | docs: adjust the generated nvim_open_win docsBjörn Linse2019-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | The format here is not meant to be ideal, just a backstop until auto-generation has been fixed.
| * | | | docs: update generated API docsBjörn Linse2019-03-12
| | | | |
| * | | | docs: floating windows introductionBjörn Linse2019-03-12
| | | | |
| * | | | floats: add NormalFloat highlight and 'nonumber' defaultBjörn Linse2019-03-12
| | | | |
| * | | | window: simplify logic for entering new floatBjörn Linse2019-03-12
|/ / / /
* | | | autocmd: rename "once" => "-once" #9713Justin M. Keyes2019-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename "nested" to "-nested", but continue to support "nested" for backwards-compatibility. - Allow any order: "-once -nested" or "-nested -once". ref https://github.com/neovim/neovim/pull/9706#issuecomment-471295747
* | | | Dist: make icon a proper square (#9716)Marco Hinz2019-03-11
| | | | | | | | | | | | | | | | | | | | | | | | The canvas was resized from 128x104 to 128x128 and centered via Gimp and further optimized via optipng. Fixes https://github.com/neovim/neovim/issues/9715
* | | | Merge #9708 from justinmk/tui-bg-detectJustin M. Keyes2019-03-11
|\ \ \ \
| * | | | TUI/background detection: hook into VimEnter eventJustin M. Keyes2019-03-11
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If terminal response is received during startup, set 'background' from a nested "one-shot" (once) VimEnter autocmd. The previous not-so-clever "self-rescheduling" approach could cause a long delay at startup (event-loop does not make forward progress). fixes #9675 ref #9509
* / | | cleanup: rename menu_nable_recurse() #9707Petter Wahlman2019-03-10
|/ / /
* | | Merge #9706 from justinmk/aucmd-onceJustin M. Keyes2019-03-10
|\ \ \
| * | | autocmd: introduce "once" featureJustin M. Keyes2019-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new feature to :autocmd which sets the handler to be executed at most one times. Before: augroup FooGroup autocmd! autocmd FileType foo call Foo() | autocmd! FooGroup * <buffer> augroup END After: autocmd FileType foo once call Foo()
* | | | vim-patch:8.1.1002: "gf" on URL with port number #9705Jan Edmund Lazo2019-03-10
|/ / / | | | | | | | | | | | | | | | Problem: "gf" does not always work when URL has a port number. (Jakob Schöttl) Solution: When a URL is recognized also accept ":". (closes vim/vim#4082) https://github.com/vim/vim/commit/cbef8e1aa1f260ffde16491b1678eae53a36cf68
* | | Merge #9703 from erw7/fix-executable-on-unixJustin M. Keyes2019-03-09
|\ \ \