Skip to content

Commit 3e07de1

Browse files
committed
feat(status): using statusline now hehehe
1 parent 1726089 commit 3e07de1

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

lazy-lock.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"bars": { "branch": "main", "commit": "8c87b17c19e970e95fec19b560d70b62a34c7b96" },
23
"catppuccin": { "branch": "main", "commit": "4fd72a9ab64b393c2c22b168508fd244877fec96" },
34
"cmp": { "branch": "perf", "commit": "6c3d595f3223c1ae7392d4fde1626355439af6c1" },
45
"cmp-async-path": { "branch": "main", "commit": "838a12586642940fde05f0b4bae0d38d8fbc5702" },

lua/opts.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ local opts = {}
44

55
opts.initial = function()
66
g.mapleader = " "
7-
opt.laststatus = 0
7+
-- opt.laststatus = 0
88
opt.clipboard = "unnamedplus"
99
opt.termguicolors = true
1010
opt.fillchars:append { eob = " " }
@@ -36,8 +36,8 @@ opts.final = function()
3636
opt.splitright = true
3737
opt.scrolloff = 2
3838
opt.sidescrolloff = 2
39-
local statusline_ascii = ""
40-
opt.statusline = "%#Normal#" .. statusline_ascii .. "%="
39+
-- local statusline_ascii = ""
40+
-- opt.statusline = "%#Normal#" .. statusline_ascii .. "%="
4141
end
4242

4343
--- load shada after ui-enter

lua/plugins/init.lua

+11
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,17 @@ local plugins = {
164164
require("modules").autocmds()
165165
end,
166166
},
167+
168+
{
169+
"OXY2DEV/bars-N-lines.nvim",
170+
lazy = false,
171+
name = "bars",
172+
config = function()
173+
require("bars").setup({
174+
statuscolumn = false,
175+
})
176+
end,
177+
},
167178
}
168179

169180
require("lazy").setup(plugins, require "plugins.lazy_nvim")

0 commit comments

Comments
 (0)