fixed startify indent lines; changed cowsay setting

This commit is contained in:
Ellis Rahhal 2025-02-23 23:12:00 -08:00
parent 9f232f8f96
commit 470005d298
3 changed files with 27 additions and 14 deletions

View file

@ -9,7 +9,7 @@
description = "Enable ai plugins"; description = "Enable ai plugins";
}; };
enable-startify = lib.mkOption { enable-startify-cowsay = lib.mkOption {
type = lib.types.bool; type = lib.types.bool;
default = false; default = false;
description = "Enable startify"; description = "Enable startify";

View file

@ -4,17 +4,6 @@
indent-blankline = { indent-blankline = {
enable = true; enable = true;
luaConfig.post = '' luaConfig.post = ''
vim.g.indent_blankline_filetype_exclude = {
'checkhealth',
'dashboard',
'help',
'lspinfo',
'neogitstatus',
'packer',
'startify',
"",
}
local highlight = { local highlight = {
"RainbowRed", "RainbowRed",
"RainbowYellow", "RainbowYellow",
@ -38,7 +27,31 @@
end) end)
vim.g.rainbow_delimiters = { highlight = highlight } vim.g.rainbow_delimiters = { highlight = highlight }
require("ibl").setup { scope = { highlight = highlight } }
require("ibl").setup({
scope = {
highlight = highlight
},
exclude = {
buftypes = {
"terminal",
"quickfix",
"startify",
},
filetypes = {
"",
"checkhealth",
"help",
"lspinfo",
"neogitstatus",
"packer",
"startify",
"TelescopePrompt",
"TelescopeResults",
"yaml",
},
};
})
hooks.register(hooks.type.SCOPE_HIGHLIGHT, hooks.builtin.scope_highlight_from_extmark) hooks.register(hooks.type.SCOPE_HIGHLIGHT, hooks.builtin.scope_highlight_from_extmark)
''; '';

View file

@ -4,7 +4,7 @@
plugins.startify = { plugins.startify = {
enable = true; enable = true;
settings = { settings = {
custom_header = if config.nixvim-config.enable-startify then null else [ custom_header = if config.nixvim-config.enable-startify-cowsay then null else [
''. _______ ____ ____.___ _____'' ''. _______ ____ ____.___ _____''
''. \ \ ____ ___\ \ / /| | / \'' ''. \ \ ____ ___\ \ / /| | / \''
''. / | \_/ __ \/ _ \ Y / | |/ \ / \'' ''. / | \_/ __ \/ _ \ Y / | |/ \ / \''