🔒 Backup for my config files
dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 118 lines 2.3 kB view raw
1local mocha = require("catppuccin.palettes").get_palette("mocha") 2 3local none = { fg = mocha.text, bg = mocha.none } 4 5local theme = { 6 7 normal = { 8 a = { fg = mocha.base, bg = mocha.lavender, gui = "bold" }, 9 b = none, 10 c = none, 11 x = none, 12 y = { fg = mocha.overlay0, bg = mocha.none }, 13 z = none, 14 }, 15 16 insert = { 17 a = { fg = mocha.base, bg = mocha.flamingo, gui = "bold" }, 18 b = none, 19 c = none, 20 x = none, 21 y = { fg = mocha.overlay0, bg = mocha.none }, 22 z = none, 23 }, 24 25 visual = { 26 a = { fg = mocha.base, bg = mocha.mauve, gui = "bold" }, 27 b = none, 28 c = none, 29 x = none, 30 y = { fg = mocha.overlay0, bg = mocha.none }, 31 z = none, 32 }, 33 34 replace = { 35 a = { fg = mocha.base, bg = mocha.red, gui = "bold" }, 36 b = none, 37 c = none, 38 x = none, 39 y = { fg = mocha.overlay0, bg = mocha.none }, 40 z = none, 41 }, 42 43 command = { 44 a = { fg = mocha.base, bg = mocha.peach, gui = "bold" }, 45 b = none, 46 c = none, 47 x = none, 48 y = { fg = mocha.overlay0, bg = mocha.none }, 49 z = none, 50 }, 51 52 inactive = { 53 a = { fg = mocha.none, bg = mocha.surface0, gui = "bold" }, 54 b = none, 55 c = none, 56 x = none, 57 y = { fg = mocha.overlay0, bg = mocha.none }, 58 z = none, 59 }, 60} 61 62local branch = { 63 "branch", 64 icon = "󰜘", 65} 66 67local diagnostics = { 68 "diagnostics", 69 sources = { "nvim_diagnostic", "nvim_lsp" }, 70 sections = { "error", "warn" }, 71 symbols = { error = "", warn = "" }, 72 update_in_insert = false, 73 always_visible = true, 74} 75 76local diff = { 77 "diff", 78 symbols = { 79 added = "", 80 modified = "", 81 removed = "", 82 }, 83} 84 85local mode = { 86 "mode", 87 icon = "", 88} 89 90return { 91 "nvim-lualine/lualine.nvim", 92 opts = { 93 94 options = { 95 theme = theme, 96 section_separators = { left = "", right = "" }, 97 component_separators = { left = "", right = "" }, 98 }, 99 100 sections = { 101 lualine_a = { mode }, 102 lualine_b = { branch, diff }, 103 lualine_c = { diagnostics }, 104 lualine_x = {}, 105 lualine_y = { "location" }, 106 lualine_z = { "filetype" }, 107 }, 108 109 inactive_sections = { 110 lualine_a = {}, 111 lualine_b = {}, 112 lualine_c = {}, 113 lualine_x = {}, 114 lualine_y = {}, 115 lualine_z = {}, 116 }, 117 }, 118}