Fix mismatched type on compare g:ale_virtualtext_cursor (#4476)

This commit is contained in:
jiz4oh 2023-03-09 16:55:49 +08:00 committed by GitHub
parent 007c5b1152
commit f04887740d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'),