Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix(lua): preserve argument lists which are not lists | Björn Linse | 2021-08-29 |
| | |||
* | tests(lua/on_yank): assert conditions that fail correctly #15495 | notomo | 2021-08-27 |
| | | | | The test added in 274a3504a790a799b28ee89c75e29fb4dbdff41f does not fail if the code changes are reverted. | ||
* | fix(lua): verify buffer in highlight.on_yank (#15482) | notomo | 2021-08-26 |
| | | | | | Resolve an issue with deferred clearing of highlight failing if the buffer is deleted before the timeout by checking whether the buffer is valid first. | ||
* | Merge #15293 Vimscript "method" syntax | Justin M. Keyes | 2021-08-26 |
|\ | | | | | Port VimL's method call syntax - vim-patch:8.1.{1638,1800,1803,1807,1809,1816,1820,1821,1828,1834,1835,1861,1863,1878,1879,1888,1909,1911,1912} | ||
| * | feat(v:lua): support calling v:lua as a method | Sean Dewar | 2021-08-13 |
| | | |||
| * | fix(v:lua): fix emsg when calling v:lua directly | Sean Dewar | 2021-08-12 |
| | | | | | | | | | | | | | | | | | | | | v:lua expressions are represented using vvlua_partial. As v:lua isn't intended to be called directly, it's given an empty pt_name. Because of this, calling v:lua directly like "v:lua()" will cause "E117: Unknown function: ", with an empty name. Instead, have call_func() show the name "v:lua" in the emsg. | ||
* | | fix(bufupdates): send correct updates for visual paste | Thomas Vigouroux | 2021-08-25 |
| | | | | | | | | | | | | One step further towards stable tree-sitter. Co-authored-by: Björn Linse <bjorn.linse@gmail.com> | ||
* | | feat(api): add lua C bindings for xdiff (#14536) | Lewis Russell | 2021-08-22 |
|/ | | | | | | | | | | | | | | | | * feat(api): add lua C bindings for xdiff * chore: opt.hunk_lines -> opt.result_type opt.on_hunk now takes precedence over opt.result_type * chore: fix indents Fix indents * chore: change how priv is managed Assign priv NULL and unconditionally apply XFREE_CLEAR to it when finished. | ||
* | fix(shared): do not treat empty tables as list in deep extend (#15094) | Folke Lemaitre | 2021-07-19 |
| | | | | | | | | | | An empty table was previously always treated as a list, which means that while merging tables, whenever an empty table was encountered it would always truncate any table on the left. `vim.tbl_deep_extend("force", { b = { a = 1 } }, { b = {} })` Before: `{ b = {} }` After: `{ b = { a = 1 } }` | ||
* | feat(vim.uri): Allow URI schemes other than file: without authority | Tom Payne | 2021-07-10 |
| | |||
* | test(lsp): file URIs without a hostname | Alessandro Pezzoni | 2021-07-10 |
| | |||
* | fix(vim.opt): vimL map string values not trimmed (#14982) | jadedpasta | 2021-07-04 |
| | | | | | | | | | Options formatted as a list of comma-separated key-value pairs may have values that contain leading and trailing whitespace characters. For example, the `listchars` option has a default value of `"tab:> ,trail:-,nbsp:+"`. When converting this value to a lua table, leading and trailing whitespace should not be trimmed. Co-authored-by: Robert Hrusecky <robert.hrusecky@utexas.edu> | ||
* | Merge pull request #14779 from tjdevries/tjdevries/vim_opt_fixes | TJ DeVries | 2021-06-29 |
|\ | | | | | An assortment of various vim.opt fixups. | ||
| * | fix(vim.opt): Fix #14828 with empty values being incorrectly inserted | TJ DeVries | 2021-06-29 |
| | | |||
| * | fix(vim.opt): Fix #14668 Now correctly handles unescaped commas in isfname style | TJ DeVries | 2021-06-29 |
| | | |||
| * | fix(vim.opt): Fix #14669 whichwrap now acts as expected | TJ DeVries | 2021-06-29 |
| | | |||
| * | fix(vim.opt): Add basic error handling | David Zhang | 2021-06-29 |
| | | |||
| * | fix(vim.opt): Get window options before setting. | ckipp01 | 2021-06-29 |
| | | | | | | | | | | | | | | This closes #14677, but I also am a little unsure if there are times where this may not be correct. However, this just changes the behavior that even if `was_set` was false, we still get for `nvim_win_get_option`. | ||
| * | fix(vim.opt): #14708 Now lets you put duplicate values in wildmode | TJ DeVries | 2021-06-29 |
| | | |||
* | | Merge pull request #14335 from chentau/extmark_delbytes | Björn Linse | 2021-06-29 |
|\ \ | |/ |/| | Extmarks: manually zero out `curbuf->deleted_bytes2` on substitute and join | ||
| * | Manually zero out deleted_bytes2 when substituting and joining lines | chentau | 2021-06-29 |
| | | |||
* | | refactor(tests): Simplify tests at functional/lua/runtime_spec | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in syntax | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in ftdetect | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in indent | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in ftplugin | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in compiler | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in colorschemes | shadmansaleh | 2021-06-11 |
|/ | | | | * tests(runtime): move runtime/plugin tests to functional/lua/runtime_spec | ||
* | api: add nvim_win_call | notomo | 2021-06-10 |
| | |||
* | add tests in buffer_updates | jbyuki | 2021-06-09 |
| | |||
* | lua: Add vim.opt and fix scopes of vim.o (#13479) | TJ DeVries | 2021-05-28 |
| | | | | | | | | | | | | | * lua: Add vim.opt * fixup: cleaning * fixup: comments * ty clason * fixup: comments * this is the last commit. period. | ||
* | Merge pull request #14575 from vigoux/virtualedit-bytes | Thomas Vigouroux | 2021-05-20 |
|\ | | | | | fix(bufupdate): send events when inserting with virtualedit | ||
| * | fix(bufupdate): send events when inserting with virtualedit | Thomas Vigouroux | 2021-05-18 |
| | | | | | | | | | | Problem first raised https://github.com/nvim-treesitter/nvim-treesitter/issues/1304 | ||
* | | lua: use proper conversion of vim.g values | Björn Linse | 2021-05-19 |
|/ | |||
* | make get_region_bytecount end-exclusive | chentau | 2021-05-09 |
| | |||
* | refactor nvim_buf_set_lines to use extmark_splice | chentau | 2021-05-09 |
| | |||
* | splice extmarks on every line for block visual paste | chentau | 2021-05-06 |
| | |||
* | Merge pull request #14385 from chentau/extmark_delete | Björn Linse | 2021-04-17 |
|\ | | | | | Extmarks: remove `curbuf->deleted_bytes2` from `op_delete` | ||
| * | extmarks: remove curbuf->deleted_bytes2 from op_delete | chentau | 2021-04-16 |
| | | |||
* | | flush curbuf->deleted_bytes2 after calling do_move | chentau | 2021-04-14 |
|/ | |||
* | Merge pull request #14318 from chentau/extmark_luado | Björn Linse | 2021-04-13 |
|\ | | | | | extmark: splice extmarks on :luado | ||
| * | extmark: splice extmarks on :luado | chentau | 2021-04-12 |
| | | |||
* | | Merge pull request #14317 from chentau/extmark_sub | Björn Linse | 2021-04-10 |
|\ \ | | | | | | | extmark: correct extmark_splice call with substitute and inccommand when replacing with escaped backslashes | ||
| * | | extmark: correct extmark_splice call with inccommand | chentau | 2021-04-09 |
| |/ | |||
* / | extmark: fixes for noexpandtab and retab | chentau | 2021-04-02 |
|/ | |||
* | Merge pull request #14191 from chentau/extmark_blockpaste | Björn Linse | 2021-03-24 |
|\ | | | | | Extmarks: send correct buffer events on blockwise paste for nonuniform lines | ||
| * | Extmarks: correct buffer events on blockwise paste | chentau | 2021-03-23 |
| | | |||
* | | Correctly splice extmarks on tab with noexpandtab set | chentau | 2021-03-22 |
|/ | |||
* | Merge pull request #13875 from smolck/vim_fn_error_on_api | Björn Linse | 2021-03-09 |
|\ | | | | | vim.fn: throw error when trying to use API function | ||
| * | use pcall_err | smolck | 2021-03-09 |
| | |