aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add everything to lsp.buf and get rid of autoload.Ashkan Kiani2019-11-20
|
* Add lsp.buf and hover implementation.Ashkan Kiani2019-11-20
|
* Bugfix. Don't use nvim.lua that doesn't exist :)Ashkan Kiani2019-11-20
|
* Add vim.uri_to_bufnrAshkan Kiani2019-11-20
|
* Bugfixes.Ashkan Kiani2019-11-20
| | | | | - Return after an error in RPC. - Use an empty vim table for serialization.
* Bugfix for floating_previewAshkan Kiani2019-11-20
| | | | Don't modify your inputs.
* Reduce code blocks in markdown previews.Ashkan Kiani2019-11-20
| | | | | | If the preview is just a code block, then use the language as the filetype instead of using markdown. This reduces the size of the preview.
* TUI: use stdio names instead of magic numbers #11410erw72019-11-17
|
* build/macOS: set -fno-stack-check for LuaJIT build #11412Christian Clason2019-11-17
| | | | | | Fixes LuaJIT build on macOS Catalina. ref https://github.com/LuaJIT/LuaJIT/issues/521 ref https://github.com/Homebrew/homebrew-core/pull/46823
* provider/python: add python3.8 executable (#11402)Marco Hinz2019-11-17
| | | | | Python 3.8 was released 2019-10-14: https://www.python.org/dev/peps/pep-0569
* Merge #11406 from janlazo/vim-8.1.1922Justin M. Keyes2019-11-16
|\ | | | | vim-patch:8.1.{1922,2289,2305}
| * vim-patch:8.1.2305: no warning for wrong entry in translationsJan Edmund Lazo2019-11-16
| | | | | | | | | | | | Problem: No warning for wrong entry in translations. Solution: Check semicolons in keywords entry of desktop file. https://github.com/vim/vim/commit/e53ec39270c805a95e405812e4c463c87a150eda
| * vim-patch:8.1.2289: after :diffsplit closing the window does not disable diffJan Edmund Lazo2019-11-16
| | | | | | | | | | | | Problem: After :diffsplit closing the window does not disable diff. Solution: Add "closeoff" to 'diffopt' and add it to the default. https://github.com/vim/vim/commit/c8234779790dd873acb88331c50988adf94cc383
| * diff: move diff globals to diff.hJan Edmund Lazo2019-11-16
| |
| * vim-patch:8.1.1922: in diff mode global operations can be very slowJan Edmund Lazo2019-11-16
| | | | | | | | | | | | | | Problem: In diff mode global operations can be very slow. Solution: Do not call diff_redraw() many times, call it once when redrawing. And also don't update folds multiple times. https://github.com/vim/vim/commit/4f57eefe1e84b5a90e08474092ea6fc8825ad5c9
* | tutor: change arrows (--->) to symbols ✗ and ✓ #11404Nikolay Shebanov2019-11-16
|/ | | | | * Display ✓ or ✗ based on the line user sees * Add vim-tutor-mode expectations to the lines marked with an arrow. * Fix some existing expectations to behave predictably.
* Merge pull request #11338 from bfredl/vvluaBjörn Linse2019-11-16
|\ | | | | v:lua and better error messages for vimL->lua
| * Add v:lua.func() vimL syntax for calling luaBjörn Linse2019-11-16
|/ | | | Also simplify error messages when calling lua from vimL.
* Merge pull request #11399 from bfredl/markundoBjörn Linse2019-11-16
|\ | | | | extmark: do not crash in read-only buffer
| * extmark: don't crash in RO buffer.Björn Linse2019-11-16
| |
| * undo: delete undo_off global without effectBjörn Linse2019-11-16
| |
* | vim-patch:8.1.0992: :normal resets reg_executing() result #11398Jan Edmund Lazo2019-11-16
|/ | | | | | Problem: A :normal command while executing a register resets the reg_executing() result. Solution: Save and restore reg_executing. (closes vim/vim#4066) https://github.com/vim/vim/commit/cce713ddcc0c9ab29926c28e287cbb587a959b08
* Merge #11384 from janlazo/vim-8.1.2293Justin M. Keyes2019-11-14
|\ | | | | vim-patch:8.1.{927,2293}
| * spell: fix clang logic errorJan Edmund Lazo2019-11-13
| | | | | | | | | | https://neovim.io/doc/reports/clang/report-487b01.html#EndPath https://neovim.io/doc/reports/clang/report-ce4c3c.html#EndPath
| * quickfix: fix dead assignmentJan Edmund Lazo2019-11-13
| | | | | | | | Cherry-picked from vim patch 8.1.1489.
| * vim-patch:8.1.0927: USE_CR is never definedJan Edmund Lazo2019-11-13
| | | | | | | | | | | | Problem: USE_CR is never defined. Solution: Remove usage of USE_CR. (Ken Takata, closes vim/vim#3958) https://github.com/vim/vim/commit/00590740081489db69f43d9f1c0e3f70e29ce6da
| * vim-patch:8.1.2293: join adds trailing space when second line is emptyJan Edmund Lazo2019-11-13
| | | | | | | | | | | | | | Problem: Join adds trailing space when second line is empty. (Brennan Vincent) Solution: Do not add a trailing space. https://github.com/vim/vim/commit/cc184cfb09161b3bbc7d5d8859a18e812367d19c
* | f_getenv/setenv: Access v_special when v_type is VAR_SPECIAL #11388James McCoy2019-11-13
|/ | | | | | | | | | | | | | | | | | | | Multiple Debian builds were failing these tests: Failures: From test_environ.vim: Found errors in Test_external_env(): function RunTheTest[37]..Test_external_env line 16: Expected '' but got 'FOO=null\n' Found errors in Test_getenv(): function RunTheTest[37]..Test_getenv line 2: Expected v:null but got v:false Found errors in Test_setenv(): function RunTheTest[37]..Test_setenv line 5: Expected v:null but got 'null' This is because nvim has a separate tag (`v_special`) in `typval_T` for special variables, whereas vim re-uses the `v_number` tag. On little-endian architectures, using the incorrect tag is not an issue because the byte representation is the same. However, on big-endian systems this caused the `v_number == kSpecialVarNull` checks to fail, and the non-special code to execute.
* lua LSP client: initial implementation (#11336)Ashkan Kiani2019-11-13
| | | | | | Mainly configuration and RPC infrastructure can be considered "done". Specific requests and their callbacks will be improved later (and also served by plugins). There are also some TODO:s for the client itself, like incremental updates. Co-authored by at-tjdevries and at-h-michael, with many review/suggestion contributions.
* Merge #11376 'extmark: renames, docs'Justin M. Keyes2019-11-12
|\
| * extmark: fix spelling of "Extmark"Justin M. Keyes2019-11-11
| | | | | | | | | | The spelling "Extmark" is used almost everywhere, so don't spell it "ExtMark" inconsistently.
| * extmark: rename ExtendedMark => ExtmarkJustin M. Keyes2019-11-11
| |
| * doc [ci skip]Justin M. Keyes2019-11-11
|/
* Merge #11307 'Lua: vim.validate()'Justin M. Keyes2019-11-11
|\
| * Lua: mark some functions as "private"Justin M. Keyes2019-11-11
| | | | | | | | | | | | Problem: scripts/gen_vimdoc.py gets confused and tries to generate docs for `fn_index` and `func`. Solution: Rename them to be private.
| * fix nvim__buf_statsJustin M. Keyes2019-11-10
| | | | | | | | Accidentally renamed in 1cb467454782.
| * Lua: Use vim.validate() instead of assert()Justin M. Keyes2019-11-10
| |
| * Lua: vim.validate()Justin M. Keyes2019-11-10
| |
| * Lua: vim.validate()Hirokazu Hata2019-11-10
| | | | | | | | | | | | | | We often want to do type checking of public function arguments. - test: Rename utility_function_spec.lua to vim_spec.lua - .luacov: Map lua module names
* | vim-patch:8.1.0622: adding quickfix items marks items as valid errors #11373Jan Edmund Lazo2019-11-11
| | | | | | | | | | | | Problem: Adding quickfix items marks items as valid errors. (Daniel Hahler) Solution: Check when items are valid. (Yegappan Lakshmanan, closes vim/vim#3683, closes vim/vim#3633) https://github.com/vim/vim/commit/9752c72f492312acd1c84e673864faed31a3bc97
* | Merge pull request #11356 from bfredl/extmark2Björn Linse2019-11-11
|\ \ | | | | | | extmark API feature
| * | extmark: review changesBjörn Linse2019-11-11
| | |
| * | nsmarks: initial committimeyyy2019-11-11
| | |
| * | namespace: add ns_initialized funcTimothy C Eichler2019-11-11
| |/
* / api: fix typo in debug function nameMarco Hinz2019-11-11
|/
* spellfile.vim: improve error message for missing spellfileJustin M. Keyes2019-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: If spellfile is missing, then "set spell" in modeline/sandbox fails with a non-obvious error. Solution: Check for sandbox early and give a meaningful error. Fixes #11359 Test case: # test.latex has `% vim: set spelllang=hu:` # no spell file for `hu` yet! nvim -u NORC --cmd 'autocmd FileType tex setlocal spell' --cmd 'set modeline' test.latex Before: No spell file for "hu" in utf-8 Download it? Downloading hu.utf-8.spl... Error detected while processing /usr/local/share/nvim/runtime/autoload/netrw.vim: line 583: E12: Command not allowed from exrc/vimrc in current dir or tag search: au WinEnter *^Iif &ft == "netrw"|call s:NetrwInsureWinVars()|endif Error detected while processing function spellfile#LoadFile[60]..spellfile#Nread[13]..netrw#NetRead[4]..<SNR>67_NetrwOptionsSave: line 66: E171: Missing :endif Error detected while processing function spellfile#LoadFile[60]..spellfile#Nread: line 13: E171: Missing :endif Error detected while processing function spellfile#LoadFile: line 60: E171: Missing :endif Error detected while processing modelines: line 1: E12: Command not allowed from exrc/vimrc in current dir or tag search After: Error detected while processing function spellfile#LoadFile: line 5: E605: Exception not caught: Cannot download spellfile in sandbox/modeline. Try ":set spell" from the cmdline. Error detected while processing modelines: line 1: E12: Command not allowed from exrc/vimrc in current dir or tag search
* Merge pull request #11366 from bfredl/flakycatBjörn Linse2019-11-10
|\ | | | | tests: vim.rpcnotify test is flaky
| * tests: vim.rpcnotify test is flakyBjörn Linse2019-11-10
|/
* api: add nvim_buf_get_virtual_text() (#11354)Marco Hinz2019-11-10
| | | This adds the missing partner function of nvim_buf_set_virtual_text().
* Merge pull request #11310 from bfredl/luarpcBjörn Linse2019-11-10
|\ | | | | lua: add vim.rpcrequest, vim.rpcnotify and vim.NIL