mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-24 20:31:20 +00:00
treewide: use the module option for nvim-web-devicons instead of startPlugins
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I7156c980edc28aded12df0d483c217486a6a6964
This commit is contained in:
parent
df94a99201
commit
1c0c41e8f5
3 changed files with 6 additions and 10 deletions
|
|
@ -11,10 +11,8 @@
|
||||||
layoutDefined = cfg.layout != [];
|
layoutDefined = cfg.layout != [];
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim.startPlugins = [
|
vim.startPlugins = ["alpha-nvim"];
|
||||||
"alpha-nvim"
|
visuals.nvim-web-devicons.enable = true;
|
||||||
"nvim-web-devicons"
|
|
||||||
];
|
|
||||||
|
|
||||||
vim.pluginRC.alpha = let
|
vim.pluginRC.alpha = let
|
||||||
setupOpts =
|
setupOpts =
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,8 @@
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = [
|
startPlugins = ["nui-nvim"];
|
||||||
# dependencies
|
visuals.nvim-web-devicons.enable = true;
|
||||||
"nui-nvim" # ui library
|
|
||||||
"nvim-web-devicons" # glyphs
|
|
||||||
];
|
|
||||||
|
|
||||||
lazy.plugins = {
|
lazy.plugins = {
|
||||||
"hunk-nvim" = {
|
"hunk-nvim" = {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,8 @@
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = ["tiny-devicons-auto-colors-nvim" "nvim-web-devicons"];
|
startPlugins = ["tiny-devicons-auto-colors-nvim"];
|
||||||
|
visuals.nvim-web-devicons.enable = true;
|
||||||
|
|
||||||
pluginRC.tiny-devicons-auto-colors = entryAnywhere ''
|
pluginRC.tiny-devicons-auto-colors = entryAnywhere ''
|
||||||
require("tiny-devicons-auto-colors").setup(${toLuaObject cfg.setupOpts})
|
require("tiny-devicons-auto-colors").setup(${toLuaObject cfg.setupOpts})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue