From 4027ba20a24c1d662a1f39a5f13108900e6be501 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 4 Feb 2023 16:46:27 +0100 Subject: [PATCH] disable stuff --- default_theme/colors.lua | 4 ---- default_theme/highlights.lua | 13 ------------- default_theme/plugins.lua | 21 --------------------- heirline/attributes.lua | 4 ++++ heirline/colors.lua | 4 ++++ heirline/icon_highlights.lua | 8 ++++++++ heirline/separators.lua | 5 +++++ options.lua | 16 ++++++++-------- updater.lua | 1 + 9 files changed, 30 insertions(+), 46 deletions(-) delete mode 100644 default_theme/colors.lua delete mode 100644 default_theme/highlights.lua delete mode 100644 default_theme/plugins.lua create mode 100644 heirline/attributes.lua create mode 100644 heirline/colors.lua create mode 100644 heirline/icon_highlights.lua create mode 100644 heirline/separators.lua diff --git a/default_theme/colors.lua b/default_theme/colors.lua deleted file mode 100644 index 65e1cc1..0000000 --- a/default_theme/colors.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - fg = "#abb2bf", - bg = "#1e222a", -} diff --git a/default_theme/highlights.lua b/default_theme/highlights.lua deleted file mode 100644 index 517919e..0000000 --- a/default_theme/highlights.lua +++ /dev/null @@ -1,13 +0,0 @@ -return function(hl) -- or a function that returns a new table of colors to set - local C = require "default_theme.colors" - - hl.Normal = { fg = C.fg, bg = C.bg } - - -- New approach instead of diagnostic_style - hl.DiagnosticError.italic = true - hl.DiagnosticHint.italic = true - hl.DiagnosticInfo.italic = true - hl.DiagnosticWarn.italic = true - - return hl -end diff --git a/default_theme/plugins.lua b/default_theme/plugins.lua deleted file mode 100644 index 14fa302..0000000 --- a/default_theme/plugins.lua +++ /dev/null @@ -1,21 +0,0 @@ -return { - aerial = true, - beacon = false, - bufferline = true, - cmp = true, - dashboard = true, - highlighturl = true, - hop = false, - indent_blankline = true, - lightspeed = false, - ["neo-tree"] = true, - notify = true, - ["nvim-tree"] = false, - ["nvim-web-devicons"] = true, - rainbow = true, - symbols_outline = false, - telescope = true, - treesitter = true, - vimwiki = false, - ["which-key"] = true, -} diff --git a/heirline/attributes.lua b/heirline/attributes.lua new file mode 100644 index 0000000..dbe1004 --- /dev/null +++ b/heirline/attributes.lua @@ -0,0 +1,4 @@ +return { + -- styling choices for each heirline element, check possible attributes with `:h attr-list` + git_branch = { bold = true }, -- bold the git branch statusline component +} diff --git a/heirline/colors.lua b/heirline/colors.lua new file mode 100644 index 0000000..419e3e9 --- /dev/null +++ b/heirline/colors.lua @@ -0,0 +1,4 @@ +return function(colors) + colors.git_branch_fg = astronvim.get_hlgroup("Conditional").fg + return colors +end diff --git a/heirline/icon_highlights.lua b/heirline/icon_highlights.lua new file mode 100644 index 0000000..9b272b5 --- /dev/null +++ b/heirline/icon_highlights.lua @@ -0,0 +1,8 @@ +return { + breadcrumbs = false, -- LSP symbols in the breadcrumbs + file_icon = { + winbar = false, -- Filetype icon in the winbar inactive windows + statusline = true, -- Filetype icon in the statusline + tabline = true, -- Filetype icon in the tabline + }, +} diff --git a/heirline/separators.lua b/heirline/separators.lua new file mode 100644 index 0000000..9d41aa6 --- /dev/null +++ b/heirline/separators.lua @@ -0,0 +1,5 @@ +return { + breadcrumbs = " > ", + tab = { "", "" }, +} + diff --git a/options.lua b/options.lua index efe8519..a268bc9 100644 --- a/options.lua +++ b/options.lua @@ -17,14 +17,14 @@ return { autoformat_enabled = true, -- enable or disable auto formatting at start (lsp.formatting.format_on_save must be enabled) icons_enabled = true, -- disable icons in the UI (disable if no nerd font is available, requires :PackerSync after changing) ui_notifications_enabled = true, -- disable notifications when toggling UI elements - heirline_bufferline = true, -- enable new heirline based bufferline (requires :PackerSync after changing) + --heirline_bufferline = true, -- enable new heirline based bufferline (requires :PackerSync after changing) - vim_markdown_folding_disabled = 1, - vim_markdown_conceal = 1, - tex_conceal = "", - vim_markdown_math = 1, - vim_markdown_frontmatter = 1, - vim_markdown_toml_frontmatter = 1, - vim_markdown_json_frontmatter = 1, + --vim_markdown_folding_disabled = 1, + --vim_markdown_conceal = 1, + --tex_conceal = "", + --vim_markdown_math = 1, + --vim_markdown_frontmatter = 1, + --vim_markdown_toml_frontmatter = 1, + --vim_markdown_json_frontmatter = 1, }, } diff --git a/updater.lua b/updater.lua index 7650ca7..bc5db22 100644 --- a/updater.lua +++ b/updater.lua @@ -3,6 +3,7 @@ return { --channel = "stable", -- "stable" or "nightly" channel = "nightly", -- "stable" or "nightly" --version = "v2.11.7", -- "latest", tag name, or regex search like "v1.*" to only do updates before v2 (STABLE ONLY) + --version="latest", branch = "v3", -- branch name (NIGHTLY ONLY) --commit = nil, -- commit hash (NIGHTLY ONLY) pin_plugins = nil, -- nil, true, false (nil will pin plugins on stable only)