Fix devicons

This commit is contained in:
Matthew Leong 2022-10-03 10:03:49 -07:00
parent 84c7f848e8
commit b3474cd289
2 changed files with 6 additions and 3 deletions

View file

@ -22,6 +22,11 @@ return packer.startup(function()
disable = vim.tbl_contains(user_config.disable_builtin_plugins, 'notify'), disable = vim.tbl_contains(user_config.disable_builtin_plugins, 'notify'),
}) })
use({
'kyazdani42/nvim-web-devicons',
after = user_config.theme,
})
-- theme stuff -- theme stuff
use({ -- statusline use({ -- statusline
'NTBBloodbath/galaxyline.nvim', 'NTBBloodbath/galaxyline.nvim',

View file

@ -18,9 +18,7 @@ if config.lsp.format_on_save then
timeout_ms = config.lsp.format_timeout, timeout_ms = config.lsp.format_timeout,
-- check user config to see if we can format on save -- check user config to see if we can format on save
filter = function(client) filter = function(client)
if config.lsp.can_client_format(client.name) then return config.lsp.can_client_format(client.name)
return client.name
end
end, end,
}) })
end, end,