mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat(neovim): finish transition to nixvim
This commit is contained in:
parent
052fded8e2
commit
2f4c2df735
31 changed files with 806 additions and 2131 deletions
44
users/myuser/neovim/web-devicons.nix
Normal file
44
users/myuser/neovim/web-devicons.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{pkgs, ...}: {
|
||||
programs.nixvim = {
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
nvim-web-devicons
|
||||
];
|
||||
|
||||
extraConfigLuaPost = ''
|
||||
require("nvim-web-devicons").setup {
|
||||
override = {
|
||||
default_icon = { icon = "", name = "Default", },
|
||||
c = { icon = "", name = "c", },
|
||||
css = { icon = "", name = "css", },
|
||||
dart = { icon = "", name = "dart", },
|
||||
deb = { icon = "", name = "deb", },
|
||||
Dockerfile = { icon = "", name = "Dockerfile", },
|
||||
html = { icon = "", name = "html", },
|
||||
jpeg = { icon = "", name = "jpeg", },
|
||||
jpg = { icon = "", name = "jpg", },
|
||||
js = { icon = "", name = "js", },
|
||||
kt = { icon = "", name = "kt", },
|
||||
lock = { icon = "", name = "lock", },
|
||||
lua = { icon = "", name = "lua", },
|
||||
mp3 = { icon = "", name = "mp3", },
|
||||
mp4 = { icon = "", name = "mp4", },
|
||||
out = { icon = "", name = "out", },
|
||||
png = { icon = "", name = "png", },
|
||||
py = { icon = "", name = "py", },
|
||||
["robots.txt"] = { icon = "", name = "robots", },
|
||||
toml = { icon = "", name = "toml", },
|
||||
ts = { icon = "", name = "ts", },
|
||||
ttf = { icon = "", name = "TrueTypeFont", },
|
||||
rb = { icon = "", name = "rb", },
|
||||
rpm = { icon = "", name = "rpm", },
|
||||
vue = { icon = "", name = "vue", },
|
||||
woff = { icon = "", name = "WebOpenFontFormat", },
|
||||
woff2 = { icon = "", name = "WebOpenFontFormat2", },
|
||||
xz = { icon = "", name = "xz", },
|
||||
zip = { icon = "", name = "zip", },
|
||||
},
|
||||
default = true,
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue