Skip to content

Commit

Permalink
refactor: move lib
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Nov 23, 2023
1 parent d1a92e5 commit 2594664
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
13 changes: 0 additions & 13 deletions lua/ht/plugins/libs.lua

This file was deleted.

19 changes: 18 additions & 1 deletion src/conf/plugins/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
import { Plugin } from "@core/model";
import { plugin as imageNvim } from "./image-nvim";

export const plugins = [imageNvim] as const;

function newLibPlugin(name: string) {
return new Plugin({
shortUrl: name,
lazy: {
lazy: true,
}
});
}

export const plugins = [
newLibPlugin("MunifTanjim/nui.nvim"),
newLibPlugin("nvim-lua/popup.nvim"),
newLibPlugin("nvim-lua/plenary.nvim"),
newLibPlugin("nvim-tree/nvim-web-devicons"),
imageNvim
] as const;

0 comments on commit 2594664

Please sign in to comment.