changed theme, added statusline

This commit is contained in:
Jannik Donker
2025-02-26 09:05:09 +01:00
parent 7c0f452607
commit 3371860987
3 changed files with 75 additions and 37 deletions
+27 -36
View File
@@ -1,43 +1,34 @@
-- return {
-- "catppuccin/nvim",
-- name = "catppuccin",
-- lazy = false,
-- priority = 1000,
-- config = function()
-- vim.cmd.colorscheme("catppuccin-macchiato")
-- end,
-- }
return { return {
"rebelot/kanagawa.nvim", "ellisonleao/gruvbox.nvim",
name = "kanagawa", name = "gruvbox",
lazy = false, lazy = false,
priority = 1000, priority = 1000,
config = function() config = function()
require("kanagawa").setup({ -- Default options:
compile = false, -- enable compiling the colorscheme require("gruvbox").setup({
undercurl = true, -- enable undercurls terminal_colors = true, -- add neovim terminal colors
commentStyle = { italic = true }, undercurl = true,
functionStyle = {}, underline = true,
keywordStyle = { italic = true }, bold = true,
statementStyle = { bold = true }, italic = {
typeStyle = {}, strings = true,
transparent = false, -- do not set background color emphasis = true,
dimInactive = false, -- dim inactive window `:h hl-NormalNC` comments = true,
terminalColors = true, -- define vim.g.terminal_color_{0,17} operators = false,
colors = { -- add/modify theme and palette colors folds = true,
palette = {},
theme = { wave = {}, lotus = {}, dragon = {}, all = {} },
},
overrides = function(colors) -- add/modify highlights
return {}
end,
theme = "dragon", -- Load "wave" theme when 'background' option is not set
background = { -- map the value of 'background' option to a theme
dark = "dragon", -- try "dragon" !
light = "lotus",
}, },
strikethrough = true,
invert_selection = false,
invert_signs = false,
invert_tabline = false,
invert_intend_guides = false,
inverse = true, -- invert background for search, diffs, statuslines and errors
contrast = "", -- can be "hard", "soft" or empty string
palette_overrides = {},
overrides = {},
dim_inactive = false,
transparent_mode = false,
}) })
vim.cmd("colorscheme kanagawa") vim.cmd("colorscheme gruvbox")
end, end
} }
+1 -1
View File
@@ -9,7 +9,7 @@ return {
"williamboman/mason-lspconfig.nvim", "williamboman/mason-lspconfig.nvim",
config = function() config = function()
require("mason-lspconfig").setup({ require("mason-lspconfig").setup({
ensure_installed = { "lua_ls", "ts_ls", "svelte", "tailwindcss", "cssls", "rust_analyzer", "jedi_language_server" }, ensure_installed = { "lua_ls", "ts_ls", "svelte", "tailwindcss", "cssls", "rust_analyzer" },
}) })
end, end,
}, },
+47
View File
@@ -0,0 +1,47 @@
return {
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
require("lualine").setup({
options = {
icons_enabled = true,
theme = "auto",
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = {
statusline = {},
winbar = {},
},
ignore_focus = {},
always_divide_middle = true,
always_show_tabline = true,
globalstatus = false,
refresh = {
statusline = 100,
tabline = 100,
winbar = 100,
},
},
sections = {
lualine_a = { "mode" },
lualine_b = { "branch", "diff", "diagnostics" },
lualine_c = { "filename" },
lualine_x = { "encoding", "fileformat", "filetype" },
lualine_y = { "progress" },
lualine_z = { "location" },
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = { "filename" },
lualine_x = { "location" },
lualine_y = {},
lualine_z = {},
},
tabline = {},
winbar = {},
inactive_winbar = {},
extensions = {},
})
end,
}