Skip to content

Commit

Permalink
feat(status): using statusline now hehehe
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Sep 4, 2024
1 parent 1726089 commit 3e07de1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions lazy-lock.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"bars": { "branch": "main", "commit": "8c87b17c19e970e95fec19b560d70b62a34c7b96" },
"catppuccin": { "branch": "main", "commit": "4fd72a9ab64b393c2c22b168508fd244877fec96" },
"cmp": { "branch": "perf", "commit": "6c3d595f3223c1ae7392d4fde1626355439af6c1" },
"cmp-async-path": { "branch": "main", "commit": "838a12586642940fde05f0b4bae0d38d8fbc5702" },
Expand Down
6 changes: 3 additions & 3 deletions lua/opts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local opts = {}

opts.initial = function()
g.mapleader = " "
opt.laststatus = 0
-- opt.laststatus = 0
opt.clipboard = "unnamedplus"
opt.termguicolors = true
opt.fillchars:append { eob = " " }
Expand Down Expand Up @@ -36,8 +36,8 @@ opts.final = function()
opt.splitright = true
opt.scrolloff = 2
opt.sidescrolloff = 2
local statusline_ascii = ""
opt.statusline = "%#Normal#" .. statusline_ascii .. "%="
-- local statusline_ascii = ""
-- opt.statusline = "%#Normal#" .. statusline_ascii .. "%="
end

--- load shada after ui-enter
Expand Down
11 changes: 11 additions & 0 deletions lua/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,17 @@ local plugins = {
require("modules").autocmds()
end,
},

{
"OXY2DEV/bars-N-lines.nvim",
lazy = false,
name = "bars",
config = function()
require("bars").setup({
statuscolumn = false,
})
end,
},
}

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

0 comments on commit 3e07de1

Please sign in to comment.