aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* refactor(undo): don't assume curbuf in u_compute_hashThomas Vigouroux2021-07-09
|
* fix(lsp): support duplicate params in signature help (#15032)Folke Lemaitre2021-07-09
|
* Merge pull request #12971 from vigoux/decurbufBjörn Linse2021-07-09
|\ | | | | Decrease reliance on curbuf in BUFEMPTY and `undo.c`
| * refactor(undo): remove last occurence of save_curbufThomas Vigouroux2021-07-08
| |
| * refactor: remove all mentions to `curbuf_lock`Thomas Vigouroux2021-07-08
| |
| * style(undo): remove unnecessary commentThomas Vigouroux2021-07-06
| |
| * fix(qf): use correct buffer fieldThomas Vigouroux2021-07-06
| |
| * buffer: move BUFEMPTY to a functionThomas Vigouroux2021-07-06
| |
| * undo: reduce reliance on curbufThomas Vigouroux2021-07-06
| |
| * buffer: don't rely on curbuf in BUFEMPTYThomas Vigouroux2021-07-06
| |
* | Merge pull request #14908 from neovim/marvim/api-doc-update/masterJames McCoy2021-07-08
|\ \ | | | | | | docs: regenerate
| * | docs: regeneratemarvim2021-07-08
| | |
* | | build(cmake): skip download if target file exists #14844)comicfans2021-07-08
| | |
* | | vim-patch:8.2.3125: variables are set but not used #15028dundargoc2021-07-08
| | | | | | | | | | | | | | | | | | Problem: Variables are set but not used. Solution: Move the declarations to the block where they are used. (closes vim/vim#8527) https://github.com/vim/vim/commit/09f688c33aad9692276dfb68842cf0621a0e2002
* | | vim-patch:8.2.3089: garbage collection has useless code #15027dundargoc2021-07-08
|/ / | | | | | | | | Problem: Garbage collection has useless code. Solution: Bail out when aborting. (closes vim/vim#8504) https://github.com/vim/vim/commit/20cc52832067d22a3cd47dfb0805251228c32e7d
* | fix(lsp): restore diagnostics extmarks that were moved to the last edit line ↵Folke Lemaitre2021-07-08
| | | | | | | | (#15023)
* | feat(lsp): highlight active parameter in signature help (#15018)Folke Lemaitre2021-07-07
| |
* | doc: "--remote" is not supported #14936cbarrete2021-07-07
| | | | | | | | There are plans to support the --remote-xx stuff (or something like it): #1750 #8326 But we don't need this doc meanwhile.
* | doc: remove mentions of compile-time flags #14935cbarrete2021-07-07
| | | | | | | | Nvim always compiles everything in so those are useless at best and confusing at worst.
* | chore: use codespell to spell check #15016dundargoc2021-07-07
| |
* | clang/'Dead initialization': don't assign unused value to variable "string" ↵dundargoc2021-07-07
| | | | | | | | #15015
* | fix(lsp): restore diagnostics extmarks on buffer changes (#15011)Folke Lemaitre2021-07-07
| |
* | clang/'Dead nested assignment': don't assign unused value to precision #15012dundargoc2021-07-07
| |
* | chore(deps): bump LibLUV to 1.40.0-0 (#14997)Christian Clason2021-07-07
|/ | | Adds several threading, async, and gc fixes and allows building with older gcc (4.x). Minimum required version remains 1.30.1.
* clang/'Dead assignment': ignore warning #15000dundargoc2021-07-05
| | | | This assignment is informative/documenting though technically unnecessary. https://github.com/neovim/neovim/pull/11900#discussion_r381860165 .
* chore(deps): bump LibLUV to 1.34.1 and lua-compat-53 to 0.9 (#14985)Lewis Russell2021-07-05
| | | | | This bumps the bundled LibLUV to 1.34.1 in order to make the newly introduced `uv.fs_mkstemp` available in the official builds. (The minimum required version remains at 1.30.1.) The bump of lua-compat-53 to 0.9 is needed to build with the updated LibLUV.
* Merge pull request #14989 from folke/lsp_convert_input_markdownMichael Lingelbach2021-07-04
|\ | | | | fix(lsp): prevent double <text> for cached plaintext markup
| * fix(lsp): prevent double <text> for cached plaintext markupFolke Lemaitre2021-07-05
|/
* Merge pull request #14391 from lewis6991/signsBjörn Linse2021-07-04
|\ | | | | signs: Change b_signcols_max -> b_signcols_valid
| * signs: Change b_signcols_max -> b_signcols_validLewis Russell2021-07-04
|/ | | | | b_signcols_max isn't used to store the max value, it is use to invalidate b_signcols.
* Merge pull request #14981 from janlazo/vim-8.2.3081Jan Edmund Lazo2021-07-04
|\ | | | | vim-patch:8.2.{3081,3082,3085,3087,3088,3093,3094,3097,3098}
| * vim-patch:8.2.3097: crash when using "quit" at recovery promptJan Edmund Lazo2021-07-04
| | | | | | | | | | | | | | | | Problem: Crash when using "quit" at recovery prompt and autocommands are triggered. Solution: Block autocommands when creating an empty buffer to use as the current buffer. (closes vim/vim#8506) https://github.com/vim/vim/commit/1d97efce0ce31ddf0dd4c1ae2228ef4caee6880c
| * vim-patch:8.2.3093: tablabel_tooltip test fails with AthenaJan Edmund Lazo2021-07-04
| | | | | | | | | | | | Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé) Solution: Skip the test when using Athena. (closes vim/vim#8508) https://github.com/vim/vim/commit/fb773a3e0aa9466bb953c29bad0bf4ba34461a40
| * vim-patch:8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrongJan Edmund Lazo2021-07-04
| | | | | | | | | | | | | | Problem: With 'virtualedit' set to "block" Visual highlight is wrong after using "$". (Marco Trosi) Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes vim/vim#8495) https://github.com/vim/vim/commit/9cee4a1c9c69542ccd73bcd2db05920150856361
| * vim-patch:8.2.3087: Gemtext files are not recognizedJan Edmund Lazo2021-07-04
| | | | | | | | | | | | Problem: Gemtext files are not recognized. Solution: Recognize .gmi and .gemini files. (closes vim/vim#8427) https://github.com/vim/vim/commit/fcde67c99fbb6d7294e01b9e87d8d2ae7af31255
| * vim-patch:8.2.3085: JSONC files are not recognizedJan Edmund Lazo2021-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: JSONC files are not recognized. Solution: Recognize .jsonc files. (Izhak Jakov, closes vim/vim#8500) https://github.com/vim/vim/commit/acbb4b5720fc27b8b07357b763ed4e5a944ae1da N/A patches for version.c: vim-patch:8.2.3081: cannot catch errors in a channel command Problem: Cannot catch errors in a channel command. Solution: Instead of skipping the error make it silent. (closes vim/vim#8477) https://github.com/vim/vim/commit/11a632d60bde616feb298d180108819ebb1d04a0 vim-patch:8.2.3082: a channel command "echoerr" does not show anything Problem: A channel command "echoerr" does not show anything. Solution: Do not use silent errors when using an "echoerr" command. (closes vim/vim#8494) https://github.com/vim/vim/commit/b836f631dba2534efd314a8f77439cebc75acd4e vim-patch:8.2.3094: Test_popup_atcursor_pos() fails without the conceal feature Problem: Test_popup_atcursor_pos() fails without the conceal feature. Solution: Add a check for the conceal feature. (Dominique Pellé, closes vim/vim#8505) https://github.com/vim/vim/commit/c60e959cba03fae9cff9b2674fab646cc70819fc vim-patch:8.2.3098: popup window test is flaky on MS-Windows with GUI Problem: Popup window test is flaky on MS-Windows with GUI. Solution: Skip the check in this situation. https://github.com/vim/vim/commit/999db2346b61e6f6e6fde2d0b56f4646a46b727d
* | fix(vim.opt): vimL map string values not trimmed (#14982)jadedpasta2021-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>
* fix(clint): fix link to style guide. (#14975)dundargoc2021-07-03
|
* refactor(memfile_test): replace long_u type with size_t. #14974dundargoc2021-07-03
| | | | long_u was a custom integer type that is no longer used. More information can be found in https://github.com/neovim/neovim/issues/459.
* PVS/V1051: Ignore "modulo by 1" warning for ARRAY_SIZE. (#14943)dundargoc2021-07-03
| | | | | The warning is triggered by the second division when arr is a char array since sizeof(char) is 1. A modulo by 1 may normally indicate a logic error, but in this case it's intended.
* doc/startup: cleanup; assign ENN to "conflicing configs" msg (#14971)Justin M. Keyes2021-07-03
|
* doc/readme: mention void linux (#14969)w3bdev12021-07-03
|
* fixup(clipboard): Use case matching #14962Shadman2021-07-02
| | | Context: https://github.com/neovim/neovim/pull/14848#discussion_r663203173
* deps(curl): v7.77.0 (#14961)Jan Edmund Lazo2021-07-02
| | | | https://github.com/neovim/neovim/issues/14078#issuecomment-870882357 https://github.com/neovim/deps/commit/d66e306abf5b846484b4f2adffd896bce7e065d2
* version bumpBjörn Linse2021-07-02
|
* NVIM v0.5.0v0.5.0Björn Linse2021-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release represents ~4000 commits since v0.4.4, the previous non-maintenance release. Highlights include builtin support for LSP, new APIs for extended marks (with byte resolution tracking of changes) and buffer decorations, as well as vast improvements to lua as a plugin and configuration language. Experimental support for tree-sitter as a syntax engine is also included, building on the new core APIs for byte tracking and decorations. FEATURES: New API functions: nvim_exec: execute multiline vim script blocks nvim_get_hl_id_by_name: Gets a highight definition by name nvim_exec_lua: new name for nvim_execute_lua nvim_notify: Notify the user with a message nvim_get_runtime_file: Find files in runtime directories nvim_get_all_options_info: Get option information for all options nvim_get_option_info: Get option information for one option nvim_echo: Echo a message with highlights nvim_open_term: Open a virtual terminal in a buffer nvim_chan_send: send data to a channel. (like chansend() but supports lua strings) nvim_set_decoration_provider: callback driven decoration API for a namespace nvim_buf_set_text: Set/replace a character range in a buffer nvim_buf_delete: Delete the buffer. |:bwipeout| nvim_buf_get_extmark_by_id: Returns position for a given extmark id. nvim_buf_get_extmarks: get extmarks in traversal order. nvim_buf_set_extmark: Creates or updates an extmark. nvim_buf_del_extmark: Removes an extmark. nvim_buf_call: call a function with buffer as temporary current buffer nvim_win_hide: Closes the window and hide the buffer it contains |:hide| nvim_win_call: Calls a function with window as temporary current window. New UI events: redraw.screenshot redraw.win_viewport Lua: 767cd8b17 #12235 startup: add init.lua as an alternative user config 687eb0b39 #14686 feat(startup): Source runtime/plugin/**/*.lua at startup #14686 runtime: allow lua in various runtime search paths such as syntax/ ftdetect/ indent/ ftplugin/ compiler/ colors/ 43956dea5 #13479 lua: Add vim.opt and fix scopes of vim.o 1407899c3 #12268 lua: Add buffer, window and tab accessors be662fe5c lua: vim.wait implementation 2b663c061 #14213 viml: embed Lua syntax highlighting 901dd79f6 feat: add completion to ':lua' 82688973 lua: complete methods in metatables 342148525 runtime: propagate lua parsing errors while using "require" aaca2c1c4 #13276 feat(lua): improve error message to make it actionable c60c7375f startup: handle autoload and lua packages during startup 3ccdbc570 #12536 lua: add vim.register_keystroke_callback 971a191c4 lua: Add ability to pass lua functions directly to vimL 91e41c857 #12401 lua: add vim.highlight.range f2894bffb #12279 lua: Add highlight.on_yank ae5bd0454 #11969 lua: add tbl_deep_extend ea4127e9a lua: metatable for empty dict value dab40f43b Add v:lua.func() vimL syntax for calling lua 678a51b1d Lua: vim.validate() 474d0bcbf lua: vim.rpcrequest, vim.rpcnotify, vim.NIL 8ee7c94a9 lua: add vim.fn.{func} for direct access to vimL function d0d38fc36 #11442 Lua: vim.env, vim.{g,v,w,bo,wo} Tree-sitter: Note: tree-sitter is considered experimental for 0.5. There's remaining bugs for buffer parsing, as well as known performance issues for large files and injected (nested) languages. e93342629 #10124 Tree-sitter API for lua 440695c29 tree-sitter: implement query functionality and highlighting prototype 8bea39f37 feat(treesitter): allow injections to be configured through directives 929f19414 feat(treesitter): add offset predicate for language injection cd75d3289 #14200 feat: treesitter checkhealth 1a631026a feat(treesitter): add language tree d3f544002 treesitter: runtime queries 3c5141d2c #13008 treesitter: add string parser 9437327d5 treesitter: use new on_bytes interface e4b5efa51 treesitter: use decoration provider API d6209a7b8 fix: Add a test and it is so pretty 836c31032 feat(ts): bump tree-sitter to v0.20.0 LSP client: 00dc12c5d #11336 lua LSP client: initial implementation d5aaad14e #11430 Followup improvements to LSP ee7ac469c #11578 LSP: Use async completion for omnifunc. 070bd3ea2 #11604 LSP: shrink API, improve docs 25afa10f9 #11669 Merge 'LSP: differentiate diagnostic underline by severity' e956ea767 #11777 LSP: show diagnostic in qf/loclist dd8b29cfe #11838 LSP: set InitializeParams.rootPath value 0c5d2ffeb #11837 Merge 'LSP: fixes, improve test visibility' ca8699378 #11638 LSP: implement documentHighlight 220a2b05c LSP/references: Add context to locations returned by server ccb038dc6 LSP/completion: add textEdit support da6f38ab3 #12313 LSP: Add workspace.applyEdit client capabilities f559e5249 #11607 LSP: Add textDocument/codeAction support 0d83a1c43 #12638 LSP: Feature/add workspace folders fd507e278 #13641 LSP: window/showMessageRequest e467d2939 LSP: Move workspace/configuration handler from nvim-lspconfig to core 2bdd553c9 feat(lsp): Add codelens support UI: f8134f2fd screen.c: remove fold_line special case c146eddc8 experimental support for per-window color schemes a1508c9f6 nvim__screenshot (dump TUI state to file) 08fe10010 terminal: enable pass through indexed colors to TUI in rgb mode 5a8569942 tests/ui: make screen.lua use "linegrid" representation internally 8fe19d9d8 screen: make ui_compositor aware of the intended size of a float 54ce1010e extmark: add new flexible "decorations" abstraction 4781333a7 decorations: allow virt_text overlay at any column bdebe8516 decorations: use extmark column adjustments for buffer highlights 7b488314d decorations: Allow highlights beyond end of line hl_eol 425bc438a decorations: add additional styling of virt_text overlays edb5864a2 floats: z-index 243820ebd floats: add borders (MS-DOS MODE) 5b6edc852 feat(float): add rounded borders preset 4a36ec6da #14310 float: add "solid" border style vim patches: around ~1000 vim patches and runtime updates got merged. Hooray! Changes include improvements to quickfix, prompt buffers, incsearch, display of search counts, and much much more. various features and changes: 858c05613 #12809 Support for :perl, :perlfile, :perldo and perleval() bc86f76c0 api/buffer: add "on_bytes" callback to nvim_buf_attach 19b623708 jobstart now supports env/clear_env ef7c6b972 Support specifying "env" option for termopen() 7c4f34966 #13287 switch from travis to github actions 24db59ca8 feat: implement BufModified autocmd b83d8223f implement Scroll autocommand 8caf84130 Lower "closed by the client" message level to INFO 7de276b87 bump libvterm to 0.1.4 097ec71bd #14096 aarch64/linux: fix build by updating LuaJIT bd5f0e969 #12531 support autoread using tui focus tracking 8a1276005 #12382 Add v:event.visual during `TextYankPost` 802f8429d api(nvim_open_win): add "noautocmd" option FIXES: 21444552c BugFix(clipboard): Fix block paste not working properly 01493e799 #14413 api: fix nvim_exec() silencing behaviour 9699f3be1 fix(doc): Add '/site' to stdpath('data') example in `:help 'rtp'` 581b2bcde screen: fix problem with p_ch eae4b1e5c luaref: fix leaks for global luarefs 409b2711f fix: segfault when pasting in term with empty buffer cf6c23fb0 #14273 fix plenty of errors discovered by clang 21035cff9 #14500 fix plenty of errors discovered by coverity bca19138b #13987 tui: fix possibility of evaluating uninitialized variables 9f2335937 fix_cursor: do not change line number when edit will not impact cursor row 33f92fe02 fix(pty): Always use $TERM from the job's env dict 6249059d4 checkhealth: fix terminfo problems on Windows 397be5d38 #12811 UI: fix cursor not displayed after hiding and un-hiding 87afc9031 screen.c: fix an issue with wrap and folds b419e39a2 screen.c: fix last character on foldtext 2ea312769 #13688 screen.c: fix display of signcolumn=auto in diffs c2d288e29 Fix screen terminal family issues 314b222c2 #14127 Fix click on foldcolumn with vsplit e65d0e53b vim.fn: throw error when trying to use API function
* ex_cmds: verify invalid command nameBjörn Linse2021-07-02
|
* Merge pull request #14864 from seandewar/get-config-zindexBjörn Linse2021-07-02
|\ | | | | fix(api/win_get_config): include z-index
| * fix(api/win_get_config): include z-indexSean Dewar2021-06-19
| |
* | doc(options): Fix recommended PowerShell config (#14349)Dimitri Tcaciuc2021-07-02
| | | | | | | | | | | | | | | | | | | | | | Ensure that * Shell uses UTF8 input/output mode * Stderr output is captured, in UTF8 * Program exit codes are correctly captured Update functional test harness and add tests for :make command. Closes #13713