many small fixes and improvements, i think

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-07 19:40:37 -05:00
parent 31a6fc294d
commit 468195ab00
7 changed files with 53 additions and 57 deletions

View file

@ -32,7 +32,7 @@ vim.filetype.add({
vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
group = group,
callback = function()
if vim.bo.filetype ~= "TelescopePrompt" and vim.bo.filetype ~= nil and vim.bo.filetype ~= "" then
if vim.bo.buftype ~= "terminal" and vim.bo.filetype ~= "TelescopePrompt" and vim.bo.filetype ~= nil and vim.bo.filetype ~= "" then
vim.api.nvim_command("stopinsert")
end
end,