chore: fix typos
This commit is contained in:
@@ -22,7 +22,7 @@ M.init = function(theme)
|
||||
end
|
||||
end
|
||||
|
||||
-- returns a table of colors for givem or current theme
|
||||
-- returns a table of colors for given or current theme
|
||||
M.get = function(theme)
|
||||
if not theme then
|
||||
theme = vim.g.nvchad_theme
|
||||
|
||||
@@ -92,8 +92,8 @@ M.close_buffer = function(force)
|
||||
if type == "wind" then
|
||||
-- hide from bufferline
|
||||
vim.cmd(string.format("%d bufdo setlocal nobl", buf))
|
||||
-- swtich to another buff
|
||||
-- TODO switch to next bufffer, this works too
|
||||
-- switch to another buff
|
||||
-- TODO switch to next buffer, this works too
|
||||
vim.cmd "BufferLineCycleNext"
|
||||
else
|
||||
local cur_win = vim.fn.winnr()
|
||||
|
||||
Reference in New Issue
Block a user