๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

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

customize lualine

+98 -46
+1 -1
.config/nvim/lazy-lock.json
··· 1 1 { 2 2 "LazyVim": { "branch": "main", "commit": "83d90f339defdb109a6ede333865a66ffc7ef6aa" }, 3 - "SchemaStore.nvim": { "branch": "main", "commit": "4f1c58a59d3a4da095743dd6f04b73caa0cefc3d" }, 3 + "SchemaStore.nvim": { "branch": "main", "commit": "b723fc6f6046a9955069e5c9071afa70d70cab48" }, 4 4 "blink.cmp": { "branch": "main", "commit": "451168851e8e2466bc97ee3e026c3dcb9141ce07" }, 5 5 "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" }, 6 6 "catppuccin": { "branch": "main", "commit": "16408d203973da7e43fab87c6f9d3bf7fa98fa8b" },
+4 -3
.config/nvim/lua/config/options.lua
··· 1 1 local opt = vim.opt 2 2 local g = vim.g 3 3 4 - g.snacks_animate = true 4 + opt.scrolloff = 10 5 + opt.sidescrolloff = 8 6 + opt.cursorline = false 5 7 6 8 opt.listchars = { 7 9 tab = " ", ··· 9 11 nbsp = " ", 10 12 } 11 13 12 - opt.scrolloff = 10 13 - opt.cursorline = false 14 + g.snacks_animate = true
-16
.config/nvim/lua/plugins/catppuccin.lua
··· 92 92 93 93 integrations = { 94 94 blink_cmp = { style = "bordered" }, 95 - 96 - lualine = { 97 - all = function(colors) 98 - return { 99 - normal = { 100 - a = { bg = colors.lavender }, 101 - b = { fg = colors.lavender }, 102 - }, 103 - 104 - insert = { 105 - a = { bg = colors.flamingo }, 106 - b = { fg = colors.flamingo }, 107 - }, 108 - } 109 - end, 110 - }, 111 95 }, 112 96 113 97 custom_highlights = function(colors)
+92
.config/nvim/lua/plugins/lualine.lua
··· 1 + local mocha = require("catppuccin.palettes").get_palette("mocha") 2 + 3 + local theme = { 4 + 5 + normal = { 6 + a = { fg = mocha.base, bg = mocha.lavender, gui = "bold" }, 7 + b = { fg = mocha.red, bg = mocha.base }, 8 + c = { fg = mocha.text, bg = mocha.base }, 9 + x = { fg = mocha.text, bg = mocha.base }, 10 + y = { fg = mocha.lavender, bg = mocha.base }, 11 + }, 12 + 13 + insert = { 14 + a = { fg = mocha.base, bg = mocha.flamingo, gui = "bold" }, 15 + b = { fg = mocha.red, bg = mocha.base }, 16 + c = { fg = mocha.text, bg = mocha.base }, 17 + x = { fg = mocha.text, bg = mocha.base }, 18 + y = { fg = mocha.flamingo, bg = mocha.base }, 19 + }, 20 + 21 + visual = { 22 + a = { fg = mocha.base, bg = mocha.mauve, gui = "bold" }, 23 + b = { fg = mocha.red, bg = mocha.base }, 24 + c = { fg = mocha.text, bg = mocha.base }, 25 + x = { fg = mocha.text, bg = mocha.base }, 26 + y = { fg = mocha.mauve, bg = mocha.base }, 27 + }, 28 + 29 + replace = { 30 + a = { fg = mocha.base, bg = mocha.red, gui = "bold" }, 31 + b = { fg = mocha.red, bg = mocha.base }, 32 + c = { fg = mocha.text, bg = mocha.base }, 33 + x = { fg = mocha.text, bg = mocha.base }, 34 + y = { fg = mocha.red, bg = mocha.base }, 35 + }, 36 + 37 + command = { 38 + a = { fg = mocha.base, bg = mocha.peach, gui = "bold" }, 39 + b = { fg = mocha.red, bg = mocha.base }, 40 + c = { fg = mocha.text, bg = mocha.base }, 41 + x = { fg = mocha.text, bg = mocha.base }, 42 + y = { fg = mocha.peach, bg = mocha.base }, 43 + }, 44 + 45 + inactive = { 46 + a = { fg = mocha.base, bg = mocha.surface0, gui = "bold" }, 47 + b = { fg = mocha.red, bg = mocha.base }, 48 + c = { fg = mocha.text, bg = mocha.base }, 49 + x = { fg = mocha.text, bg = mocha.base }, 50 + y = { fg = mocha.surface0, bg = mocha.base }, 51 + }, 52 + } 53 + 54 + local branch = { 55 + "branch", 56 + icon = "๎™", 57 + } 58 + 59 + local filename = { 60 + "filename", 61 + icon = "๏€–", 62 + } 63 + 64 + local diagnostics = { 65 + "diagnostics", 66 + sources = { "nvim_diagnostic", "nvim_lsp" }, 67 + sections = { "error", "warn" }, 68 + symbols = { error = "๏†ˆ ", warn = "๏ฑ " }, 69 + update_in_insert = false, 70 + always_visible = true, 71 + } 72 + 1 73 return { 2 74 "nvim-lualine/lualine.nvim", 3 75 opts = { 76 + 4 77 options = { 78 + theme = theme, 5 79 section_separators = { left = "โ–’", right = "โ–’" }, 6 80 component_separators = { left = "", right = "" }, 81 + }, 82 + 83 + sections = { 84 + lualine_a = { "mode" }, 85 + lualine_b = { branch }, 86 + lualine_c = { filename, diagnostics }, 87 + lualine_x = { "diff", "filetype" }, 88 + lualine_y = { "progress" }, 89 + lualine_z = { "location" }, 90 + }, 91 + 92 + inactive_sections = { 93 + lualine_a = {}, 94 + lualine_b = {}, 95 + lualine_c = {}, 96 + lualine_x = {}, 97 + lualine_y = {}, 98 + lualine_z = {}, 7 99 }, 8 100 }, 9 101 }
+1 -26
.config/nvim/nvim-pack-lock.json
··· 1 1 { 2 - "plugins": { 3 - "blink.cmp": { 4 - "rev": "451168851e8e2466bc97ee3e026c3dcb9141ce07", 5 - "src": "https://github.com/saghen/blink.cmp" 6 - }, 7 - "conform.nvim": { 8 - "rev": "086a40dc7ed8242c03be9f47fbcee68699cc2395", 9 - "src": "https://github.com/stevearc/conform.nvim" 10 - }, 11 - "mini.nvim": { 12 - "rev": "3923662bf3d6ca49a9503f8d7196ea0450983e6a", 13 - "src": "https://github.com/nvim-mini/mini.nvim" 14 - }, 15 - "nvim": { 16 - "rev": "60cf331ed7ecb19617c32bf61eb0da78c4c7bb05", 17 - "src": "https://github.com/catppuccin/nvim" 18 - }, 19 - "nvim-lspconfig": { 20 - "rev": "8e2084bf5e40c79c1f42210a6ef96a0a4793a763", 21 - "src": "https://github.com/neovim/nvim-lspconfig" 22 - }, 23 - "nvim-treesitter": { 24 - "rev": "6878ae017d691a0df1c49d8a091c88a33e4c2d50", 25 - "src": "https://github.com/nvim-treesitter/nvim-treesitter" 26 - } 27 - } 2 + "plugins": [] 28 3 }