1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat(nvim): fix invalid icons

This commit is contained in:
oddlama 2023-10-23 00:56:19 +02:00
parent 3e6bb8da31
commit 141781e2eb
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 52 additions and 45 deletions

View file

@ -65,7 +65,6 @@
# TODO sway shortcuts # TODO sway shortcuts
# TODO VP9 hardware video decoding blocklisted # TODO VP9 hardware video decoding blocklisted
# TODO gpg switch to sk # TODO gpg switch to sk
# TODO some font icons not showing neovim because removed from nerdfonts, replace with bertter .
persistence."/state".directories = [ persistence."/state".directories = [
"Downloads" # config.xdg.userDirs.download (infinite recursion) "Downloads" # config.xdg.userDirs.download (infinite recursion)

View file

@ -54,9 +54,10 @@ opt.shiftwidth = 4
opt.softtabstop = 4 opt.softtabstop = 4
opt.shiftround = true -- Round indentation commands to next multiple of shiftwidth opt.shiftround = true -- Round indentation commands to next multiple of shiftwidth
opt.formatoptions = "rqj" -- r = insert comment leader when hitting <Enter> in insert mode -- r = insert comment leader when hitting <Enter> in insert mode
-- q = allow explicit formatting with gq -- q = allow explicit formatting with gq
-- j = remove comment leaders when joining lines if it makes sense -- j = remove comment leaders when joining lines if it makes sense
opt.formatoptions = "rqj"
opt.virtualedit = "all" -- Allow the curser to be positioned on cells that have no actual character; opt.virtualedit = "all" -- Allow the curser to be positioned on cells that have no actual character;
-- Like moving beyond EOL or on any visual 'space' of a tab character -- Like moving beyond EOL or on any visual 'space' of a tab character

View file

@ -1,44 +1,46 @@
local M = {} local M = {}
M.lspkind = { M.lspkind = {
Namespace = "", Namespace = "󰌗",
Text = "", Text = "󰉿",
Method = "", Method = "󰆧",
Function = "", Function = "󰆧",
Constructor = " ", Constructor = "",
Field = "", Field = "󰜢",
Variable = "", Variable = "󰀫",
Class = "", Class = "󰠱",
Interface = " ", Interface = "",
Module = " ", Module = "",
Property = "", Property = "󰜢",
Unit = "", Unit = "󰑭",
Value = "", Value = "󰎠",
Enum = " ", Enum = "",
Keyword = "", Keyword = "󰌋",
Snippet = " ", Snippet = "",
Color = "", Color = "󰏘",
File = "", File = "󰈚",
Reference = "", Reference = "󰈇",
Folder = "", Folder = "󰉋",
EnumMember = " ", EnumMember = "",
Constant = "", Constant = "󰏿",
Struct = "", Struct = "󰙅",
Event = " ", Event = "",
Operator = "", Operator = "󰆕",
TypeParameter = "", TypeParameter = "󰊄",
Table = "", Table = "",
Object = "", Object = "󰅩",
Tag = "", Tag = "",
Array = "[]", Array = "[]",
Boolean = " ", Boolean = "",
Number = " ", Number = "",
Null = "", Null = "󰟢",
String = "", String = "󰉿",
Calendar = "", Calendar = "",
Watch = "", Watch = "󰥔",
Package = "", Package = "",
Copilot = "", Copilot = "",
Codeium = "",
TabNine = "",
} }
M.statusline_separators = { M.statusline_separators = {
@ -65,7 +67,7 @@ M.statusline_separators = {
M.devicons = { M.devicons = {
default_icon = { default_icon = {
icon = "", icon = "󰈚",
name = "Default", name = "Default",
}, },
@ -79,6 +81,11 @@ M.devicons = {
name = "css", name = "css",
}, },
dart = {
icon = "",
name = "dart",
},
deb = { deb = {
icon = "", icon = "",
name = "deb", name = "deb",
@ -95,17 +102,17 @@ M.devicons = {
}, },
jpeg = { jpeg = {
icon = "", icon = "󰉏",
name = "jpeg", name = "jpeg",
}, },
jpg = { jpg = {
icon = "", icon = "󰉏",
name = "jpg", name = "jpg",
}, },
js = { js = {
icon = "", icon = "󰌞",
name = "js", name = "js",
}, },
@ -115,7 +122,7 @@ M.devicons = {
}, },
lock = { lock = {
icon = "", icon = "󰌾",
name = "lock", name = "lock",
}, },
@ -125,7 +132,7 @@ M.devicons = {
}, },
mp3 = { mp3 = {
icon = "", icon = "󰎆",
name = "mp3", name = "mp3",
}, },
@ -140,7 +147,7 @@ M.devicons = {
}, },
png = { png = {
icon = "", icon = "󰉏",
name = "png", name = "png",
}, },
@ -150,7 +157,7 @@ M.devicons = {
}, },
["robots.txt"] = { ["robots.txt"] = {
icon = "", icon = "󰚩",
name = "robots", name = "robots",
}, },
@ -160,7 +167,7 @@ M.devicons = {
}, },
ts = { ts = {
icon = "", icon = "󰛦",
name = "ts", name = "ts",
}, },
@ -180,7 +187,7 @@ M.devicons = {
}, },
vue = { vue = {
icon = "", icon = "󰡄",
name = "vue", name = "vue",
}, },