You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried the example in the recipe to try and disable completion by file type, but it was very flaky. More often than not it doesn't work because vim.o.filetype is empty. My code looks like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I tried the example in the recipe to try and disable completion by file type, but it was very flaky. More often than not it doesn't work because
vim.o.filetype
is empty. My code looks like this:However, when I run
:lua print(vim.bo.filetype)
the value is populated. Is this a race condition of some sort? I'm using LazyVim and nvim v0.11.2.Beta Was this translation helpful? Give feedback.
All reactions