mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-23 20:12:00 +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 != [];
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
vim.startPlugins = [
|
||||
"alpha-nvim"
|
||||
"nvim-web-devicons"
|
||||
];
|
||||
vim.startPlugins = ["alpha-nvim"];
|
||||
visuals.nvim-web-devicons.enable = true;
|
||||
|
||||
vim.pluginRC.alpha = let
|
||||
setupOpts =
|
||||
|
|
|
|||
|
|
@ -9,11 +9,8 @@
|
|||
in {
|
||||
config = mkIf cfg.enable {
|
||||
vim = {
|
||||
startPlugins = [
|
||||
# dependencies
|
||||
"nui-nvim" # ui library
|
||||
"nvim-web-devicons" # glyphs
|
||||
];
|
||||
startPlugins = ["nui-nvim"];
|
||||
visuals.nvim-web-devicons.enable = true;
|
||||
|
||||
lazy.plugins = {
|
||||
"hunk-nvim" = {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@
|
|||
in {
|
||||
config = mkIf cfg.enable {
|
||||
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 ''
|
||||
require("tiny-devicons-auto-colors").setup(${toLuaObject cfg.setupOpts})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue