fix(hint): correct variable and setup on init (#82)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-19 05:11:38 -04:00
committed by GitHub
parent 1aad15d33d
commit 7e6705c0b1
4 changed files with 5 additions and 10 deletions

View File

@@ -62,9 +62,6 @@ end
function Selection:setup_autocmds()
Selection.did_setup = true
if Config.hints.enabled == false then
return self
end
api.nvim_create_autocmd({ "ModeChanged" }, {
group = self.augroup,
pattern = { "n:v", "n:V", "n:" }, -- Entering Visual mode from Normal mode