Commit Graph

760 Commits

Author SHA1 Message Date
github-actions[bot] 9102d051a8
chore(main): release 10.8.1 (#1090)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-08 12:57:44 +02:00
Folke Lemaitre 26762c97e6
fix(ui): use correct keymap for display. Fixes #1089 2023-10-08 12:36:21 +02:00
github-actions[bot] 4b5b03f603
chore(main): release 10.8.0 (#1088)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-08 10:13:01 +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
github-actions[bot] 62745a7320
chore(main): release 10.7.3 (#1087)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-07 20:45:37 +02:00
Folke Lemaitre 09e30f88cd
fix(keys): fixed buffer-local mappings 2023-10-07 20:41:06 +02:00
github-actions[bot] 5aaafcb301
chore(main): release 10.7.2 (#1086)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-07 11:44:13 +02:00
Folke Lemaitre 8871602e54
fix(event): move all ft logic to the event handler 2023-10-07 11:15:14 +02:00
Folke Lemaitre e4ea874e33
fix(ft): fix ft handlers to properly use new events. Fixes #1084 2023-10-07 09:48:53 +02:00
github-actions[bot] 6687afae42
chore(main): release 10.7.1 (#1083)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-06 20:22:13 +02:00
Folke Lemaitre 6b37927be9
fix(event): prevent loading event handler more than once in some cases 2023-10-06 19:42:21 +02:00
github-actions[bot] 25f6009087
chore(main): release 10.7.0 (#1081)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-06 15:53:37 +02:00
Folke Lemaitre 2b2adb9d4d
fix(event): use tbl_contains instead of list_contains 2023-10-06 15:48:41 +02:00
abeldekat 58e954a735
feat(plugin): added support for `cond` for imports (#1079)
Co-authored-by: abeldekat <abel@nomail.com>
2023-10-06 15:46:46 +02:00
Folke Lemaitre ef2a5d0bd1
fix(event): better dealing with even handlers. Fixes #788 2023-10-06 15:39:18 +02:00
github-actions[bot] 6b6f0a4512
chore(main): release 10.6.0 (#1078)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-05 16:05:05 +02:00
Folke Lemaitre c42e63c198
feat(keys): you can now create buffer-local filetype keymaps by specifying `ft=`. Fixes #1076 2023-10-05 14:00:11 +02:00
Folke Lemaitre 19d1b3aa72
style: lua annotations 2023-10-05 14:00:11 +02:00
github-actions[bot] 64cb9b16f6
chore(main): release 10.5.1 (#1071)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-04 21:15:11 +02:00
Folke Lemaitre 82da5a0048
refactor(plugin): refactored rebuild 2023-10-04 12:50:48 +02:00
Folke Lemaitre 638c8e6382
fix(plugin): rebuild plugins after fixing optional and cond to ensure enabled will work correctly 2023-10-04 11:48:14 +02:00
github-actions[bot] 28a80136b5
chore(main): release 10.5.0 (#1069)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-04 00:30:12 +02:00
Folke Lemaitre 8eb8de29af
feat(plugin): keep track of the module a spec fragment was defined in 2023-10-04 00:20:08 +02:00
Folke Lemaitre 8b73492249
perf(util): don't try to load nvim-treesitter when markdown parser is builtin 2023-10-04 00:19:29 +02:00
github-actions[bot] 59335c5b9d
chore(main): release 10.4.1 (#1062)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-30 18:08:27 +02:00
Folke Lemaitre 09e5010741
fix(plugin): prevent recursive loop with cond=false. Fixes #1061 2023-09-30 18:02:07 +02:00
Folke Lemaitre 6a2c47e642
style: lua annotations 2023-09-29 16:37:55 +02:00
github-actions[bot] 753c391b44
chore(main): release 10.4.0 (#1054)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-29 16:14:01 +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 54ecfc7c24
fix(help): sort readme tags case sensitive. Fixes #67 2023-09-28 12:28:07 +02:00
Folke Lemaitre 4f27fc33c4
fix(ui): sort plugins case insensitive 2023-09-28 12:28:07 +02:00
github-actions[bot] 7ca3bdb566
chore(main): release 10.3.1 (#1051)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-27 14:48:20 +02:00
Maria José Solano 0e1d264ab6
fix: return true when opening diff (#970) 2023-09-27 12:51:11 +02:00
Folke Lemaitre 24f6b6f1c7
fix: properly setup handlers when loading a plugin before startup (build) etc 2023-09-27 12:39:39 +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
github-actions[bot] 3ad55ae678
chore(main): release 10.3.0 (#948)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-22 10:23:12 +02:00
abeldekat e7334d8db5
feat(plugins): Given an optional plugin, conditionally discard deps (#947)
* deps_of_all_optional: First, refactor the code responsible for disabling unneeded deps to be more generic

* deps_of_all_optional: Second, also disable unneeded deps from plugins marked as all optional

* deps_of_all_optional: add tests proving unneeded optional deps are now also discarded

* deps_of_all_optional: forgot return type

---------

Co-authored-by: abeldekat <abel@nomail.com>
2023-07-22 10:20:52 +02:00
github-actions[bot] af4d24b8d0
chore(main): release 10.2.1 (#946)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-22 09:09:46 +02:00
Folke Lemaitre e428c5ee4b
fix(loader): getscriptinfo compat with stable. Fixes #944 2023-07-22 08:24:26 +02:00
github-actions[bot] b7303a6830
chore(main): release 10.2.0 (#939)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-21 08:14:51 +02:00
Folke Lemaitre 61c43455b0
style: lua annotations 2023-07-20 23:49:02 +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
Kasshi K 2b241f74ed
fix typo in health.lua (#933) 2023-07-16 08:50:53 +02:00
github-actions[bot] 14d76aac4b
chore(main): release 10.1.0 (#927)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-12 17:24:07 +02:00
Folke Lemaitre ea5b2e00bf
feat(loader): `LazyLoad` event with plugin name as `data` field. Useful to do stuff when a plugin loads 2023-07-12 17:21:32 +02:00
github-actions[bot] da8b00581a
chore(main): release 10.0.2 (#923)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-09 09:46:59 +02:00
Folke Lemaitre fd94e69ceb
fix(event): pass data to event lazy loaders. Fixes #922 2023-07-09 09:44:08 +02:00
github-actions[bot] 5af331ea65
chore(main): release 10.0.1 (#919)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-06 20:44:00 +02:00
yangbinji 867528c0fe
style(cache): fix comment case typo (#915) 2023-07-06 16:30:54 +02:00
Pierre-Antoine Lacaze 5082cd56e4
fix(stats): corrected typo in cputime() for Linux (#916) 2023-07-06 16:19:08 +02:00