Commit Graph

193 Commits

Author SHA1 Message Date
Folke Lemaitre a6b74f30d5
feat(ui): backdrop for the lazy floating window. Can be disabled with `opts.ui.backdrop` 2024-03-26 19:52:19 +01:00
William Mathewson b6f7ef856b
fix(ui): Add "bot" to dimmed commands list (#1367)
nvim-treesitter has added a bot to automate updating parsers.
This feels similar to the other commands that are dimmed.
2024-03-22 09:18:36 +01:00
Riley Bruins 298bed190e
fix: update to new treesitter capture groups (#1294) 2024-03-07 17:34:29 +01:00
Wayne Wu d5c58bb193
fix(ui): remove a single space character from home title (#1309)
Align home pill title spacing with other pills
2024-03-07 17:32:52 +01:00
star-szr 7ded44ce2a
feat(ui): add style to dimmed commits (#1210) 2024-01-21 10:50:23 +01:00
Riley Bruins 3674036a59
fix(ui): properly highlight breaking change commit scope (#1160) 2023-11-04 11:05:02 +01:00
Maria José Solano 4446fdb9af
feat(ui): check pinned packages that can't be updated (#1139)
* style: fix filter types

* feat: check outdated pinned plugins
2023-10-23 07:52:54 +02:00
Folke Lemaitre 7613ab2abb
fix(ui): running tasks are now less twitchy 2023-10-17 10:30:23 +02:00
Folke Lemaitre fb9795e49f
fix(ui): fixed keymaps in debug view 2023-10-17 00:29:13 +02:00
Folke Lemaitre 2f169e74d4
refactor(handlers): lazy resolving of plugin handlers (#1126)
* refactor(handlers): lazy resolving of plugin handlers

* test: fixed tests
2023-10-16 22:34:44 +02:00
Folke Lemaitre 1cfd6d1f36
fix(loader): don't load handlers before installing plugins 2023-10-16 15:05:16 +02:00
Folke Lemaitre ad5da0ae20
fix(ui): sort lazy plugin handlers 2023-10-14 16:00:30 +02:00
Folke Lemaitre 3769461194
fix(float): disable swapfile for files shown in Float 2023-10-13 11:37:38 +02:00
Maria José Solano 43c284a578
feat(keys): include custom keys in help menu (#1105) 2023-10-12 07:18:53 +02:00
Folke Lemaitre 99ee284739
fix(ui): use actual handler values for rendering plugin handlers 2023-10-11 14:25:12 +02:00
Folke Lemaitre 423a152e94
feat(profiling): added options to enable additional profiling 2023-10-09 12:38:43 +02:00
Folke Lemaitre 22bf6ae04b
style: sort requires 2023-10-09 11:25:42 +02:00
Folke Lemaitre f0cfbf9952
perf: lazy require commands 2023-10-08 20:22:04 +02:00
Folke Lemaitre 26762c97e6
fix(ui): use correct keymap for display. Fixes #1089 2023-10-08 12:36:21 +02:00
Folke Lemaitre b79099cc9d
feat(keys): refactor code and allow disabling keymaps per mode. mode no longer needs to be exactly the same in order to disable. 2023-10-08 10:11:33 +02:00
Folke Lemaitre f3c7169dd6
feat(plugin): dont include plugin spec fragments for disabled or optional plugins (#1058)
* feat(plugin): dont include plugin spec fragments for disabled or optional plugins

* test: fixed tests

* fix(plugin): calculate handlers after disabling plugins

* fix(plugin): clear Plugin._.super when rebuilding

* fix(ui): dont process handlers for disabled plugins

* test: added tests for disabling fragments

* fix(plugin): ignore any installed deps of a disabled conditional plugin. Fixes #1053
2023-09-29 16:11:56 +02:00
Folke Lemaitre 4f27fc33c4
fix(ui): sort plugins case insensitive 2023-09-28 12:28:07 +02:00
Maria José Solano 0e1d264ab6
fix: return true when opening diff (#970) 2023-09-27 12:51:11 +02:00
Darkhan 4eb3e932e5
Make commit pattern more accurate (#973)
Sometimes when hovering over updated plugins and triggering `diff`
with `d` key, I get an empty `diff` view. I traced the problem to a very
generic `commit_pattern` which currently matches any alphanumeric sequence
of 7 characters surrounded by "word boundary" / frontier patterns.
I adjusted the regex to match only `[a-z0-9] * 7` which should make this
issue appear less. I am keeping the older frontier sets `%f[%w]` and `%f[%W]`
because if I switch to `%f[a-f0-9]` and `%f[^0-9a-f]` I will be matching
strings like `zzz1234567xxx`.
2023-08-26 16:47:18 +02:00
3719e04 84266b9f0f
feat(view): add option `ui.pills`. Set to `false` to disable the top buttons in the lazy window (#938)
* add option `ui.button`

* add option `ui.button`

* refactor: rename button to pills

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-07-20 23:48:50 +02:00
Folke Lemaitre 410a7360c1
fix(ui): trailing space in button row. Fixes #884 2023-06-19 10:21:40 +02:00
Folke Lemaitre 56b1f7715e
fix(debug): show original keymaps instead of ids for the keys handler 2023-06-19 10:21:40 +02:00
Folke Lemaitre 7f4da7d511
fix(ui): set wo options with local. don't use `vim.wo`. See #829 2023-06-12 08:28:14 +02:00
Folke Lemaitre dbb2b609f6
fix(ui): setup colors when loading a float 2023-06-03 14:40:17 +02:00
Folke Lemaitre 94472b8303
feat(float): floats can now be persistent 2023-06-03 10:45:53 +02:00
Folke Lemaitre efa02ff8d3
fix(ui): make progress bar work again 2023-05-27 16:11:01 +02:00
Folke Lemaitre a6c8f22362
feat(commands): added highly experimental `Lazy reload ...` command. See #445 2023-05-27 15:19:55 +02:00
Folke Lemaitre 9dce0816f1
feat(ui): added support for setting a title of the lazy window. Fixes #814 2023-05-27 14:28:09 +02:00
tzachar f125a7d333
fix(commands): completion error (#819)
When Lazy commands are searched in command line mode, completion fails
horribly (sometime crashing nvim entirely) when the partial string to
complete contains non-escape characters.
For example, running `:Lazy up[` results in a crash.

The fix is to instruct string.find to perform a literal search, treating
the string to search not as a regular expression.
2023-05-23 08:43:27 +02:00
Folke Lemaitre 451f217e9b
fix(ui): take border into account for window position. Fixes #812 2023-05-21 20:51:41 +02:00
Folke Lemaitre cc7a764aec
fix(ui): close ui when opening a help file. Fixes #808 2023-05-20 09:26:23 +02:00
Folke Lemaitre 11131eafa1
feat(cmd): added `Lazy load all` to load all plugins 2023-05-18 19:51:18 +02:00
Folke Lemaitre 96dd2058fb
feat(ui): show the loaded icon for local plugins in a different color 2023-05-13 13:24:38 +02:00
Folke Lemaitre dbe0e29d85
fix(ui): don' render extmarks for empty lines 2023-05-05 14:06:59 +02:00
Folke Lemaitre 98ba47efed
fix(ui): issue with rendering empty lines. Fixes #770 2023-05-02 21:47:36 +02:00
Karl Yngve Lervåg b00d6f7102
fix(ui): don't pad empty lines (#768) 2023-05-02 21:30:28 +02:00
futsuuu b7a1a0fbaf
fix(render): show message if not yet committed (#707)
* fix(render): show message if not yet committed

* fix(render): show commit only if it can be shown
2023-04-15 22:54:10 +02:00
Folke Lemaitre 0e230caab9
feat(ui): added test to dimmed commits 2023-03-22 16:06:32 +01:00
luozhiya 261c2d6f95
fix(ui): show full reason for Not-Loaded (#683)
no print
2023-03-22 09:04:36 +01:00
Folke Lemaitre 690f9e88e2
refactor: prepping for vim.loader 2023-03-20 23:51:09 +01:00
Folke Lemaitre 21a219a825
refactor(cache): revert all `vim.cache` changes and disable it if it would ever exist 2023-03-15 09:01:00 +01:00
Folke Lemaitre ea1a044e3c
feat(cache): use `vim.cache` everywhere. poly-fill when needed 2023-03-14 19:45:22 +01:00
kylo252 1f7ffec177
feat(render): dim housekeeping commits by default (#612)
* feat(render): dim housekeeping commits by default

use `LazyComment` highlight group for commits with
housekeeping types, i.e. chore/ci/doc

* refactor: some small improvments to unimportant commits

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-03-02 14:25:50 +01:00
Folke Lemaitre 0f713b2958
fix(ui): always show diagnostics virtual text 2023-02-28 09:55:21 +01:00
Lucas Tavares 43496fa82c
fix(ui): disable colorcolumn on floating window (#575) 2023-02-20 08:31:03 +01:00