aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * fix(ui): recording change doesn't trigger statusline redrawLuuk van Baal2023-04-01
| |
* | Merge pull request #22778 from luukvbaal/getextbfredl2023-04-02
|\ \ | | | | | | feat(extmarks): extend nvim_buf_get_extmarks()
| * | feat(extmarks): extend nvim_buf_get_extmarks()Luuk van Baal2023-04-01
| | | | | | | | | | | | | | | | | | | | | Problem: Can not get all extmarks in a buffer. Properties are missing from the details array. Solution: Allow getting all extmarks in a buffer by supplying a -1 "ns_id". Add missing properties to the details array.
* | | refactor: remove char_u (#22829)dundargoc2023-04-02
| | | | | | | | | Closes https://github.com/neovim/neovim/issues/459
* | | Merge pull request #22832 from clason/bump-LuvChristian Clason2023-04-01
|\ \ \ | | | | | | | | | | | | build(deps): bump luv to HEAD docs(luvref): update to version bump
| * | | docs(luvref): update to version bumpChristian Clason2023-04-01
| | | |
| * | | build(deps): bump Luv to HEAD - 093a977b8Christian Clason2023-04-01
| | | |
* | | | feat: allow function passed to defaulttable to take an argument (#22839)Gregory Anders2023-04-01
| | | | | | | | | | | | | | | | Pass the value of the key being accessed to the create function, to allow users to dynamically generate default values.
* | | | fix(health): stop using deprecated ts.language.inspect_language() (#22850)Sizhe Zhao2023-04-01
| | | |
* | | | Merge pull request #22837 from clason/ts-syncChristian Clason2023-04-01
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build(deps): bump tree-sitter-viml to HEAD fix(tests): adapt treesitter/highlight_spec priority test fix(treesitter): update queries from nvim-treesitter refactor(treesitter)!: rename help parser to vimdoc docs(treesitter): add query injections
| * | | | docs(treesitter): add query injectionsChristian Clason2023-04-01
| | | | |
| * | | | refactor(treesitter)!: rename help parser to vimdocChristian Clason2023-04-01
| | | | |
| * | | | fix(treesitter): update queries from nvim-treesitterChristian Clason2023-04-01
| | | | | | | | | | | | | | | | | | | | remove self-injection for C preprocessor macros (can be very slow)
| * | | | fix(tests): adapt treesitter/highlight_spec priority testChristian Clason2023-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | Still relied on the old `@Foo`->`Foo` capture to highlight mechanism; use capture with default highlight instead.
| * | | | build(deps): bump tree-sitter-viml to HEADChristian Clason2023-03-31
| | |_|/ | |/| |
* | | | vim-patch:9.0.1434: crash when adding package already in 'runtimepath' (#22849)zeertzjq2023-04-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when adding package already in 'runtimepath'. Solution: Change order for using 'runtimepath' entries. (closes vim/vim#12215) https://github.com/vim/vim/commit/39c9ec16ea7ef13c5d783481542ee9aa6c05282c
* | | | refactor: use bool type for global variables (#22842)ii142023-04-01
| | | |
* | | | refactor: add const and remove unnecessary casts (#22841)ii142023-04-01
|/ / /
* | | refactor(loader): cache hash informationLewis Russell2023-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever we run fs_stat() on a path, save this information in the loader so it can be re-used. - Loader.loadfile: Remove arguments `hash` as it is no longer needed. - Loader.loader: Use _G.loadstring instead of Loader.load This allows plugins to wrap loadstring to inspection and profiling - factor out read file logic
* | | fix(api): return both link and attributes with nvim_get_hl (#22824)Sindre T. Strøm2023-03-31
| | | | | | | | | | | | | | | Problem: No way to get the actual highlight attributes for a linked group through |nvim_get_hl()| (not the attributes from the link target). Solution: Return the actual attributes as well as the link target name.
* | | fix(diagnostic): use correct field name for tags (#22835)Akin2023-03-31
| | | | | | | | | | | | LSP tags are added to the diagnostic as "tags" but referred to as "_tags" in the diagnostic underline handler
* | | fix(loader): disable profiling by defaultLewis Russell2023-03-31
|/ /
* | fix(filetype): make recursive work...again (#22826)Lewis Russell2023-03-30
| |
* | feat(diagnostic): add support for tagsLewis Russell2023-03-30
| | | | | | | | | | | | The LSP spec supports two tags that can be added to diagnostics: unnecessary and deprecated. Extend vim.diagnostic to be able to handle these.
* | Merge pull request #22791 from lewis6991/refactor/loadermiscLewis Russell2023-03-30
|\ \ | | | | | | refactor(loader): changes
| * | refactor(loader): simplify tracking logicLewis Russell2023-03-26
| | |
| * | feat(vim.fs): improve normalizeLewis Russell2023-03-26
| | | | | | | | | | | | | | | | | | - Add options argument with an option to expand env vars - Resolve '//' -> '/' - Use in vim.loader
| * | refactor(loader): add typing for package.loadersLewis Russell2023-03-26
| | |
| * | refactor(loader): remove BufWritePost autocmdLewis Russell2023-03-26
| | |
| * | refactor(loader): use vim.fsLewis Russell2023-03-26
| |/
* | fix(autocmd): handle recursion for force set (#22820)Lewis Russell2023-03-30
| |
* | feat: add `vim.treesitter.language.get_filetypes()` (#22643)Lewis Russell2023-03-30
| |
* | fix(filetype): avoid recursive FileType autocmds (#22813)Lewis Russell2023-03-29
| |
* | build(deps): switch to Launchpad for libvterm and libtermkey (#22811)Christian Clason2023-03-29
| | | | | | | | | | | | Problem: www.leonerd.org.uk is sometimes unreachable Solution: switch to Launchpad URLs for libvterm (official page) and libtermkey (source mirror for Ubuntu package)
* | vim-patch:9.0.1430: Livebook files are not recognized (#22808)Christian Clason2023-03-29
| | | | | | | | | | | | | | | | | | Problem: Livebook files are not recognized. Solution: Add a pattern for Livebook files. (Mathias Jean Johansen, closes vim/vim#12203) https://github.com/vim/vim/commit/64002035178ac3e0d9ab7269d1bf06c6ede5a854 Co-authored-by: Mathias Jean Johansen <mathias@mjj.io>
* | fix(api): Use local LastSet structure in nvim_get_option_info (#22741)Michal Liszcz2023-03-29
| | | | | | | | | | | | | | | | | | | | fix(api): use local LastSet structure in nvim_get_option_info * nvim_get_option_info is deprecated. It is always using the global LastSet information as reported in #15232. * nvim_get_option_info2 is added. The new function additionally accepts an 'opts' table {scope, buf, win} allowing to specify the option scope and query local options from another buffer or window.
* | Merge pull request #22759 from dundargoc/build/wintoolsdundargoc2023-03-28
|\ \
| * | build: download wintools executables separatelydundargoc2023-03-28
| | | | | | | | | | | | | | | | | | | | | The wintools executables are stored in a zip file, making it inconvenient to bump these during releases. Instead, unpack the executables in the deps repository and download each executable separately.
| * | build: drop curl.exe on Windowsdundargoc2023-03-28
|/ / | | | | | | | | Curl is already shipped by default on Windows 10 starting from versions 1803. As we already require version 1809 we can safely remove it.
* / vim-patch:9.0.1429: invalid memory access when ending insert mode (#22792)zeertzjq2023-03-27
|/ | | | | | | | Problem: Invalid memory access when ending insert mode. Solution: Check if the insert_skip value is valid. https://github.com/vim/vim/commit/1a08a3e2a584889f19b84a27672134649b73da58 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* feat(lua): add `vim.loader`Folke Lemaitre2023-03-26
| | | feat: new faster lua loader using byte-compilation
* test: fix flaky watchfiles tests (#22637)Jon Huhn2023-03-26
|
* test: use exec_capture() in more places (#22787)zeertzjq2023-03-26
| | | | | | | Problem: Using `meths.exec2("code", { output = true })` is too verbose. Solution: Use exec_capture() in more places.
* vim-patch:9.0.1428: cursor in wrong position when leaving insert mode (#22786)zeertzjq2023-03-26
| | | | | | | | | Problem: Cursor in wrong position when leaving insert mode. Solution: Update the w_valid flags. Position the cursor also when not redrawing. (closes vim/vim#12137) https://github.com/vim/vim/commit/c174c2e58c9e24a75b189e01143e6d057b84e96e Co-authored-by: Bram Moolenaar <Bram@vim.org>
* fix: snprintf buffer overflow detected by -D_FORTIFY_SOURCE=3 (#22780)Andreas Schneider2023-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Wrong buffer size argument passed to snprintf() in set_cmdarg(): Thread no. 1 (24 frames) #8 snprintf at /usr/include/bits/stdio2.h:54 #9 set_cmdarg at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/eval.c:7044 #10 apply_autocmds_group at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/autocmd.c:1843 #11 apply_autocmds_exarg at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/autocmd.c:1549 #12 readfile at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/fileio.c:617 #13 buf_reload at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/fileio.c:5038 #14 buf_check_timestamp at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/fileio.c:4952 #15 check_timestamps at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/fileio.c:4678 #16 ex_checktime at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/ex_cmds2.c:765 #17 execute_cmd0 at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/ex_docmd.c:1620 #18 do_one_cmd at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/ex_docmd.c:2275 #19 do_cmdline at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/ex_docmd.c:584 #20 ex_execute at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/eval.c:7727 #21 execute_cmd0 at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/ex_docmd.c:1620 #22 do_one_cmd at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/ex_docmd.c:2275 #23 do_cmdline at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/ex_docmd.c:584 #24 do_ucmd at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/usercmd.c:1661 #25 execute_cmd0 at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/ex_docmd.c:1612 #26 do_one_cmd at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/ex_docmd.c:2275 #27 do_cmdline at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/ex_docmd.c:584 #28 nv_colon at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/normal.c:4058 #29 normal_execute at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/normal.c:1172 #30 state_enter at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/state.c:88 #31 normal_enter at /usr/src/debug/neovim-0.8.2-2.fc38.x86_64/src/nvim/normal.c:471 Solution: Subtract the offset from the buffer size. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* Merge pull request #22762 from bfredl/hl2ctermbfredl2023-03-25
|\ | | | | fix(api): make nvim_get_hl return 'cterm' attrs properly
| * fix(api): make nvim_get_hl return 'cterm' attrs properlybfredl2023-03-23
| |
* | feat(api): nvim_exec2(), deprecate nvim_exec() #19032Evgeni Chasnovski2023-03-25
| | | | | | | | | | | | | | Problem: The signature of nvim_exec() is not extensible per ":help api-contract". Solution: Introduce nvim_exec2() and deprecate nvim_exec().
* | feat(lsp): render markdown in docs hover #22766Roberto Pommella Alegro2023-03-25
| | | | | | | | | | | | | | | | | | | | | | Problem: LSP docs hover (textDocument/hover) doesn't handle HTML escape seqs in markdown. Solution: Convert common HTML escape seqs to a nicer form, to display in the float. closees #22757 Signed-off-by: Kasama <robertoaall@gmail.com>
* | docs(test): using cmake directly (without make) #22781dundargoc2023-03-25
| |