summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/builtin/internal.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua
index 8e1c9c4..1d9785b 100644
--- a/lua/telescope/builtin/internal.lua
+++ b/lua/telescope/builtin/internal.lua
@@ -1154,10 +1154,6 @@ internal.autocommands = function(opts)
end
internal.spell_suggest = function(opts)
- if not vim.wo.spell then
- return false
- end
-
local cursor_word = vim.fn.expand "<cword>"
local suggestions = vim.fn.spellsuggest(cursor_word)