chore: fix typos
This commit is contained in:
parent
9551ce7031
commit
9d013a3529
4 changed files with 6 additions and 6 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue