aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
Commit message (Collapse)AuthorAge
...
| * | refactor: remove :CheckHealthdundargoc2023-04-12
| | | | | | | | | | | | | | | Using :CheckHealth invokes an error, and many of the features from :checkhealth doesn't even work such as calling only a specific check. Users should use :checkhealth instead.
| * | fix(highlight): combine ColorColumn with low-priority CursorLine (#23017)zeertzjq2023-04-11
| | |
| * | fix(mark): properly init mark views (#22996)zeertzjq2023-04-10
| | |
| * | Merge pull request #22865 from MunifTanjim/issue-20370bfredl2023-04-10
| |\ \ | | | | | | | | fix(api): do not re-apply win_config.style when missing
| | * | fix(api): do not re-apply win_config.style when missingMunif Tanjim2023-04-10
| | | |
| * | | fix(eval): prevent double-free in garbage collection (#22990)zeertzjq2023-04-10
| | | |
| * | | fix(column): 'statuscolumn' not drawn after virt_lines with "n" in 'cpo' ↵luukvbaal2023-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#22967) Problem: The 'statuscolumn' is not drawn and the line itself is drawn at an offset to the rest of the buffer after virt_lines if 'cpoptions' includes "n". Solution: Make sure 'statuscolumn' is drawn.
| * | | vim-patch:9.0.1443: ending Insert mode when accessing a hidden prompt buffer ↵zeertzjq2023-04-10
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | (#22984) Problem: Ending Insert mode when accessing a hidden prompt buffer. Solution: Don't stop Insert mode when it was active before. (closes vim/vim#12237) https://github.com/vim/vim/commit/05a627c3d4e42a18f76c14828d68ee4747118211 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | refactor(mappings)!: remove #n as a notation for a function key (#17318)zeertzjq2023-04-08
| | | | | | | | | | | | This notation is hardly used and makes the behavior of the from_part argument of nvim_replace_termcodes confusing.
| * | fix(highlight): add missing g: prefix for colors_name (#22952)zeertzjq2023-04-08
| | | | | | | | | | | | Fix #22951. This was fixed in Vim in patch 8.2.0613.
| * | Merge pull request #22873 from bfredl/keyset2bfredl2023-04-08
| |\ \ | | | | | | | | refactor(api): make typed dicts appear as real types in the source code
| | * | refactor(api): make typed dicts appear as types in the source codebfredl2023-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problem: can we have Serde? solution: we have Serde at home This by itself is just a change of notation, that could be quickly merged to avoid messy merge conflicts, but upcoming changes are planned: - keysets no longer need to be defined in one single file. `keysets.h` is just the initial automatic conversion of the previous `keysets.lua`. keysets just used in a single api/{scope}.h can be moved to that file, later on. - Typed dicts will have more specific types than Object. this will enable most of the existing manual typechecking boilerplate to be eliminated. We will need some annotation for missing value, i e a boolean will need to be represented as a TriState (none/false/true) in some cases. - Eventually: optional parameters in form of a `Dict opts` final parameter will get added in some form to metadata. this will require a discussion/desicion about type forward compatibility.
| * | | vim-patch:9.0.1442: mapset() does not restore non-script context (#22942)zeertzjq2023-04-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: mapset() does not restore non-script context. Solution: Also accept negative sid. (closes vim/vim#12132) https://github.com/vim/vim/commit/bfc7cbd1d44e53e844a079d8ad16ae990dad664d
| * | | ci: don't automatically enable -Werror on CI environmentsdundargoc2023-04-07
| | | | | | | | | | | | | | | | | | | | | | | | This catches downstream consumers of neovim off guard when using neovim in an esoteric environment not tested in our own CI. Closes https://github.com/neovim/neovim/issues/22932
| * | | refactor: remove redundant castsii142023-04-07
| |/ /
| * | refactor: remove redundant castsii142023-04-07
| | |
| * | refactor: remove redundant const char * castsii142023-04-07
| | |
| * | refactor: make char * parameters const in message.cii142023-04-07
| | | | | | | | | | | | Add const to char * parameters in message.c functions and remove some redundant casts.
| * | Merge pull request #22907 from luukvbaal/evalstcbfredl2023-04-07
| |\ \ | | | | | | | | feat(api): set statuscolumn line number in nvim_eval_statusline()
| | * | feat(api): set statuscolumn line number in nvim_eval_statusline()Luuk van Baal2023-04-07
| | | | | | | | | | | | | | | | | | | | | | | | Having the user set `v:lnum` before calling `nvim_eval_statusline()` is unnecesarily fragile. Redraws inbetween setting `v:lnum` and the `nvim_eval_statusline()` call will overwrite `v:lnum`.
| * | | refactor: remove use of reserved c++ keywordsii142023-04-06
| | | | | | | | | | | | | | | | | | | | | | | | libnvim couldn't be easily used in C++ due to the use of reserved keywords. Additionally, add explicit casts to *alloc function calls used in inline functions, as C++ doesn't allow implicit casts from void pointers.
| * | | fix(folds): handle visual blockwise indent insertion correctly (#22898)Brandon Simmons2023-04-07
| | | | | | | | | | | | | | | | | | | | Previously, the fold information was incorrect because it wasn't being updated during the blockwise insertion. (Solution by zeertzjq)
| * | | Merge pull request #22910 from bfredl/nonormalbfredl2023-04-06
| |\ \ \ | | |/ / | |/| | fix(highlight): use winhl=Foo:Bar even when Bar is empty
| | * | fix(highlight): use winhl=Foo:Bar even when Bar is emptybfredl2023-04-06
| | | | | | | | | | | | | | | | fixes #22906
| * | | refactor: make error message definitions constii142023-04-05
| | | | | | | | | | | | | | | | message.c functions now take const char * as a format. Error message definitions can be made const.
| * | | refactor: rename local API alias from a to apiLewis Russell2023-04-05
| |/ / | | | | | | | | | | | | | | | | | | | | | Problem: Codebase inconsistently binds vim.api onto a or api. Solution: Use api everywhere. a as an identifier is too short to have at the module level.
| * | feat(api): evaluate 'statuscolumn' with nvim_eval_statusline()Luuk van Baal2023-04-05
| | |
| * | feat(vim.diff): allow passing an integer for linematchLewis Russell2023-04-04
| | |
| * | feat(lsp): create default link from @lsp.type.comment to Comment (#22888)Gregory Anders2023-04-04
| | |
| * | build: cmake cleanupdundargoc2023-04-04
| | | | | | | | | | | | | | | | | | | | | - Change libtermkeyCMakeLists.txt to LibtermkeyCMakeLists.txt - Remove duplicate mark_as_advanced calls in FindLibuv.cmake - Fix "Enabling Clang sanitizer" messages as it's no longer clang-only - Simplify parser installation syntax - Rename tree-sitter to treesitter
| * | refactor(treesitter): delegate region calculation to treesitter (#22576)Lewis Russell2023-04-04
| | |
| * | fix(api): avoid double hit-enter prompt with nvim_err_writeln (#22879)zeertzjq2023-04-04
| | |
| * | Merge pull request #22847 from luukvbaal/redrstatusbfredl2023-04-03
| |\ \ | | | | | | | | fix(ui): ruler is not redrawn in cmdline with redrawstatus
| | * | fix(ui): ruler is not redrawn in cmdline with redrawstatusLuuk van Baal2023-04-02
| | | |
| * | | vim-patch:9.0.1439: start Insert mode when accessing a hidden prompt buffer ↵zeertzjq2023-04-03
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#22867) Problem: Start Insert mode when accessing a hidden prompt buffer. Solution: Call leaving_window() in aucmd_restbuf(). (Thorben Tröbst, closes vim/vim#12148, closes vim/vim#12147) https://github.com/vim/vim/commit/cde8de034524d00aba4ff4142e658baff511e12d Cherry-pick test_prompt_buffer.vim changes from patch 9.0.0631. Co-authored-by: orbital <orbital@holgerines.de>
| * | refactor(defaults)!: change default 'commentstring' value to empty (#22862)zeertzjq2023-04-02
| |/
| * Merge pull request #22844 from luukvbaal/stlrecordingbfredl2023-04-02
| |\ | | | | | | fix(ui): recording change doesn't trigger statusline redraw
| | * 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
| * | | 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
| | |/ | |/|
| * | 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(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): use vim.fsLewis Russell2023-03-26
| | |/
| * | fix(autocmd): handle recursion for force set (#22820)Lewis Russell2023-03-30
| | |