Commit Graph

25 Commits

Author SHA1 Message Date
Alexander Grebennik 7108809ab1
fix(plugins): "Vim:E150: Not a directory" on plugin update (#1679)
## Description

On plugins update it fails with following error for any plugin.

```
~/.local/share/nvim/lazy/lazy.nvim/manage/task/plugin.lua:95: Vim:E150: Not a directory: ~/.local/share/nvim/lazy/gitsigns.nvim/doc/
```
2024-07-25 12:53:01 +02:00
Folke Lemaitre 5bdb12a038
fix(build): only load the plugin before build for `:` build commands 2024-07-19 08:57:37 +02:00
Folke Lemaitre 6c7ef7e27a
refactor: logging 2024-06-26 18:31:31 +02:00
Folke Lemaitre 765773a176
refactor: use new async code for runner and simplify task class 2024-06-26 17:06:56 +02:00
Folke Lemaitre 7d3f69104f
fix(rocks): better errors / warnings when something goes wrong with luarocks 2024-06-25 13:23:25 +02:00
Folke Lemaitre 45cd8d3f0f
fix(rocks): hererocks paths on windows 2024-06-25 06:40:50 +02:00
Folke Lemaitre d87da76679
feat(rocks): use hererocks to install luarocks when luarocks is not found 2024-06-25 07:55:30 +02:00
Folke Lemaitre 368747bc9a feat(build): build files and functions are now async. use coroutine.yield to interrupt and report progress 2024-06-24 17:15:10 +02:00
Folke Lemaitre 314193af1d
fix(build): allow build=false to skip building 2023-11-04 10:14:03 +01:00
Folke Lemaitre 22bf6ae04b
style: sort requires 2023-10-09 11:25:42 +02:00
Folke Lemaitre 189371c8d8
fix(build): allow `build` command to override plugin's build and option to disable warning 2023-06-30 21:19:33 +02:00
Folke Lemaitre 4c26421785
feat(build): added support for build.lua, build/init.lua (#903) 2023-06-30 18:22:39 +02: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
Folke Lemaitre 23c0587791
feat(commands): added build command to force rebuild of a plugin 2023-01-01 09:41:43 +01:00
Folke Lemaitre b6ebed5888
fix(plugin): pass plugin as arg to config/init/build 2022-12-26 22:59:07 +01:00
Folke Lemaitre 9110371120
feat(build): build can now be a list to execute multiple build commands. Fixes #143 2022-12-24 11:30:15 +01:00
Folke Lemaitre 1371a14167
fix(build): use the shell to execute build commands 2022-12-20 16:57:02 +01:00
Folke Lemaitre 3ed24baeb0
fix: source plugin files for plugins that want to run a build script during startup 2022-12-03 17:46:34 +01:00
Folke Lemaitre dbe2d0942a
feat: plugins no longer need to be installed under site/pack/*/opt 2022-12-03 15:48:06 +01:00
Folke Lemaitre 5134e797f3
feat!: all plugins are now opt. Plugin.opt => Plugin.lazy 2022-12-01 11:23:39 +01:00
Folke Lemaitre 042aaa4f87
feat!: renamed Plugin.run => Plugin.build 2022-12-01 07:43:34 +01:00
Folke Lemaitre fb84c081b0
feat: lots of improvements to pipeline runner and converted all tasks to new system 2022-11-28 22:03:44 +01:00
Folke Lemaitre 16fd35c285
refactor: Task.needed => task.skip 2022-11-28 13:11:20 +01:00
Folke Lemaitre 28af1e1ac3
refactor: moved all plugin state to Plugin._ 2022-11-28 11:19:50 +01:00
Folke Lemaitre ab1b512545
feat: new task pipeline runner 2022-11-28 11:04:32 +01:00