aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | Merge pull request #21597 from gi1242/tex-ft-detectionzeertzjq2023-01-01
|\ \ | | | | | | fix(filetype): make .tex filetype detection match Vim
| * | fix(filetype): correctly detect tex filesGautam Iyer2022-12-31
| | | | | | | | | | | | Fixes Issue #21594.
| * | vim-patch:9.0.1120: tex filetype detection not sufficiently testedChristian Clason2022-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tex filetype detection not sufficiently tested. Solution: Add more test cases for "tex" detection. (Jonas Strittmatter, closes vim/vim#11765) https://github.com/vim/vim/commit/c55e8f2c6f5cafe11494df3e2d28ff3d03b92c71 Co-authored-by: smjonas <jonas.strittmatter@gmx.de>
* | | feat(lsp): add function to clear codelens (#21504)Mathias Fußenegger2022-12-31
| | | | | | | | | | | | | | | | | | | | | | | | Currently once you retrieve the lenses you're pretty much stuck with them as saving new lenses is additive. Adding a dedicated method to reset lenses allows users to toggle lenses on/off which can be useful for language servers where they are noisy or expensive and you only want to see them temporary.
* | | Merge pull request #18375 from bfredl/tui_reworkbfredl2022-12-31
|\ \ \ | | | | | | | | feat(ui): refactor TUI from thread to separate process
| * | | feat(tui): graduate the +tui featurebfredl2022-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was previously disabled due to build issues on windows. Any reasonable platform can now be expected to have the necessary interfaces to build and run the TUI subsystem. Runtime quality issues of using the TUI (on any new platform) are not relevant here. Just run Nvim in an external UI instead of the TUI as always.
| * | | fix(tui): more work in the TUIbfredl2022-12-31
| | | |
| * | | feat(tui): run TUI as external processhlpr982022-12-31
| |/ /
* | | vim-patch:9.0.1115: code is indented more than needed (#21598)zeertzjq2022-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Code is indented more than needed. Solution: Use an early return to reduce indenting. (Yegappan Lakshmanan, closes vim/vim#11758) https://github.com/vim/vim/commit/ed0c1d5d4b30d03b26ff08841f6da2ddf44025a7 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* | | Merge pull request #21596 from bfredl/nasleepbfredl2022-12-30
|\ \ \ | |/ / |/| | refactor(sleep): simplify rube goldberg implementation of :sleep
| * | refactor(sleep): simplify rube goldberg implementation of :sleepbfredl2022-12-30
|/ / | | | | | | | | | | | | | | | | As neovim does have event handling, we are checking for CTRL-C all the time, not once per second. Also, do_sleep() reimplements the same loop as LOOP_PROCESS_EVENTS_UNTIL() already contains internally. Fix the latter to use the right integer type, so we do not need the extra indirection.
* | feat(diagnostic): don't open quickfix/loclist if no diagnostics #21397李晓辉2022-12-30
| |
* | build: add git sha to version when built with nix flake (#21210)Will Leinweber2022-12-30
| |
* | docs: clarify line about converse of lua-heredoc (#21592)Sean2022-12-30
| | | | | | Co-authored-by: sean.twie03 <nothankyou@gmail.com>
* | fix(lsp): fix nil client access in get_active_clients (#21524)Raphael2022-12-30
| | | | | | Fixes https://github.com/neovim/neovim/issues/21523
* | fix(lsp): adjust gravity of semantic tokens extmarks (#21574)jdrouhard2022-12-30
| | | | | | | | | | Fixes #21543 This should provide a better user experience when appending or prepending text to a word that has a semantic token extmark. More often than not, the appended/prepended text to the word will end up becoming part of the token anyway, so just use that extmark as the user types.
* | Merge pull request #21591 from zeertzjq/vim-8.2.3773zeertzjq2022-12-30
|\ \ | | | | | | vim-patch:8.2.{3773,3774}
| * | test: add test for setting &columns from modeline with tabpageszeertzjq2022-12-30
| | |
| * | vim-patch:8.2.{3773,3774}zeertzjq2022-12-30
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.3773: wrong window size when a modeline changes 'columns' Problem: Wrong window size when a modeline changes 'columns' and there is more than one tabpage. (Michael Soyka) Solution: Adjust the frames of all tabpages. (closes vim/vim#9315) https://github.com/vim/vim/commit/8a7374f8c4eb4c016270ad908a43af4ddedcbf56 vim-patch:8.2.3774: test for command line height fails Problem: Test for command line height fails. Solution: Use another way to handle window size change. https://github.com/vim/vim/commit/b711814cb64b60ec4918e3e1fb2ca5c50d6e9340 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | chore: forward-port changes from v0.8.2 releasebfredl2022-12-29
| |
* | build: fix help tags generation when SHELL=fish (#21562)figsoda2022-12-29
| | | | | | Fish doesn't support glob pattern, so we use `remove_directory` instead.
* | test(tui_spec): don't use nested terminal for resize at startup (#21583)zeertzjq2022-12-29
| |
* | docs: fix order of numbers in syntax.txt (#21581)Ryan Mehri2022-12-29
|/
* test(lsp): add a screen:expect() between insert() and feed_command() (#21577)zeertzjq2022-12-29
| | | | The insert() and feed_command() type a lot of text, with only one screen:expect() call after the feed_command() it may time out.
* test: remove unused variable (#21552)Raphael2022-12-29
|
* build(lintsh): double quote to prevent word splitting (#21571)dundargoc2022-12-28
|
* build(nix): remove pylint as it has been removed (#21572)dundargoc2022-12-28
|
* feat(highlight): add DiagnosticOk (and associated) highlight groups (#21286)Oliver Marriott2022-12-28
| | | | | | The existing groups, Error, Hint, Info, Warn cover many use cases, but neglect the occasion where a diagnostic message should communicate a non-informative (not a Hint or Info) event. DiagnosticOk covers this with a generic green colorscheme.
* ci: add platform:nix label when changing nix files (#21569)dundargoc2022-12-28
| | | Also update the reviewer list.
* build(nix): clean up nix flake (#21565)figsoda2022-12-28
|
* ci(release): properly set multiline output variable (#21560)zeertzjq2022-12-28
|
* vim-patch:9.0.1106: not all postfix files are recognized (#21568)Christian Clason2022-12-28
| | | | | | | | Problem: Not all postfix files are recognized. Solution: Recognize main.cf.proto files. (closes vim/vim#11732) https://github.com/vim/vim/commit/09ce0b8e1197c85dacf97e75b9b9ac18e0d192df Co-authored-by: KodeToad <3880336+KodeToad@users.noreply.github.com>
* docs(README): add Kotlin as a language which can use the API (#21567)Mahdi Hosseinzadeh2022-12-28
| | | Add Kotlin as a language which can use the API
* refactor(f_has): remove wrong comment (#21561)zeertzjq2022-12-28
| | | | Only one of "fork" and "system" should be defined. Also change the line above "win32" to match Vim.
* docs(lua): add `vim.json` (#21538)Christian Clason2022-12-27
|
* Merge pull request #21555 from zeertzjq/vim-9.0.1096zeertzjq2022-12-27
|\ | | | | vim-patch:9.0.{1096,1097,1099,1100}: reallocating hashtab when the size didn't change
| * vim-patch:9.0.1100: a hashtab with many removed items is not cleaned upzeertzjq2022-12-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: A hashtab with many removed items is not cleaned up. Solution: Re-hash a hashtab even when the size didn't change if too many items were removed. https://github.com/vim/vim/commit/d0883faac6a74f777c9a6be9d035c59ee1c969c5 N/A patches for version.c: vim-patch:9.0.1099: trying to resize a hashtab may cause a problem Problem: Trying to resize a hashtab may cause a problem. Solution: Do not try to resize a hashtab before adding an item. https://github.com/vim/vim/commit/81b7ecc5cb78cad901a9a85e46ecba109cc6ee7d Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.1097: tests are failingzeertzjq2022-12-27
| | | | | | | | | | | | | | | | | | Problem: Tests are failing. Solution: Do clean up a hashtab when at the initial size. https://github.com/vim/vim/commit/b3d614369fceb891819badc941f80f08f57831f9 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.1096: reallocating hashtab when the size didn't changezeertzjq2022-12-27
|/ | | | | | | | | Problem: Reallocating hashtab when the size didn't change. Solution: Bail out when the hashtab is already the desired size. https://github.com/vim/vim/commit/71d53e7c579b8af44083142ea3894b455947ad81 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* fix(statusline): make nvim_eval_statusline() work with %S (#21553)zeertzjq2022-12-27
|
* fix(win_close): remove float grid after closing buffer (#21551)zeertzjq2022-12-27
| | | | It is not safe to remove the float grid when autocommands can still be triggered, as autocommands may use the float grid.
* fix(statusline): don't show showcmd when not enough space (#21550)zeertzjq2022-12-27
|
* vim-patch:9.0.1101: unused global variable (#21549)zeertzjq2022-12-27
| | | | | | | | Problem: Unused global variable. Solution: Remove the variable. (closes vim/vim#11752) https://github.com/vim/vim/commit/b536540ab3c13db629432c411e92c05c4a3808ba Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1103: jq files are not recognized (#21545)Christian Clason2022-12-26
| | | | | | | | Problem: jq files are not recognized. Solution: Add detection of Jq files. (David McDonald, closes vim/vim#11743) https://github.com/vim/vim/commit/b9a1edfc5434f2a3ac50b1a178d3c85aa417b798 Co-authored-by: David McDonald <dgmcdona@uno.edu>
* vim-patch:9.0.1098: code uses too much indent (#21540)zeertzjq2022-12-26
| | | | | | | | Problem: Code uses too much indent. Solution: Use an early return. (Yegappan Lakshmanan, closes vim/vim#11747) https://github.com/vim/vim/commit/465de3a57b815f1188c707e7c083950c81652536 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* fix(showcmd): assert failure with cmdheight=0 (#21536)zeertzjq2022-12-26
|
* Merge pull request #21202 from luukvbaal/statuslinezeertzjq2022-12-26
|\ | | | | feat: add 'showcmdloc' option and statusline item
| * vim-patch:9.0.1061: cannot display 'showcmd' somewhere elseLuuk van Baal2022-12-26
|/ | | | | | | | | Problem: Cannot display 'showcmd' somewhere else. Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes vim/vim#11684) https://github.com/vim/vim/commit/ba936f6f4e85cc1408bc3967f9fd7665d948909b Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
* fix(mappings): use all buckets in second round of unmap (#21534)zeertzjq2022-12-26
|
* vim-patch:8.2.3737: test fails without the 'autochdir' option (#21529)zeertzjq2022-12-25
| | | | | | | | Problem: Test fails without the 'autochdir' option. Solution: Check that the option is available. (Dominique Pellé, closes vim/vim#9272) https://github.com/vim/vim/commit/8dea145e39a2569153cb63487d3403a46a882189 Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>