mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 09:49:48 +01: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