aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.1.1347: fractional scroll position not restored after closing windowJan Edmund Lazo2019-10-01
| | | | | | Problem: Fractional scroll position not restored after closing window. Solution: Do restore fraction if topline is not one. https://github.com/vim/vim/commit/bd2d68c2f42c7689f681aeaf82606d17f8a0312f
* vim-patch:8.1.1327: unnecessary scroll after horizontal splitJan Edmund Lazo2019-10-01
| | | | | | | Problem: Unnecessary scroll after horizontal split. Solution: Don't adjust to fraction if all the text fits in the window. (Martin Kunev, closes vim/vim#4367) https://github.com/vim/vim/commit/a9b2535f44f3265940a18d08520a9ad4ef7bda82
* vim-patch:8.1.0518: Test_window_split_edit_bufnr() fails on AppVeyorJan Edmund Lazo2019-10-01
| | | | | | Problem: Test_window_split_edit_bufnr() fails on AppVeyor. Solution: Disable the failing part for now. https://github.com/vim/vim/commit/8617b401599451187fa0c0561a84944978536a90
* vim-patch:8.1.0517: Test_window_split_edit_alternate() fails on AppVeyorJan Edmund Lazo2019-10-01
| | | | | | Problem: Test_window_split_edit_alternate() fails on AppVeyor. Solution: Disable the failing part for now. https://github.com/vim/vim/commit/d42333d8e9f6c157884f4f1acb458aa992f94f3d
* vim-patch:8.1.0514: CTRL-W ^ does not work when alternate buffer has no nameJan Edmund Lazo2019-10-01
| | | | | | | Problem: CTRL-W ^ does not work when alternate buffer has no name. Solution: Use another method to split and edit the alternate buffer. (Jason Franklin) https://github.com/vim/vim/commit/1bbb61948342b5cf6e363629f145c65eb455c388
* vim-patch:8.1.1758: count of g$ not used correctly when text is not wrappedJan Edmund Lazo2019-10-01
| | | | | | Problem: Count of g$ not used correctly when text is not wrapped. Solution: Do use the count. (Christian Brabandt, closes vim/vim#4729, closes vim/vim#4566) https://github.com/vim/vim/commit/d5c8234517c18fa059b78f59eb96c35eda323dae
* vim-patch:8.1.2072: "gk" moves to start of line instead of upwardsJan Edmund Lazo2019-10-01
| | | | | | Problem: "gk" moves to start of line instead of upwards. Solution: Fix off-by-one error. (Christian Brabandt, closes vim/vim#4969) https://github.com/vim/vim/commit/03ac52fc025790c474030ea556cec799400aa046
* vim-patch:8.1.0010: efm_to_regpat() is too longJan Edmund Lazo2019-10-01
| | | | | | Problem: efm_to_regpat() is too long. Solution: Split off three functions. (Yegappan Lakshmanan, closes vim/vim#2924) https://github.com/vim/vim/commit/6bff719f7e472e918c60aa336de03e799b806c4f
* Fix/revisit git-describe enhancement (#11124)Daniel Hahler2019-10-02
| | | | | | | | | | | | | | | | | | | | | | * Fix/keep massaging git-describe result Ref: https://github.com/neovim/neovim/pull/11117#issuecomment-536416223 * build: revisit generation of version from Git Fixes "make clean && make", where "auto/versiondef.h" would be missing since b18b84d - because BYPRODUCTS are apparently removed when cleaning. This includes the following improvements/changes: - do not run git-describe during CMake's configure phase just for reporting - do not print with changed Git version (too noisy, simplifies code) * Move to src/nvim (included before config) for easier flow * fallback to describe always, write empty include file * update_version_stamp.lua: use prefix always
* build: get rid of warnings with `cmake --debug-output` (#11131)Daniel Hahler2019-10-02
|
* tui: improve handle_background_color: short-circuit (#11067)Daniel Hahler2019-09-30
| | | | | | | | * handle_background_color: short-circuit if handled already * Unit tests for handle_background_color * set waiting_for_bg_response to false in tui_terminal_after_startup By then it should have been received.
* Merge pull request #11121 from bfredl/invalidcellBjörn Linse2019-09-30
|\ | | | | screen: don't crash on invalid cells being recomposed (tui_raw_line assert)
| * screen: don't crash on invalid grid cells being recomposedBjörn Linse2019-09-30
|/
* third-party: upgrade libluv: 1.30.0-0 => 1.30.1-1 (#11092)Daniel Hahler2019-09-30
| | | Changes: https://github.com/luvit/luv/compare/1.30.0-0...1.30.1-1
* provider#pythonx: resolve/expand exe from host var (#11047)Daniel Hahler2019-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts part of ade88fe4c [1]. This is required for `let g:python3_host_prog = 'python'` etc, where it should get picked up from PATH. Without this it would show: ``` - INFO: pyenv: Path: /home/user/.pyenv/libexec/pyenv - INFO: pyenv: Root: /home/user/.pyenv - INFO: Using: g:python3_host_prog = "python" - ERROR: "python" was not found. - INFO: Executable: Not found - ERROR: Detected pip upgrade failure: Python executable can import "pynvim" but not "neovim": python - ADVICE: - Use that Python version to reinstall "pynvim" and optionally "neovim". pip3 uninstall pynvim neovim pip3 install pynvim pip3 install neovim # only if needed by third-party software ``` Note that it additionally causes a weird error ("Detected pip upgrade failure"), due to `s:check_bin` emptying `python_exe` (because the non-absolute file not being readable), and `provider#pythonx#DetectByModule('pynvim', a:version)` from 75593e6fce then just getting the value from the host var again (without actual checks). This is implicitly fixed via this patch now (because it is skipped), but could need some improvement in this regard probably. With this patch it resolves it (for a virtualenv where pynvim is not made available intentionally): ``` - INFO: pyenv: Path: /home/daniel/.pyenv/libexec/pyenv - INFO: pyenv: Root: /home/daniel/.pyenv - INFO: Using: g:python3_host_prog = "python" - WARNING: $VIRTUAL_ENV exists but appears to be inactive. This could lead to unexpected results. - ADVICE: - If you are using Zsh, see: http://vi.stackexchange.com/a/7654 - INFO: Executable: /home/daniel/.pyenv/shims/tmp-system-deoplete.nvim-f205aF/python - ERROR: Command error (job=11, exit code 1): `'/home/daniel/.pyenv/shims/tmp-system-deoplete.nvim-f205aF/python' -c 'import sys; sys.path.remove(""); import neovim; print(neovim.__file__)'` (in '/home/daniel/.dotfiles/vim/plugged/deoplete.nvim') Output: Traceback (most recent call last): File "<string>", line 1, in <module>ModuleNotFoundError: No module named 'neovim' Stderr: Traceback (most recent call last): File "<string>", line 1, in <module>ModuleNotFoundError: No module named 'neovim' - INFO: Python version: 3.7.4 - INFO: pynvim version: unable to load neovim Python module - ERROR: pynvim is not installed. Error: unable to load neovim Python module - ADVICE: - Run in shell: pip3 install pynvim ``` Note: this appears to display the error twice via "Output:" and "Stderr:". 1: https://github.com/neovim/neovim/pull/8784
* bundle: upgrade LuaJIT to latest v2.1 (#10321)Daniel Hahler2019-09-30
|
* build: run git-describe for dev version during build (#11117)Daniel Hahler2019-09-30
| | | | | | | | This avoids invoking CMake after a new commit, which might take 15s on some systems. Skipped on CMake < 3.2.0 (missing BYPRODUCTS support). Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
* Merge pull request #11115 from bfredl/wildmenumodeBjörn Linse2019-09-29
|\ | | | | cmdline: wildmenumode() should be true with wildoptions+=pum
| * cmdline: wildmenumode() should be true with wildoptions+=pumBjörn Linse2019-09-28
| |
* | cmake: use LibFindMacros for utf8proc (#11114)Daniel Hahler2019-09-29
| | | | | | Also update doc.
* | terminfo_start: keep first flushing of ui buffer (#11118)Daniel Hahler2019-09-29
|/ | | | | | | | Initially done in 3626d2107 (#11074, for #11062), it was reverted then in 445f2f409 (#11083, which added flushing later). But it is still required here to avoid the reporting of the background response with urxvt/kitty (`nvim -u NONE -cq`). Apparently I've tested this not enough with 445f2f409 (probably only within tmux).
* Merge pull request #10124 from bfredl/tree-sitter-apiBjörn Linse2019-09-28
|\ | | | | Tree-sitter step 1: vendor runtime lib + add lua API
| * tree-sitter: improve and cleanup testsBjörn Linse2019-09-28
| |
| * tree-sitter: use "module" pattern in lua sourceBjörn Linse2019-09-28
| |
| * tree-sitter: handle node equalityBjörn Linse2019-09-28
| |
| * tree-sitter: start docsBjörn Linse2019-09-28
| |
| * tree-sitter: use "range" instead of "point_range" consistently in lua APIBjörn Linse2019-09-28
| |
| * tree-sitter: simplify editing using the new old_byte_size parameterBjörn Linse2019-09-28
| |
| * tree-sitter: fix lint, delete "demo" plugin (replaced by functional tests)Björn Linse2019-09-28
| |
| * tree-sitter: improve parser API (shared parser between plugins)Björn Linse2019-09-28
| |
| * tree-sitter: cleanup tree refcountingBjörn Linse2019-09-28
| |
| * tree-sitter: inspect languageBjörn Linse2019-09-28
| |
| * tree-sitter: add some more APIBjörn Linse2019-09-28
| |
| * tree-sitter: styleBjörn Linse2019-09-28
| |
| * tree-sitter: use standard luaL_newmetatable and luaL_checkudata patternBjörn Linse2019-09-28
| |
| * tree-sitter: rename tree_sitter => treesitter for consistencyBjörn Linse2019-09-28
| |
| * tree-sitter: add basic testing on ciBjörn Linse2019-09-28
| | | | | | | | build tree-sitter c parser on ci for testing purposes
| * tree-sitter: support pre-registration of languagesBjörn Linse2019-09-28
| |
| * tree-sitter: objectify APIBjörn Linse2019-09-28
| |
| * tree-sitter: split tree-sitter lua interface from demo codeBjörn Linse2019-09-28
| |
| * tree-sitter: cleanup build codeBjörn Linse2019-09-28
| |
| * Create BuildUtf8proc.cmake and FindUtf8proc.cmakeBjörn Linse2019-09-28
| | | | | | | | Using advanced search and replace technology
| * tree-sitter: load parsers as .so filesBjörn Linse2019-09-28
| |
| * tree-sitter: initial tree-sitter supportBjörn Linse2019-09-28
| |
| * tree-sitter: change vendored tree-sitter to use nvim memory managementBjörn Linse2019-09-28
| |
| * tree-sitter: vendor tree-sitter runtimeBjörn Linse2019-09-28
|/ | | | | | | | | tree-sitter/tree-sitter commit 7685b7861ca475664b6ef57e14d1da9acf741275 Included files are: lib/include/tree-sitter/*.h lib/src/*.[ch] LICENSE
* vim-patch:8.1.2083: multi-byte chars do not work properly with "%.*S" in ↵Daniel Hahler2019-09-28
| | | | | | | printf() (#11106) Problem: Multi-byte chars do not work properly with "%.*S" in printf(). Solution: Use mb_ptr2cells(). Daniel Hahler, closes vim/vim#4989) https://github.com/vim/vim/commit/ce0fac28977af31f1dec411d3535b4de2c3169b3
* doc: contrib/local.mk.example: include ENABLE_LTO (#11097)Daniel Hahler2019-09-26
| | | | | | | Using it takes 30+ additional seconds for me with a ccache-enabled build (43s vs. 12s). While it certainly makes sense to use DEBUG during development, bisecting etc, it should be made clearer what causes this.
* Merge pull request #10907 from jszakmeister/add-freebsd-sourcehut-supportJohn Szakmeister2019-09-26
|\ | | | | build: add support for building for FreeBSD under Sourcehut
| * build: add support for building for FreeBSD under Sourcehut [skip ci]John Szakmeister2019-09-25
| |