aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* | | UpdatesAshkan Kiani2019-11-21
| | | | | | | | | | | | | | | | | | | | | | | | - Use correct implementation of text_edits. - Send indent options to rangeFormatting and formatting. - Remove references to vim bindings and filetype from lsp.txt - Add more examples to docs. - Add before_init to allow changing initialize_params.
* | | Merge remote-tracking branch 'origin/master' into lsp-followupAshkan Kiani2019-11-21
|\| |
| * | lsp: transmit "\n" after last line when 'eol' is setBjörn Linse2019-11-21
| | | | | | | | | | | | | | | Otherwise some servers like clangd will emit spurious "no newline at end of file" warnings.
| * | Merge #11280 "man.vim: implement 'tagfunc'"Justin M. Keyes2019-11-20
| |\ \ | | |/ | |/|
| | * Sort man pages by relevance during goto_tag()Rob Pilling2019-11-13
| | |
| | * Don't attempt swapfiles for man pagesRob Pilling2019-11-13
| | | | | | | | | | | | | | | This is because we now use :tag to open a man page, which attempts to open a swap file for a path under man://...
| | * Remove eventignore - :Man now uses :tag to populate the pageRob Pilling2019-11-13
| | |
| | * man.vim: remove push_tag and simplify man#open_pageRob Pilling2019-10-29
| | |
| | * man.vim: parse the section from the tagRob Pilling2019-10-24
| | |
| | * man.vim: `:Man` preserves the tag stackRob Pilling2019-10-24
| | |
| | * man.vim: use 'tagfunc' instead of remappingRob Pilling2019-10-24
| | | | | | | | | | | | man#pop_tag() is also no longer used
| | * man.vim: pull out s:get_paths()Rob Pilling2019-10-24
| | |
| * | vim-patch:8.1.0251: support full paths for 'backupdir' #11269Joe Hermaszewski2019-11-17
| | | | | | | | | | | | | | | | | | | | | Problem: Using a full path is supported for 'directory' but not for 'backupdir'. (Mikolaj Machowski) Solution: Support 'backupdir' as well. (Christian Brabandt, closes vim/vim#179) https://github.com/vim/vim/commit/b782ba475a3f8f2b0be99dda164ba4545347f60f
| * | doc: Lua [ci skip] #11378Justin M. Keyes2019-11-17
| | | | | | | | | | | | - Rework :help lua-commands - Rename if_lua.txt => lua.txt
* | | Remove resolve_bufnr/lualintAshkan Kiani2019-11-20
| | |
* | | Use the apply_text_edits from util.Ashkan Kiani2019-11-20
| | |
* | | Fix reference in rename.Ashkan Kiani2019-11-20
| | |
* | | Add full text_edit implementation.Ashkan Kiani2019-11-20
| | | | | | | | | | | | | | | | | | | | | | | | - Implements textDocument/formatting, textDocument/rangeFormatting, workspace/applyEdit. TODO: - still has edge cases around replacement probably. Only tested with inserts on the same position.
* | | Extend list_extend to take start/finish.Ashkan Kiani2019-11-20
| | |
* | | Use err_message in default_callbacksAshkan Kiani2019-11-20
| | |
* | | Satisfy lualint.Ashkan Kiani2019-11-20
| | |
* | | Fix rename support.Ashkan Kiani2019-11-20
| | |
* | | Spaces not tabs.Ashkan Kiani2019-11-20
| | |
* | | Change error writer to not be annoying.Ashkan Kiani2019-11-20
| | |
* | | Change callback resolution to be dynamic.Ashkan Kiani2019-11-20
| | | | | | | | | | | | | | | This allows default_callbacks to be specified after client creation to be considered. Also it simplifies the code.
* | | Move everything to buf & default_callbacksAshkan Kiani2019-11-20
| | | | | | | | | | | | | | | | | | | | | | | | - Rename builtin_callbacks to default_callbacks and slightly change its semantics: - No longer contains the default implementations. Instead, any default_callbacks will be used in preference for our .buf methods. - Add this to the docs.
* | | 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.
* | 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.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
* | | 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.
* | Add v:lua.func() vimL syntax for calling luaBjörn Linse2019-11-16
| | | | | | | | Also simplify error messages when calling lua from vimL.
* | 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
* | 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.
* | doc [ci skip]Justin M. Keyes2019-11-11
| |
* | Merge #11307 'Lua: vim.validate()'Justin M. Keyes2019-11-11
|\ \
| * | 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
* | | extmark: review changesBjörn Linse2019-11-11
| | |
* | | nsmarks: initial committimeyyy2019-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
* | api: add nvim_buf_get_virtual_text() (#11354)Marco Hinz2019-11-10
| | | | | | This adds the missing partner function of nvim_buf_set_virtual_text().
* | lua: vim.rpcrequest, vim.rpcnotify, vim.NILBjörn Linse2019-11-10
| |