fixed startify indent lines; changed cowsay setting
This commit is contained in:
parent
9f232f8f96
commit
470005d298
3 changed files with 27 additions and 14 deletions
|
@ -9,7 +9,7 @@
|
|||
description = "Enable ai plugins";
|
||||
};
|
||||
|
||||
enable-startify = lib.mkOption {
|
||||
enable-startify-cowsay = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable startify";
|
||||
|
|
|
@ -4,17 +4,6 @@
|
|||
indent-blankline = {
|
||||
enable = true;
|
||||
luaConfig.post = ''
|
||||
vim.g.indent_blankline_filetype_exclude = {
|
||||
'checkhealth',
|
||||
'dashboard',
|
||||
'help',
|
||||
'lspinfo',
|
||||
'neogitstatus',
|
||||
'packer',
|
||||
'startify',
|
||||
"",
|
||||
}
|
||||
|
||||
local highlight = {
|
||||
"RainbowRed",
|
||||
"RainbowYellow",
|
||||
|
@ -38,7 +27,31 @@
|
|||
end)
|
||||
|
||||
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)
|
||||
'';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
plugins.startify = {
|
||||
enable = true;
|
||||
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 / | |/ \ / \''
|
||||
|
|
Loading…
Add table
Reference in a new issue