summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/user/plugins/lualine.lua
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2024-03-09 01:59:27 +0100
committeryuzu-eva <stevenhu@web.de>2024-03-09 01:59:27 +0100
commit1c68684558c3062ff8fca66ee3dd870088fd56ee (patch)
tree380cce5fb22e27f74d5381382fdd39f4ea764e6b /.config/nvim/lua/user/plugins/lualine.lua
parentc5dcc86843b8f27628f901115eeda192d6260aca (diff)
parentf65e69f1f4b41785426bb830e73541aeb0d957e0 (diff)
Merge branch 'desktop'
merge into master, since the distinction is no longer neccessary
Diffstat (limited to '.config/nvim/lua/user/plugins/lualine.lua')
-rw-r--r--.config/nvim/lua/user/plugins/lualine.lua64
1 files changed, 0 insertions, 64 deletions
diff --git a/.config/nvim/lua/user/plugins/lualine.lua b/.config/nvim/lua/user/plugins/lualine.lua
deleted file mode 100644
index 6ac5cee..0000000
--- a/.config/nvim/lua/user/plugins/lualine.lua
+++ /dev/null
@@ -1,64 +0,0 @@
--- local tabLineHl = vim.api.nvim_get_hl_by_name('TabLine', true)
--- local bg = '#' .. bit.tohex(tabLineHl.background, 6)
--- local fg = '#' .. bit.tohex(tabLineHl.foreground, 6)
-local fg = '#F8F8F2' -- DraculaFg
-local bg = '#21222C' -- DraculaBgDark
-local separator = '#424450' -- DraculaSubtle
--- local fg = '#' .. bit.tohex(vim.api.nvim_get_hl_by_name('DraculaFg', true).foreground, 6)
--- local bg = '#' .. bit.tohex(vim.api.nvim_get_hl_by_name('DraculaBgDark', true).background, 6)
--- local separator = '#' .. bit.tohex(vim.api.nvim_get_hl_by_name('DraculaSubtle', true).foreground, 6)
-
-require('lualine').setup {
- options = {
- component_separators = '',
- section_separators = '▕',
- theme = {
- normal = {
- a = { fg = fg, bg = bg },
- b = { fg = fg, bg = bg },
- c = { fg = fg, bg = bg },
- x = { fg = fg, bg = bg },
- y = { fg = fg, bg = bg },
- z = { fg = fg, bg = bg },
- },
- inactive = { c = { fg = fg, bg = bg } },
- },
- },
- sections = {
- lualine_a = {
- 'mode',
- { '"▏"', color = { fg = separator } },
- },
- lualine_b = {
- 'branch',
- 'diff',
- { '"▕"', color = { fg = separator } },
- '"🖧  " .. tostring(#vim.tbl_keys(vim.lsp.buf_get_clients()))',
- { 'diagnostics', sources = { 'nvim_diagnostic' } },
- { '"▏"', color = { fg = separator } },
- },
- lualine_c = { 'filename' },
- lualine_x = {
- 'filetype',
- 'encoding',
- 'fileformat',
- },
- lualine_y = {
- { '"▕"', color = { fg = separator } },
- '(vim.bo.expandtab and "␠ " or "⇥ ") .. " " .. vim.bo.shiftwidth',
- { '"▏"', color = { fg = separator } },
- },
- lualine_z = {
- 'location',
- 'progress',
- },
- },
- -- tabline = {
- -- lualine_a = {
- -- {'buffers'}
- -- },
- -- lualine_z = {
- -- {'tabs'}
- -- }
- -- }
-}