fix(neovim): fix dependency loading

This commit is contained in:
Barrett Ruth 2026-03-02 20:29:30 -05:00
parent d2b61c7e0a
commit db7edb13b8
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
3 changed files with 5 additions and 4 deletions

View file

@ -206,7 +206,7 @@ return {
},
{
'barrettruth/nonicons.nvim',
enabled = false,
enabled = true,
},
{
'barrettruth/canola.nvim',

View file

@ -6,7 +6,7 @@ return {
'ibhagwan/fzf-lua',
after = function()
local fzf = require('fzf-lua')
local has_devicons = pcall(require, 'nvim-web-devicons')
local has_icons = pcall(require, 'nonicons')
local opts = {
file_icon_padding = ' ',
@ -85,8 +85,8 @@ return {
},
}
opts.files.file_icons = has_devicons
opts.grep.file_icons = has_devicons
opts.files.file_icons = has_icons
opts.grep.file_icons = has_icons
opts.grep.rg_opts =
fzf.defaults.grep.rg_opts:gsub('%-e$', "--glob='!.git/' -e")

View file

@ -6,6 +6,7 @@ vim.pack.add({
return {
'nvimdev/guard.nvim',
before = function()
vim.cmd.packadd('guard-collection')
vim.g.guard_config = {
fmt_on_save = false,
save_on_fmt = true,