fix(neovim): fix dependency loading
This commit is contained in:
parent
d2b61c7e0a
commit
db7edb13b8
3 changed files with 5 additions and 4 deletions
|
|
@ -206,7 +206,7 @@ return {
|
|||
},
|
||||
{
|
||||
'barrettruth/nonicons.nvim',
|
||||
enabled = false,
|
||||
enabled = true,
|
||||
},
|
||||
{
|
||||
'barrettruth/canola.nvim',
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue