forked from mirrors_public/oddlama_nix-config
chore: update nixvim changes
This commit is contained in:
parent
830b84f417
commit
8fbb616fd8
3 changed files with 137 additions and 65 deletions
|
@ -3,28 +3,26 @@
|
||||||
# Statusline
|
# Statusline
|
||||||
lualine = {
|
lualine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions = ["fzf" "nvim-dap-ui" "symbols-outline" "trouble" "neo-tree" "quickfix" "fugitive"];
|
settings = {
|
||||||
componentSeparators.left = null;
|
extensions = ["fzf" "nvim-dap-ui" "symbols-outline" "trouble" "neo-tree" "quickfix" "fugitive"];
|
||||||
componentSeparators.right = null;
|
component_separators.left = null;
|
||||||
# componentSeparators.left = "|";
|
component_separators.right = null;
|
||||||
# componentSeparators.right = "|";
|
sections = {
|
||||||
# sectionSeparators.left = "";
|
lualine_a = ["mode"];
|
||||||
# sectionSeparators.right = "";
|
lualine_b = ["branch" "filename"];
|
||||||
sections = {
|
lualine_c = ["diff" "diagnostics"];
|
||||||
lualine_a = ["mode"];
|
lualine_x = ["encoding" "fileformat" "filetype"];
|
||||||
lualine_b = ["branch" "filename"];
|
lualine_y = ["progress"];
|
||||||
lualine_c = ["diff" "diagnostics"];
|
lualine_z = ["location"];
|
||||||
lualine_x = ["encoding" "fileformat" "filetype"];
|
};
|
||||||
lualine_y = ["progress"];
|
inactive_sections = {
|
||||||
lualine_z = ["location"];
|
lualine_a = ["filename"];
|
||||||
};
|
lualine_b = [];
|
||||||
inactiveSections = {
|
lualine_c = ["diagnostics"];
|
||||||
lualine_a = ["filename"];
|
lualine_x = [];
|
||||||
lualine_b = [];
|
lualine_y = [];
|
||||||
lualine_c = ["diagnostics"];
|
lualine_z = ["location"];
|
||||||
lualine_x = [];
|
};
|
||||||
lualine_y = [];
|
|
||||||
lualine_z = ["location"];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
cssls.enable = true;
|
cssls.enable = true;
|
||||||
html.enable = true;
|
html.enable = true;
|
||||||
# rust-analyzer should not be set here because of rustaceanvim
|
# rust-analyzer should not be set here because of rustaceanvim
|
||||||
nil-ls = {
|
nil_ls = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
formatting.command = [(lib.getExe pkgs.alejandra) "--quiet"];
|
formatting.command = [(lib.getExe pkgs.alejandra) "--quiet"];
|
||||||
|
|
|
@ -1,44 +1,118 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
programs.nixvim = {
|
programs.nixvim.plugins.web-devicons = {
|
||||||
extraPlugins = with pkgs.vimPlugins; [
|
enable = true;
|
||||||
nvim-web-devicons
|
# customIcons.c = {
|
||||||
];
|
# icon = "";
|
||||||
|
# name = "c";
|
||||||
extraConfigLuaPost = ''
|
# };
|
||||||
require("nvim-web-devicons").setup {
|
# customIcons.css = {
|
||||||
override = {
|
# icon = "";
|
||||||
default_icon = { icon = "", name = "Default", },
|
# name = "css";
|
||||||
c = { icon = "", name = "c", },
|
# };
|
||||||
css = { icon = "", name = "css", },
|
# customIcons.dart = {
|
||||||
dart = { icon = "", name = "dart", },
|
# icon = "";
|
||||||
deb = { icon = "", name = "deb", },
|
# name = "dart";
|
||||||
Dockerfile = { icon = "", name = "Dockerfile", },
|
# };
|
||||||
html = { icon = "", name = "html", },
|
# customIcons.deb = {
|
||||||
jpeg = { icon = "", name = "jpeg", },
|
# icon = "";
|
||||||
jpg = { icon = "", name = "jpg", },
|
# name = "deb";
|
||||||
js = { icon = "", name = "js", },
|
# };
|
||||||
kt = { icon = "", name = "kt", },
|
# customIcons.Dockerfile = {
|
||||||
lock = { icon = "", name = "lock", },
|
# icon = "";
|
||||||
lua = { icon = "", name = "lua", },
|
# name = "Dockerfile";
|
||||||
mp3 = { icon = "", name = "mp3", },
|
# };
|
||||||
mp4 = { icon = "", name = "mp4", },
|
# customIcons.html = {
|
||||||
out = { icon = "", name = "out", },
|
# icon = "";
|
||||||
png = { icon = "", name = "png", },
|
# name = "html";
|
||||||
py = { icon = "", name = "py", },
|
# };
|
||||||
["robots.txt"] = { icon = "", name = "robots", },
|
# customIcons.jpeg = {
|
||||||
toml = { icon = "", name = "toml", },
|
# icon = "";
|
||||||
ts = { icon = "", name = "ts", },
|
# name = "jpeg";
|
||||||
ttf = { icon = "", name = "TrueTypeFont", },
|
# };
|
||||||
rb = { icon = "", name = "rb", },
|
# customIcons.jpg = {
|
||||||
rpm = { icon = "", name = "rpm", },
|
# icon = "";
|
||||||
vue = { icon = "", name = "vue", },
|
# name = "jpg";
|
||||||
woff = { icon = "", name = "WebOpenFontFormat", },
|
# };
|
||||||
woff2 = { icon = "", name = "WebOpenFontFormat2", },
|
# customIcons.js = {
|
||||||
xz = { icon = "", name = "xz", },
|
# icon = "";
|
||||||
zip = { icon = "", name = "zip", },
|
# name = "js";
|
||||||
},
|
# };
|
||||||
default = true,
|
# customIcons.kt = {
|
||||||
}
|
# icon = "";
|
||||||
'';
|
# name = "kt";
|
||||||
|
# };
|
||||||
|
# customIcons.lock = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "lock";
|
||||||
|
# };
|
||||||
|
# customIcons.lua = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "lua";
|
||||||
|
# };
|
||||||
|
# customIcons.mp3 = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "mp3";
|
||||||
|
# };
|
||||||
|
# customIcons.mp4 = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "mp4";
|
||||||
|
# };
|
||||||
|
# customIcons.out = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "out";
|
||||||
|
# };
|
||||||
|
# customIcons.png = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "png";
|
||||||
|
# };
|
||||||
|
# customIcons.py = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "py";
|
||||||
|
# };
|
||||||
|
# customIcons."robots.txt" = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "robots";
|
||||||
|
# };
|
||||||
|
# customIcons.toml = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "toml";
|
||||||
|
# };
|
||||||
|
# customIcons.ts = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "ts";
|
||||||
|
# };
|
||||||
|
# customIcons.ttf = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "TrueTypeFont";
|
||||||
|
# };
|
||||||
|
# customIcons.rb = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "rb";
|
||||||
|
# };
|
||||||
|
# customIcons.rpm = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "rpm";
|
||||||
|
# };
|
||||||
|
# customIcons.vue = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "vue";
|
||||||
|
# };
|
||||||
|
# customIcons.woff = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "WebOpenFontFormat";
|
||||||
|
# };
|
||||||
|
# customIcons.woff2 = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "WebOpenFontFormat2";
|
||||||
|
# };
|
||||||
|
# customIcons.xz = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "xz";
|
||||||
|
# };
|
||||||
|
# customIcons.zip = {
|
||||||
|
# icon = "";
|
||||||
|
# name = "zip";
|
||||||
|
# };
|
||||||
|
defaultIcon.icon = "";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue