mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
utility/images: add magick to lua packages
This commit is contained in:
parent
7cb428520b
commit
d7878b525c
1 changed files with 7 additions and 6 deletions
|
@ -10,12 +10,13 @@
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins =
|
startPlugins = [
|
||||||
[
|
|
||||||
"image-nvim"
|
"image-nvim"
|
||||||
# TODO: needs luarockss here somehow
|
];
|
||||||
]
|
|
||||||
++ (attrValues {inherit (pkgs) luarocks imagemagick;});
|
luaPackages = [
|
||||||
|
"magick"
|
||||||
|
];
|
||||||
|
|
||||||
luaConfigRC.image-nvim = nvim.dag.entryAnywhere ''
|
luaConfigRC.image-nvim = nvim.dag.entryAnywhere ''
|
||||||
require("image").setup(
|
require("image").setup(
|
||||||
|
|
Loading…
Reference in a new issue