Skip to content

Commit d3fa8c1

Browse files
committed
refactor(core): removed statusline againa; use minipick as default picker for code actions
1 parent 265a655 commit d3fa8c1

File tree

4 files changed

+7
-15
lines changed

4 files changed

+7
-15
lines changed

lazy-lock.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"bars": { "branch": "main", "commit": "8c87b17c19e970e95fec19b560d70b62a34c7b96" },
32
"catppuccin": { "branch": "main", "commit": "4fd72a9ab64b393c2c22b168508fd244877fec96" },
43
"cmp": { "branch": "perf", "commit": "6c3d595f3223c1ae7392d4fde1626355439af6c1" },
54
"cmp-async-path": { "branch": "main", "commit": "03fac5dfd6f7880be2c059d58bebe007f0d6d8ee" },

lua/mappings.lua

+4
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ M.lsp = function()
112112
callback = function(ev)
113113
vim.bo[ev.buf].omnifunc = "v:lua.vim.lsp.omnifunc"
114114

115+
--- Set minipick as default picker
116+
local minipick = require "mini.pick"
117+
vim.ui.select = minipick.ui_select
118+
115119
-- Diagnostics mappings
116120
map("n", "[d", function()
117121
vim.diagnostic.goto_prev { float = false }

lua/opts.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ opts.initial = function()
1919
opt.expandtab = true
2020
opt.swapfile = false
2121
opt.undofile = true
22-
opt.cmdheight = 1
22+
opt.cmdheight = 0
2323
end
2424

2525
opts.final = function()
@@ -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
@@ -151,17 +151,6 @@ local plugins = {
151151
},
152152
},
153153

154-
{
155-
"OXY2DEV/bars-N-lines.nvim",
156-
lazy = false,
157-
name = "bars",
158-
config = function()
159-
require("bars").setup {
160-
statuscolumn = false,
161-
}
162-
end,
163-
},
164-
165154
{
166155
name = "options",
167156
event = "VeryLazy",

0 commit comments

Comments
 (0)