diff options
author | Damjan 9000 <damjan.9000@gmail.com> | 2024-03-06 19:44:10 +0100 |
---|---|---|
committer | Damjan 9000 <damjan.9000@gmail.com> | 2024-03-06 19:44:10 +0100 |
commit | 56942efafbbeafbfe77f8234acd1eefc55b4e322 (patch) | |
tree | 0f064bc7ad529e8956b7567b568642eef12326de /lua/lazy-plugins.lua | |
parent | 586bdec3b9d03795cdf9dc30dc25401994a100d4 (diff) | |
parent | 66e2a5a425a4f3b2e4f9456d82b29718c24a8993 (diff) |
Merge 'upstream/master' Make the Nerd Font an optional requirement
Diffstat (limited to 'lua/lazy-plugins.lua')
-rw-r--r-- | lua/lazy-plugins.lua | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/lua/lazy-plugins.lua b/lua/lazy-plugins.lua index f06094d..a321594 100644 --- a/lua/lazy-plugins.lua +++ b/lua/lazy-plugins.lua @@ -9,7 +9,7 @@ -- :Lazy update -- -- NOTE: Here is where you install your plugins. -require('lazy').setup { +require('lazy').setup({ -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically @@ -66,6 +66,26 @@ require('lazy').setup { -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. -- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins` -- { import = 'custom.plugins' }, -} +}, { + ui = { + -- If you have a Nerd Font, set icons to an empty table which will use the + -- default lazy.nvim defined Nerd Font icons otherwise define a unicode icons table + icons = vim.g.have_nerd_font and {} or { + cmd = 'β', + config = 'π ', + event = 'π
', + ft = 'π', + init = 'β', + keys = 'π', + plugin = 'π', + runtime = 'π»', + require = 'π', + source = 'π', + start = 'π', + task = 'π', + lazy = 'π€ ', + }, + }, +}) -- vim: ts=2 sts=2 sw=2 et |