From f04887740dab9987db41be9fe78887e747ccaf99 Mon Sep 17 00:00:00 2001 From: jiz4oh <41264693+jiz4oh@users.noreply.github.com> Date: Thu, 9 Mar 2023 16:55:49 +0800 Subject: [PATCH] Fix mismatched type on compare g:ale_virtualtext_cursor (#4476) --- lua/diagnostics.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/diagnostics.lua b/lua/diagnostics.lua index 1ac6eb57..9a3e1e4e 100644 --- a/lua/diagnostics.lua +++ b/lua/diagnostics.lua @@ -36,7 +36,7 @@ module.sendAleResultsToDiagnostics = function(buffer, loclist) ) end - local virtualtext_enabled_set = {['all'] = true, ['2'] = true, ['current'] = true, ['1'] = true} + local virtualtext_enabled_set = {['all'] = true, ['2'] = true, [2] = true, ['current'] = true, ['1'] = true, [1] = true} vim.diagnostic.set( vim.api.nvim_create_namespace('ale'),