Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | ts: Add language version to vim.treesitter (#14255) | TJ DeVries | 2021-03-30 |
| | |||
* | lint | chentau | 2021-01-26 |
| | |||
* | Don't show entire context when completing | Tony Chen | 2021-01-26 |
| | |||
* | feat: add completion to ':lua' | TJ DeVries | 2021-01-26 |
| | |||
* | api: add vim.version (#13762) | Michael Lingelbach | 2021-01-18 |
| | | | | | | | | | | | | | retrun a structured version dict :lua print(vim.inspect(vim.version())) { api_compatible = 0, api_level = 7, api_prerelease = true, major = 0, minor = 5, patch = 0 } | ||
* | executor: use new nlua_ name pattern | Björn Linse | 2020-12-01 |
| | |||
* | startup: add init.lua as an alternative user config, fixes #7895 | dm1try | 2020-12-01 |
| | |||
* | Removed restricted mode - Fix #11972 | georg3tom | 2020-11-11 |
| | |||
* | lua: make vim.inspect available early so it can be used for path debugging | Björn Linse | 2020-11-05 |
| | |||
* | startup: handle autoload and lua packages during startup | Björn Linse | 2020-11-02 |
| | | | | ¡NO HAY BANDA! | ||
* | api: add API for themes | Björn Linse | 2020-11-01 |
| | | | | | | | | | | co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later() | ||
* | lua: vim.wait allows control of fast events (#13053) | TJ DeVries | 2020-10-06 |
| | | | | | | | | | * lua: vim.wait allows control of fast events * fixup: remove requirement of function for easier waiting * fixup: lint * fixup: bfredl comments | ||
* | lua: cleanup naming conventions of executor functions | Björn Linse | 2020-09-10 |
| | |||
* | lua: add vim.register_keystroke_callback (#12536) | TJ DeVries | 2020-08-14 |
| | | | | | | | | | | | | | | | * feat: Add vim.register_keystroke_callback * fixup: Forgot to remove mention of old option * fixup: Answer jamessan comments * fixup: Answer norcalli comments * fixup: portability * Update runtime/doc/lua.txt Co-authored-by: Ashkan Kiani <ashkan.k.kiani@gmail.com> | ||
* | fix: runtimepath always updates lua package.path | TJ DeVries | 2020-08-10 |
| | |||
* | Merge pull request #12653 from erw7/fix-build-freebsd-ci | James McCoy | 2020-07-20 |
|\ | | | | | build: Fix build failure with CI in FreeBSD | ||
| * | build: Fix build failure with CI in FreeBSD | erw7 | 2020-07-20 |
| | | | | | | | | Co-authored-by: James McCoy <jamessan@jamessan.com> | ||
* | | lua: Fix crash on unprotected lua errors (#12658) | TJ DeVries | 2020-07-19 |
|/ | | | | | | | | | | | | | | | | | | Can be reproduced with a script like this: -- in some lua file vim.fn.timer_start(10, function() error("uh....") end) -- will cause neovim to crash with the following error. PANIC: unprotected error in call to Lua API (nlua_CFunction_func_call failed.) After this, it will instead print the error message from the top of the stack, like so. tmp/error_nvim.lua:10: uh... Also added an example test. Previously this test caused the embedded nvim to panic. | ||
* | lua: Add ability to pass tables with __call | TJ DeVries | 2020-07-10 |
| | | | | | | | | | | | | vim-patch:8.2.1054: not so easy to pass a lua function to Vim vim-patch:8.2.1084: Lua: registering function has useless code I think I have also opened up the possibility for people to use these callbacks elsewhere, since I've added a new struct that we should be able to use. Also, this should allow us to determine what the state of a list is in Lua or a dictionary in Lua, since we now can track the luaref as we go. | ||
* | lua: Add ability to pass lua functions directly to vimL | TJ DeVries | 2020-07-10 |
| | |||
* | treesitter: simplify puhstree call process | Thomas Vigouroux | 2020-06-23 |
| | |||
* | lua: vim.wait implementation | TJ DeVries | 2020-05-30 |
| | |||
* | lua: vim.wait initial outline | Björn Linse | 2020-05-30 |
| | |||
* | Merge #11851 'eval.c: factor out eval/userfunc.c' | Justin M. Keyes | 2020-04-26 |
|\ | | | | | | | vim-patch:7.4.2058 | ||
| * | rename: user_funcs -> userfunc | Jakub Łuczyński | 2020-02-13 |
| | | | | | | | | Lets stick with vim for now | ||
| * | fix: includes | Jakub Łuczyński | 2020-02-13 |
| | | |||
* | | lua: add regex support, and `@match` support in treesitter queries | Björn Linse | 2020-02-26 |
|/ | |||
* | eval.c: factor out eval/funcs.c #11828 | Jakub Łuczyński | 2020-02-10 |
| | | | | | | close #11828 ref #5081 cf. vim patch 7.4.2063 | ||
* | treesitter: add standard &rtp/parser/ search path for parsers | Björn Linse | 2020-02-07 |
| | |||
* | lua: metatable for empty dict value | Björn Linse | 2020-01-01 |
| | |||
* | clang/'Logic error': set ret_tv if non-null | Jan Edmund Lazo | 2019-12-25 |
| | |||
* | tree-sitter: implement query functionality and highlighting prototype ↵ | Björn Linse | 2019-12-22 |
| | | | | [skip.lint] | ||
* | API: rename nvim_execute_lua => nvim_exec_lua | Justin M. Keyes | 2019-12-02 |
| | | | | | | - We already find ourselves renaming nvim_execute_lua in tests and scripts, which suggests "exec" is the verb we actually want. - Add "exec" verb to `:help dev-api`. | ||
* | Lua: vim.env, vim.{g,v,w,bo,wo} #11442 | Ashkan Kiani | 2019-11-24 |
| | | | | | | | | - Add vim variable meta accessors: vim.env, vim.{g,v,w,bo,wo} - Redo gen_char_blob to generate multiple blobs instead of just one so that multiple Lua modules can be inlined. - Reorder vim.lua inclusion so that it can use previously defined C functions and utility functions like vim.shared and vim.inspect things. - Inline shared.lua into nvim, but also keep it available in runtime. | ||
* | Add v:lua.func() vimL syntax for calling lua | Björn Linse | 2019-11-16 |
| | | | | Also simplify error messages when calling lua from vimL. | ||
* | lua: vim.rpcrequest, vim.rpcnotify, vim.NIL | Björn Linse | 2019-11-10 |
| | |||
* | lua/executor.c: use TRY_WRAP | Justin M. Keyes | 2019-10-29 |
| | |||
* | lua: add vim.fn.{func} for direct access to vimL function | Björn Linse | 2019-10-27 |
| | | | | | | | | compared to vim.api.|nvim_call_function|, this fixes some typing issues due to the indirect conversion via the API. float values are preserved as such (fixes #9389) as well as empty dicts/arrays. Ref https://github.com/norcalli/nvim.lua for the call syntax | ||
* | tree-sitter: fix lint, delete "demo" plugin (replaced by functional tests) | Björn Linse | 2019-09-28 |
| | |||
* | tree-sitter: inspect language | Björn Linse | 2019-09-28 |
| | |||
* | tree-sitter: style | Björn Linse | 2019-09-28 |
| | |||
* | tree-sitter: rename tree_sitter => treesitter for consistency | Björn Linse | 2019-09-28 |
| | |||
* | tree-sitter: add basic testing on ci | Björn Linse | 2019-09-28 |
| | | | | build tree-sitter c parser on ci for testing purposes | ||
* | tree-sitter: support pre-registration of languages | Björn Linse | 2019-09-28 |
| | |||
* | tree-sitter: objectify API | Björn Linse | 2019-09-28 |
| | |||
* | tree-sitter: load parsers as .so files | Björn Linse | 2019-09-28 |
| | |||
* | tree-sitter: initial tree-sitter support | Björn Linse | 2019-09-28 |
| | |||
* | tui/input: defer nvim_paste properly. | Björn Linse | 2019-08-31 |
| | | | | | | | | | Otherwise cursor and redraw code for normal and insert mode will not run. The "tickle" workaround was used for this instead, and can now be removed. The builtin vim.lua got the name [string "-- Nvim-Lua stdlib: thevimmodule (:help l..."] in error messages. Fix it to something reasonable. | ||
* | Merge pull request #10171 from blueyed/vim-8.1.1318 | Daniel Hahler | 2019-08-09 |
|\ | | | | | vim-patch:8.1.1318: code for text changes is in a "misc" file | ||
| * | includes | Daniel Hahler | 2019-08-07 |
| | |