New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling GetStatusString causes new files to opened in INSERT mode instead of NORMAL #352
Comments
It seems like a bug on Neovim |
i also use this function in my lualine, telescope messes this up for me: {
'vim.fn["codeium#GetStatusString"]()',
fmt = function(str)
if str == " ON" then
return " "
elseif str == " OFF" then
return " "
elseif str == " * " then
return " "
else
return " " .. str
end
end,
}, |
This also affect vim as well. The neovim fix was downpatched to vim though. neovim/neovim#27038 |
Normally when we open a file or function or something, like by telescope or LSP,
it opens in NORMAL and after that we go into INSERT mode.
In my nvim config, I am running the following command and printing its output in my status bar.
For some reason, when I call this function call for my lualine, it always opens new files in INSERT mode directly.
How do I fix this?
The text was updated successfully, but these errors were encountered: