Skip to content

Commit

Permalink
[vim] try using nerd font with icons "FiraCode Nerd Font"
Browse files Browse the repository at this point in the history
  • Loading branch information
antonk52 committed Nov 3, 2023
1 parent 350592f commit c421674
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 47 deletions.
48 changes: 1 addition & 47 deletions nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ local plugins = {
{
'folke/trouble.nvim',
opts = {
icons = false,
icons = true,
fold_open = 'v', -- icon used for open folds
fold_closed = '>', -- icon used for closed folds
indent_lines = false, -- add an indent guide below the fold icons
Expand Down Expand Up @@ -276,35 +276,6 @@ local plugins = {
separator = '/',
},
exclude_filetypes = { 'netrw', 'toggleterm', 'dirvish', 'hgssl', 'hghistory', 'hgcommit' },
-- instead of icons
kinds = {
File = 'F',
Module = 'M',
Namespace = 'N',
Package = 'P',
Class = 'C',
Method = 'M',
Property = 'P',
Field = 'F',
Constructor = 'C',
Enum = 'E',
Interface = 'I',
Function = 'F',
Variable = 'V',
Constant = 'C',
String = 'S',
Number = 'N',
Boolean = 'B',
Array = 'A',
Object = 'O',
Key = 'K',
Null = 'N',
EnumMember = 'E',
Struct = 'S',
Event = 'E',
Operator = 'O',
TypeParameter = 'T',
},
})

vim.keymap.set('n', '<leader>{', function()
Expand Down Expand Up @@ -534,23 +505,6 @@ local lazy_options = {
},
},
},
ui = {
icons = {
cmd = '',
config = '🛠',
event = '📅',
ft = '📂',
init = '',
keys = '🗝',
plugin = '🔌',
runtime = '💻',
require = '🌙',
source = '📄',
start = '🚀',
task = '📌',
lazy = '💤 ',
},
},
}

-- Dayjob specific {{{2
Expand Down
1 change: 1 addition & 0 deletions nvim/lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"colorizer": { "branch": "master", "commit": "dde3084106a70b9a79d48f426f6d6fec6fd203f7" },
"conform.nvim": { "branch": "master", "commit": "2c1e852fbf723b7d89b14fd28089472d92edeeb9" },
"copilot.lua": { "branch": "master", "commit": "688762a3999eeee54b78f447719854f52672ec02" },
"denty.nvim": { "branch": "main", "commit": "b9722a37cfadb3be9f00b7ef738f1e9eeb140e07" },
"git.nvim": { "branch": "main", "commit": "741696687486f25f8b73d9e4c76ab2ede9998f39" },
Expand Down

0 comments on commit c421674

Please sign in to comment.