summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiz4oh <41264693+jiz4oh@users.noreply.github.com>2023-03-09 16:55:49 +0800
committerGitHub <noreply@github.com>2023-03-09 08:55:49 +0000
commitf04887740dab9987db41be9fe78887e747ccaf99 (patch)
treeba53f58a0af0411e1c5467a9ee8c27b979ed5337
parent007c5b1152f84b96d7887aac76e2d2be899b6156 (diff)
downloadale-f04887740dab9987db41be9fe78887e747ccaf99.zip
Fix mismatched type on compare g:ale_virtualtext_cursor (#4476)
-rw-r--r--lua/diagnostics.lua2
1 files changed, 1 insertions, 1 deletions
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'),