From cc377eb6740e79ecf2dda1892d0af2e355a6bf62 Mon Sep 17 00:00:00 2001 From: aarondill Date: Fri, 12 Jan 2024 12:27:14 -0600 Subject: [PATCH] chore: apply formatting --- lua/tabnine/keymaps.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lua/tabnine/keymaps.lua b/lua/tabnine/keymaps.lua index 7702d67..ee27860 100644 --- a/lua/tabnine/keymaps.lua +++ b/lua/tabnine/keymaps.lua @@ -4,16 +4,12 @@ local config = require("tabnine.config") local state = require("tabnine.state") function M.accept_suggestion() - if not state.completions_cache or not state.rendered_completion then - return false - end + if not state.completions_cache or not state.rendered_completion then return false end vim.schedule(completion.accept) return true end function M.dismiss_suggestion() - if not state.completions_cache or not state.rendered_completion then - return false - end + if not state.completions_cache or not state.rendered_completion then return false end vim.schedule(function() completion.clear() state.completions_cache = nil