Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit 6d7c66e

Browse files
committed
fix: typo
fix
1 parent f35f942 commit 6d7c66e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lua/completion.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,7 @@ end
209209

210210
M.on_attach = function(option)
211211
-- setup completion_option tables
212-
if option ~= nil then
213-
opt.set_option_table(option)
214-
else
215-
opt.set_option_table(option)
216-
end
212+
opt.set_option_table(option)
217213
-- setup autocommand
218214
-- TODO: Modified this if lua callbacks for autocmd is merged
219215
api.nvim_command("augroup CompletionCommand")

0 commit comments

Comments
 (0)