aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
Commit message (Collapse)AuthorAge
...
* | Fix hovers staying on bufhiddenAshkan Kiani2019-11-21
| |
* | 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.
* | 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.
* 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.
* 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
* lua: vim.rpcrequest, vim.rpcnotify, vim.NILBjörn Linse2019-11-10
|
* runtime: Use module pattern with vim/shared.luaHirokazu Hata2019-10-23
| | | | | It's a bit cumbersome for us to add an export target every time we define a new function. It's also cumbersome to care about the order of definition when creating a new function by referring to other functions in the module.
* lua/stdlib: adjust some validation messages #11271Hirokazu Hata2019-10-26
| | | | close #11271
* tree-sitter: use "module" pattern in lua sourceBjö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: inspect languageBjö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: load parsers as .so filesBjörn Linse2019-09-28
|
* tree-sitter: initial tree-sitter supportBjörn Linse2019-09-28
|
* test: Rename meth_pcall to pcall_errJustin M. Keyes2019-09-06
| | | | | | | - Rename `meth_pcall`. - Make `pcall_err` raise an error if the function does not fail. - Add `vim.pesc()` to treat a string as literal where a Lua pattern is expected.
* man.vim: Handle ANSI escape sequences with ":" #10267Kovas Palunas2019-06-30
| | | | closes #10267
* doc #10017Justin M. Keyes2019-05-25
| | | | | - gen_vimdoc.py: fancy "bullet" - rework `:help channel-callback` - rename `:help buffered` to `:help channel-buffered`
* lua/shared: share trim() implJustin M. Keyes2019-05-20
|
* lintJustin M. Keyes2019-05-19
|
* lua/shared: share more stuffJustin M. Keyes2019-05-19
| | | | | Leave trim() in vim.lua, because gen_vimdoc.py needs at least one function in there, else it gets confused...
* lua/shared: share deepcopy() with test/*Justin M. Keyes2019-05-19
| | | | deepcopy() was duplicated in test/helpers.lua
* gen_vimdoc.py: support lua/shared.lua module [ci skip]Justin M. Keyes2019-05-19
|