format with stylua

This commit is contained in:
2024-06-06 23:56:11 +02:00
parent d57eca961d
commit ae5b5fd06b
57 changed files with 994 additions and 989 deletions

View File

@@ -5,11 +5,11 @@ return {
config = function()
local C = require('astrotheme.palettes.astrodark')
require('astrotheme').setup({
palette = 'astrodark', -- String of the default palette to use when calling `:colorscheme astrotheme`
palette = 'astrodark', -- String of the default palette to use when calling `:colorscheme astrotheme`
termguicolors = true, -- Bool value, toggles if termguicolors are set by AstroTheme.
termguicolors = true, -- Bool value, toggles if termguicolors are set by AstroTheme.
terminal_color = true, -- Bool value, toggles if terminal_colors are set by AstroTheme.
terminal_color = true, -- Bool value, toggles if terminal_colors are set by AstroTheme.
plugin_default = 'auto', -- Sets how all plugins will be loaded
-- "auto": Uses lazy / packer enabled plugins to load highlights.
@@ -21,15 +21,12 @@ return {
},
palettes = {
global = {
},
astrodark = {
},
global = {},
astrodark = {},
},
highlights = {
global = {
modify_hl_groups = function(hl, c)
end,
modify_hl_groups = function(hl, c) end,
},
astrodark = {
modify_hl_groups = function(hl, c) -- modify_hl_groups function allows you to modify hl groups,
@@ -57,10 +54,10 @@ return {
['TelescopeTitle'] = { bg = C.surface0 },
['TelescopePromptNormal'] = { bg = C.surface0 },
['TelescopePromptBorder'] = { link = 'TelescopeBorder' },
}
}
},
},
})
vim.cmd('colorscheme astrodark')
end,
enabled = true
enabled = true,
}

View File

@@ -4,7 +4,7 @@ return {
priority = 1000,
config = function()
local colors = require('bamboo.palette')
require('bamboo').setup {
require('bamboo').setup({
dim_inactive = true, -- Dim inactive windows/buffers
cmp_itemkind_reverse = true,
lualine = {
@@ -33,8 +33,8 @@ return {
['LspReferenceText'] = { bg = colors.vulgaris.cyan, fg = colors.vulgaris.bg1, fmt = 'nocombine' },
['Delimiter'] = { fg = colors.vulgaris.fg },
},
}
})
require('bamboo').load()
end,
enabled = true
enabled = true,
}

View File

@@ -1,5 +1,4 @@
return
{
return {
'catppuccin/nvim',
name = 'catppuccin',
lazy = true,
@@ -63,7 +62,7 @@ return
['@namespace'] = { fg = colors.red },
['@function.builtin'] = { link = 'Function' },
['@property'] = { fg = colors.pink },
Macro = { fg = colors.rosewater }
Macro = { fg = colors.rosewater },
}
end,
},
@@ -100,5 +99,5 @@ return
})
vim.cmd('colorscheme catppuccin')
end,
enabled = true
enabled = true,
}

View File

@@ -11,5 +11,5 @@ return {
})
require('everforest').load()
end,
enabled = true
enabled = true,
}

View File

@@ -1,7 +1,6 @@
return
{
return {
'projekt0n/github-nvim-theme',
lazy = false, -- make sure we load this during startup if it is your main colorscheme
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
require('github-theme').setup({
@@ -32,7 +31,7 @@ return
'treesitter',
'treesitter_context',
'whichkey',
}
},
},
})

View File

@@ -5,5 +5,5 @@ return {
config = function()
vim.cmd('colorscheme gruvbox-baby')
end,
enabled = true
enabled = true,
}

View File

@@ -33,5 +33,5 @@ return {
})
vim.cmd('colorscheme gruvbox')
end,
enabled = true
enabled = true,
}

View File

@@ -1,19 +1,19 @@
return {
'eddyekofo94/gruvbox-flat.nvim',
priority = 1000,
config = function()
local colors = require('gruvbox.colors')
vim.g.gruvbox_flat_style = 'dark'
vim.g.gruvbox_colors = {
bg_search = 'purple',
fg_search = 'black',
}
vim.g.gruvbox_theme = {
Pmenu = { bg = 'bg_visual' },
NormalFloat = { bg = 'bg_visual' }
}
vim.g.gruvbox_dark_float = false
vim.cmd('colorscheme gruvbox-flat')
end,
enabled = false
}
return {
'eddyekofo94/gruvbox-flat.nvim',
priority = 1000,
config = function()
local colors = require('gruvbox.colors')
vim.g.gruvbox_flat_style = 'dark'
vim.g.gruvbox_colors = {
bg_search = 'purple',
fg_search = 'black',
}
vim.g.gruvbox_theme = {
Pmenu = { bg = 'bg_visual' },
NormalFloat = { bg = 'bg_visual' },
}
vim.g.gruvbox_dark_float = false
vim.cmd('colorscheme gruvbox-flat')
end,
enabled = false,
}

View File

@@ -1,42 +1,42 @@
return {
'sainnhe/gruvbox-material',
priority = 1000,
config = function()
-- local colors = require('gruvbox.colors')
-- vim.g.gruvbox_flat_style = "dark"
-- vim.g.gruvbox_colors = {
-- bg_search = 'purple',
-- fg_search = 'black',
-- }
-- vim.g.gruvbox_theme = {
-- Pmenu = { bg = 'bg_visual' },
-- NormalFloat = { bg = 'bg_visual' }
-- }
-- vim.g.gruvbox_dark_float = false
vim.g.gruvbox_material_ui_contrast = 'high'
vim.g.gruvbox_material_dim_inactive_windows = 1 -- Dim inactive windows. Only works in neovim currently.
vim.g.gruvbox_material_disable_terminal_colors = 0
local links = {
['@lsp.type.namespace'] = '@namespace',
['@lsp.type.type'] = '@type',
['@lsp.type.class'] = '@type',
['@lsp.type.enum'] = '@type',
['@lsp.type.interface'] = '@type',
['@lsp.type.struct'] = '@structure',
['@lsp.type.parameter'] = '@parameter',
['@lsp.type.variable'] = '@variable',
['@lsp.type.property'] = '@property',
['@lsp.type.enumMember'] = '@constant',
['@lsp.type.function'] = '@function',
['@lsp.type.method'] = '@method',
['@lsp.type.macro'] = '@macro',
['@lsp.type.decorator'] = '@function',
}
-- for newgroup, oldgroup in pairs(links) do
-- vim.api.nvim_set_hl(0, newgroup, { link = oldgroup, default = true })
-- end
vim.cmd('colorscheme gruvbox-material')
vim.api.nvim_set_hl(0, '@lsp.mod.readonly', { italic = true, fg = 'Purple' })
end,
enabled = false
}
return {
'sainnhe/gruvbox-material',
priority = 1000,
config = function()
-- local colors = require('gruvbox.colors')
-- vim.g.gruvbox_flat_style = "dark"
-- vim.g.gruvbox_colors = {
-- bg_search = 'purple',
-- fg_search = 'black',
-- }
-- vim.g.gruvbox_theme = {
-- Pmenu = { bg = 'bg_visual' },
-- NormalFloat = { bg = 'bg_visual' }
-- }
-- vim.g.gruvbox_dark_float = false
vim.g.gruvbox_material_ui_contrast = 'high'
vim.g.gruvbox_material_dim_inactive_windows = 1 -- Dim inactive windows. Only works in neovim currently.
vim.g.gruvbox_material_disable_terminal_colors = 0
local links = {
['@lsp.type.namespace'] = '@namespace',
['@lsp.type.type'] = '@type',
['@lsp.type.class'] = '@type',
['@lsp.type.enum'] = '@type',
['@lsp.type.interface'] = '@type',
['@lsp.type.struct'] = '@structure',
['@lsp.type.parameter'] = '@parameter',
['@lsp.type.variable'] = '@variable',
['@lsp.type.property'] = '@property',
['@lsp.type.enumMember'] = '@constant',
['@lsp.type.function'] = '@function',
['@lsp.type.method'] = '@method',
['@lsp.type.macro'] = '@macro',
['@lsp.type.decorator'] = '@function',
}
-- for newgroup, oldgroup in pairs(links) do
-- vim.api.nvim_set_hl(0, newgroup, { link = oldgroup, default = true })
-- end
vim.cmd('colorscheme gruvbox-material')
vim.api.nvim_set_hl(0, '@lsp.mod.readonly', { italic = true, fg = 'Purple' })
end,
enabled = false,
}

View File

@@ -3,15 +3,15 @@ return {
lazy = true,
config = function()
require('kanagawa').setup({
compile = false, -- enable compiling the colorscheme
compile = false, -- enable compiling the colorscheme
undercurl = true, -- enable undercurls
commentStyle = { italic = true },
functionStyle = {},
keywordStyle = { italic = true },
statementStyle = { bold = true },
typeStyle = {},
transparent = false, -- do not set background color
dimInactive = true, -- dim inactive window `:h hl-NormalNC`
transparent = false, -- do not set background color
dimInactive = true, -- dim inactive window `:h hl-NormalNC`
terminalColors = true, -- define vim.g.terminal_color_{0,17}
colors = {
-- add/modify theme and palette colors
@@ -28,11 +28,11 @@ return {
background = {
-- map the value of 'background' option to a theme
dark = 'wave', -- try "dragon" !
light = 'lotus'
light = 'lotus',
},
})
vim.cmd('colorscheme kanagawa')
end,
enabled = true
enabled = true,
}

View File

@@ -2,7 +2,7 @@ return {
'marko-cerovac/material.nvim',
priority = 1000,
config = function()
local colors = require 'material.colors'
local colors = require('material.colors')
require('material').setup({
contrast = {
@@ -15,10 +15,14 @@ return {
},
styles = { -- Give comments style such as bold, italic, underline etc.
comments = { --[[ italic = true ]] },
strings = { --[[ bold = true ]] },
keywords = { --[[ underline = true ]] },
functions = { --[[ bold = true, undercurl = true ]] },
comments = { --[[ italic = true ]]
},
strings = { --[[ bold = true ]]
},
keywords = { --[[ underline = true ]]
},
functions = { --[[ bold = true, undercurl = true ]]
},
variables = {},
operators = {},
types = {},
@@ -26,23 +30,23 @@ return {
plugins = { -- Uncomment the plugins that you use to highlight them
-- Available plugins:
"dap",
'dap',
-- "dashboard",
"gitsigns",
'gitsigns',
-- "hop",
"indent-blankline",
'indent-blankline',
-- "lspsaga",
-- "mini",
-- "neogit",
-- "neorg",
"nvim-cmp",
"nvim-navic",
'nvim-cmp',
'nvim-navic',
-- "nvim-tree",
"nvim-web-devicons",
'nvim-web-devicons',
-- "sneak",
"telescope",
'telescope',
-- "trouble",
"which-key",
'which-key',
},
disable = {
@@ -50,12 +54,12 @@ return {
borders = false, -- Disable borders between verticaly split windows
background = false, -- Prevent the theme from setting the background (NeoVim then uses your terminal background)
term_colors = false, -- Prevent the theme from setting terminal colors
eob_lines = false -- Hide the end-of-buffer lines
eob_lines = false, -- Hide the end-of-buffer lines
},
high_visibility = {
lighter = false, -- Enable higher contrast text for lighter style
darker = true-- Enable higher contrast text for darker style
darker = true, -- Enable higher contrast text for darker style
},
lualine_style = 'default', -- Lualine style ( can be 'stealth' or 'default' )
@@ -66,8 +70,8 @@ return {
custom_highlights = {}, -- Overwrite highlights with your own
})
vim.g.material_style = "darker"
vim.g.material_style = 'darker'
vim.cmd('colorscheme material')
end,
enabled = false
enabled = false,
}

View File

@@ -43,9 +43,9 @@ return {
-- ["@lsp.typemod.interface"] = {},
-- ["@lsp.typemod.macro"] = {},
-- ["@lsp.typemod.method"] = {},
["@lsp.typemod.namespace"] = { fg = c.base.red },
['@lsp.typemod.namespace'] = { fg = c.base.red },
-- ['@lsp.typemod.parameter.declaration'] = { fg = c.base.blue, italic = styles.parameter.italic },
["@lsp.typemod.property"] = { fg = '#9699f2' },
['@lsp.typemod.property'] = { fg = '#9699f2' },
-- ["@lsp.typemod.struct"] = {},
-- ["@lsp.typemod.type"] = {},
-- ["@lsp.typemod.typeParameter"] = {},
@@ -60,5 +60,5 @@ return {
})
vim.cmd('colorscheme monokai-pro')
end,
enabled = true
enabled = true,
}