chore: fix typos

This commit is contained in:
Dundar Göc 2022-01-03 22:28:09 +01:00 committed by siduck
parent 9551ce7031
commit 9d013a3529
4 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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()