Disable For orgMode #575
-
Feature DescriptionHello, This is all I have for the config. But if I add it inside the opts {} then autoComplete is disabled for everything. I need autoComplete to be turned off for .org and .txt files. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What are the filetype? enabled = function()
return not vim.tbl_contains({ "lua", "markdown" }, vim.bo.filetype) and vim.bo.buftype ~= "prompt"
end You can change the filetype list. |
Beta Was this translation helpful? Give feedback.
-
I can place the function in for example "init.lua" ? |
Beta Was this translation helpful? Give feedback.
You need to put the function inside
opts
for blink's PluginSpecYou don't need to make a new function; just replace the filetypes in the function given by @Shougo.