Commit Graph

597 Commits

Author SHA1 Message Date
github-actions[bot] d13fe93535
chore(main): release 9.7.0 (#505)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-09 14:44:13 +01:00
Folke Lemaitre c734d941b4
fix(keys): feed keys instead of returning expr for Neovim 0.8.x. Fixes #511 2023-02-08 16:00:56 +01:00
Folke Lemaitre ddaffa0715
fix(keys): replace keycodes manually 2023-02-08 09:33:38 +01:00
kyoh86 2451ea4e65
feat: use "wslview" instead of "xsl-open" if it exsits (#509) 2023-02-08 07:32:29 +01:00
MurdeRM3L0DY 4272d2100a
fix(keys): refactor retrigger mechanism (#428)
* fix keymap retrigger in operator mode

* remove unnecessary retrigger logic

we can just eval `"<Ignore>" .. lhs` to retrigger the mapping

* remove unused function

---------

Co-authored-by: MurdeRM3L0DY <>
2023-02-08 00:45:28 +01:00
Folke Lemaitre 57a3960faf
feat: deactivate WIP 2023-02-07 23:52:02 +01:00
Folke Lemaitre 49b43def14
fix(install): dont load the colorscheme again if a `config()` of the colorscheme also loads it. Fixes #488 2023-02-07 22:59:05 +01:00
github-actions[bot] 48c9b37294
chore(main): release 9.6.0 (#504)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-07 22:02:20 +01:00
Folke Lemaitre 3c29f196f4
feat(cmd): use cmd table instead of trying to create the cmd string. Fixes #472 2023-02-07 20:57:00 +01:00
github-actions[bot] 0e4017152d
chore(main): release 9.5.1 (#478)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-07 17:09:39 +01:00
Folke Lemaitre 452d4eb719
fix(process): allow overriding GIT_SSH_COMMAND. Fixes #491. Fixes #492 2023-02-06 09:17:08 +01:00
Folke Lemaitre 3d2dcb2d5e
fix(log): properly check if plugin dir is a git repo before running git log 2023-02-01 08:26:20 +01:00
Folke Lemaitre 527f83cae5
fix(health): existing packages on windows. Fixes #474 2023-02-01 08:09:02 +01:00
Folke Lemaitre 0c980312fd
fix(commands): sync with plugins list should not delete those plugins. Fixes #475 2023-02-01 08:06:48 +01:00
github-actions[bot] 9b208696e1
chore(main): release 9.5.0 (#444)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-25 09:10:46 +01:00
Folke Lemaitre 9b5cc1bf53
feat(health): check for git in health checks 2023-01-24 22:58:40 +01:00
Null Chilly 772d8888cc
feat(dev): optionally fallback to git when local plugin doesn't exist (#446)
* feat: fallback to git when local plugin isn't found

* feat(option): fallback to git when local plugin doesn't exist
2023-01-24 22:55:34 +01:00
Folke Lemaitre 5d9d35404f
feat(util): utility method to walk over all modules in a directory 2023-01-23 19:19:00 +01:00
Folke Lemaitre 26a67e3c48
feat(config): added option to disable git filter. NOT recommended. Fixes #442 2023-01-23 19:19:00 +01:00
Folke Lemaitre c32a6185ac
fix(checker): dont check for updates when there's tasks with errors 2023-01-23 19:19:00 +01:00
Folke Lemaitre ed210702f5
fix(checker): dont clear tasks when running update check 2023-01-23 19:18:59 +01:00
Folke Lemaitre 908d71872b
docs: typo 2023-01-22 15:24:13 +01:00
github-actions[bot] 7674ee6254
chore(main): release 9.4.0 (#417)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-22 15:18:43 +01:00
Folke Lemaitre 4008b57d88
fix(checker): make sure we show logs when only doing a fast check 2023-01-22 14:30:12 +01:00
Folke Lemaitre 9858001c3c
fix(git): unset GIT_DIR when spawning a process. Fixes #434 2023-01-20 20:41:36 +01:00
Folke Lemaitre 3f8cc2c0df
docs: generated docs 2023-01-19 22:08:58 +01:00
Folke Lemaitre d6fc848067
feat: added `config.ui.wrap` and improved wrapping when wrap=true. Fixes #422 2023-01-19 08:45:27 +01:00
Folke Lemaitre c389ad552b
fix(spec): dont complain about an invalid short url, when a full url is set. Fixes #421 2023-01-18 08:39:02 +01:00
Folke Lemaitre 813fc944d7
feat(checker): checker will now save last check time and only check at configured frequency even after restarting Neovim 2023-01-18 08:39:02 +01:00
Hans Chen 27ca918bc3
fix(render): get profile_{sort,filter} key bindings from ViewConfig (#416) 2023-01-17 22:03:23 +01:00
github-actions[bot] 4f60facf18
chore(main): release 9.3.1 (#410)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-17 14:37:11 +01:00
Folke Lemaitre c791c0ed7d
fix: work-around for libuv issue where fs_scandir_next sometimes fails to return a file type 2023-01-17 14:35:21 +01:00
Folke Lemaitre 1b2a6f631c
perf(plugin): de-duplicate dependencies, keys, ft, event and cmd 2023-01-17 14:00:42 +01:00
Folke Lemaitre da4e8cc245
fix(spec): dont copy dep and super state from existing plugins 2023-01-17 14:00:42 +01:00
Folke Lemaitre baaf8ddfff
fix(spec): when overriding a spec by name that has not been imported yet, show an error when needed 2023-01-17 14:00:42 +01:00
Folke Lemaitre bd37afc96e
fix(git): when a `Plugin.branch` is set, don't use `config.defaults.version`. Fixes #409 2023-01-17 13:14:25 +01:00
github-actions[bot] c05d61d208
chore(main): release 9.3.0 (#385)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-16 22:18:55 +01:00
Folke Lemaitre 870af80c68
feat(spec): overriding keys with an rhs of `false` will remove the key instead 2023-01-16 21:27:55 +01:00
Folke Lemaitre 208f91b52f
feat(git): some debugging tools for git 2023-01-16 20:41:29 +01:00
Folke Lemaitre 0cbd91d2cd
feat(spec): you can now override specs using only the plugin name instead of the short url 2023-01-16 17:03:43 +01:00
Folke Lemaitre efe72d98e6
perf(util): properly check that Neovim is exiting. Dont run VeryLazy when that's the case 2023-01-16 12:37:28 +01:00
Folke Lemaitre e8cb863703
fix(util): rever 2023-01-16 12:33:03 +01:00
Folke Lemaitre 1e67dc0d56
perf(util): dont trigger VeryLazy autocmds when exiting 2023-01-16 12:29:19 +01:00
Folke Lemaitre fdf0332fe1
feat(keys): allow overriding a keys value to `vim.NIL` to not add the key 2023-01-16 10:16:35 +01:00
Folke Lemaitre 984008f7ae
refactor: add lazy.nvim with full url. Fixes #396 2023-01-15 20:04:52 +01:00
Folke Lemaitre 7160ca419e
fix(loader): load plugin opts inside a `try` clause to report errors 2023-01-15 20:00:12 +01:00
Folke Lemaitre 666ed7bf73
fix(build): make sure `rplugin.vim` is loaded when doing a build. Fixes #382 2023-01-13 09:20:00 +01:00
github-actions[bot] 0d0d5870a3
chore(main): release 9.2.0 (#376)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-13 09:13:19 +01:00
hgigas 7b78ce3332
feat(commands): allow commands like `Lazy ... | ...` (#377)
Set bar attribute:
```
-bar	    The command can be followed by a "|" and another command.
```
2023-01-13 09:05:13 +01:00
Folke Lemaitre 7b0d1a7866
fix(float): only clear diagnostics for valid buffers 2023-01-13 09:01:24 +01:00
Folke Lemaitre b73312aa32
fix: use `vim.api.nvim_exec_autocmds` instead of `vim.cmd[[do]]` to prevent weird `vim.notify` behavior 2023-01-13 09:01:24 +01:00
Folke Lemaitre 81017b99e7
fix(cache): de-duplicate topmods. Fixes #349 2023-01-13 09:01:24 +01:00
Folke Lemaitre 784bb3c100
refactor: removed special `__merge` functionality 2023-01-12 13:13:30 +01:00
Folke Lemaitre 2128ca90fb
feat(spec): event, keys, ft and cmd can now also be a function that returns the values to be used 2023-01-12 13:08:43 +01:00
Folke Lemaitre 3fbe4fe27a
fix(ui): open diff and others over the ui. Don't try to be smart about it. Fixes #361 2023-01-12 09:01:36 +01:00
github-actions[bot] 0741d62319
chore(main): release 9.1.3 (#374)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-11 23:13:41 +01:00
Folke Lemaitre 07fd7adb34
fix(cache): use cached chunk when specs are loading for valid plugins 2023-01-11 23:11:38 +01:00
Folke Lemaitre e1cd9cd0ad
fix(loader): prevent loading plugins when loading specs 2023-01-11 23:08:07 +01:00
github-actions[bot] 9d494e0594
chore(main): release 9.1.2 (#362)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-11 21:45:02 +01:00
Folke Lemaitre a64623899d
fix(ui): possible error during initial install 2023-01-11 17:13:10 +01:00
Folke Lemaitre 74bc61ab97
fix(handlers): allow overriding handler values 2023-01-11 13:44:09 +01:00
Folke Lemaitre 3b44c3c14a
fix(ui): reset buf and win options on resize 2023-01-11 13:43:17 +01:00
Folke Lemaitre 5aca9280df
perf(util): execute VeryLazy right after UIEnter 2023-01-11 13:40:19 +01:00
Folke Lemaitre 8756c0950c
fix(ui): properly position Lazy tabs when opening another cmd. Fixes #361 2023-01-10 14:26:34 +01:00
github-actions[bot] d2110278be
chore(main): release 9.1.1 (#360)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-10 11:21:52 +01:00
Folke Lemaitre 5faadf6398
fix(ui): get_plugin should return when ui is not showing 2023-01-10 11:19:47 +01:00
github-actions[bot] 18eb724dff
chore(main): release 9.1.0 (#352)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-10 09:40:28 +01:00
Folke Lemaitre 70b07ebad5
ci: let release-please update Config.version 2023-01-10 09:28:59 +01:00
Folke Lemaitre ad7aafb257
fix(spec): don't import specs more than once 2023-01-10 09:28:59 +01:00
Folke Lemaitre 9fa62ea8ea
fix(cache): dont keep invalid entries in the cache (cleanup) 2023-01-10 09:28:59 +01:00
Folke Lemaitre d3a963d51c
refactor(util): improved notify functions 2023-01-10 09:28:59 +01:00
Folke Lemaitre b28c6b9000
feat(util): `Util.merge` now support advanced merging strategies. Docs coming soon 2023-01-10 07:32:28 +01:00
Folke Lemaitre e6ee0fa610
fix(ui): keymap for building a single plugin changed from `b` to `gb`. Fixes #358 2023-01-09 20:21:31 +01:00
Folke Lemaitre 4304035ef4
feat(spec): allow git@ and http urls in `Plugin[1]` without `url=`. Fixes #357 2023-01-09 13:25:50 +01:00
Folke Lemaitre d813c518d5
docs: improvements to readme updater 2023-01-09 13:09:16 +01:00
Folke Lemaitre 3a216d008d
fix(docs): auto-gen of readme stuff 2023-01-09 08:05:46 +01:00
Folke Lemaitre a32e307981
fix(diffview): fixed parameter for showing single commit with DiffView. Fixes #304 2023-01-09 08:05:32 +01:00
Folke Lemaitre e77be3cf3b
fix(spec): `Plugin.opts` is now always a table. Fixes #351 2023-01-08 18:45:40 +01:00
Folke Lemaitre 7260a2b28b
feat(spec)!: setting a table to `Plugin.config` is now deprecated. Please use `Plugin.opts` instead. (backward compatible for now) 2023-01-08 15:01:58 +01:00
Folke Lemaitre 6a31b97e37
feat(util): better deep merging with `Util.merge` 2023-01-08 15:01:58 +01:00
Folke Lemaitre 615781aebf
feat(git): lazy now detects origin changes and will fix it on update. Fixes #346. Fixes #331 2023-01-08 08:32:03 +01:00
Folke Lemaitre a39fa0f0ce
feat(git): added fast `Git.get_origin` and `Git.get_config` 2023-01-08 08:05:44 +01:00
Folke Lemaitre ad00eb1be2
test: fixed helper function to delete test directory 2023-01-07 22:52:49 +01:00
Folke Lemaitre d34c85d580
fix(cache): check that modpaths still exist when finding mod root 2023-01-07 22:24:53 +01:00
Folke Lemaitre c313249271
feat(spec): show error when loading two specs with the same name and a different url. Fixes #337 2023-01-07 09:37:03 +01:00
Folke Lemaitre 5ed89b5a0d
fix(config): properly handle uis connecting after startup 2023-01-07 09:12:59 +01:00
Brian Koropoff 05b55deb16
fix(config): Don't cache check for attached UIs (#340)
UIs can attach and detach from headless nvim dynamically
(indeed, this is one of its use cases).
2023-01-07 09:01:45 +01:00
Folke Lemaitre 102bc2722e
fix(loader): source runtime files without `silent`. Fixes #336 2023-01-06 19:16:39 +01:00
Folke Lemaitre 4f76b431f7
refactor(util)!: `require("lazy.util").open_cmd()` is deprecated. See the docs 2023-01-06 11:20:08 +01:00
Folke Lemaitre eed1ef3c2d
feat(commands): `:Lazy! load` now skips `cond` checks when loading plugins. Fixes #330 2023-01-06 07:11:50 +01:00
Folke Lemaitre 2ef44e2dee
fix(loader): revert change that loaded /plugin after config. Fixes #328 2023-01-05 19:43:47 +01:00
Folke Lemaitre e89e938991
refactor: split open_cmd in float_cmd and float_term 2023-01-05 17:36:01 +01:00
Folke Lemaitre 13af39b83e
refactor: easier to pass window options for floats 2023-01-05 17:01:56 +01:00
Folke Lemaitre b2dec14824
fix(cache): check full paths of cached modpaths. Fixes #324 2023-01-05 13:42:23 +01:00
Folke Lemaitre e4f79a42d6
fix(util): Util.try can now work without an error message 2023-01-05 11:31:13 +01:00
Folke Lemaitre 847ef091fa
style: disabled stats debug 2023-01-05 11:30:47 +01:00
Folke Lemaitre c59c05c7a8
fix(loader): run plugin config before sourcing runtime 2023-01-04 23:17:29 +01:00
Folke Lemaitre dea43afc4a
feat(spec): allow import property on a plugin spec 2023-01-04 17:50:57 +01:00
Tsakiris Tryfon 3bde7b5ba8
fix(keys): Use vim's default value for an unset g:mapleader (#316) 2023-01-04 14:02:48 +01:00
Folke Lemaitre a7ac2ad020
feat(loader): disable plugins 2023-01-04 12:40:00 +01:00