disable spell in dashboard
This commit is contained in:
parent
478a16e9f1
commit
0721e7fac7
1 changed files with 668 additions and 668 deletions
|
@ -544,8 +544,7 @@ return {
|
|||
local label = {}
|
||||
|
||||
for severity, icon in pairs(icons) do
|
||||
local n = #vim.diagnostic.get(props.buf,
|
||||
{ severity = vim.diagnostic.severity[string.upper(severity)] })
|
||||
local n = #vim.diagnostic.get(props.buf, { severity = vim.diagnostic.severity[string.upper(severity)] })
|
||||
if n > 0 then
|
||||
table.insert(label, { icon .. ' ' .. n .. ' ', group = 'DiagnosticSign' .. severity })
|
||||
end
|
||||
|
@ -643,6 +642,7 @@ return {
|
|||
callback = function()
|
||||
vim.b.minitrailspace_disable = true
|
||||
vim.opt_local.list = false
|
||||
vim.opt_local.spell = false
|
||||
vim.opt_local.colorcolumn = '0'
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue