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 = {}
|
local label = {}
|
||||||
|
|
||||||
for severity, icon in pairs(icons) do
|
for severity, icon in pairs(icons) do
|
||||||
local n = #vim.diagnostic.get(props.buf,
|
local n = #vim.diagnostic.get(props.buf, { severity = vim.diagnostic.severity[string.upper(severity)] })
|
||||||
{ severity = vim.diagnostic.severity[string.upper(severity)] })
|
|
||||||
if n > 0 then
|
if n > 0 then
|
||||||
table.insert(label, { icon .. ' ' .. n .. ' ', group = 'DiagnosticSign' .. severity })
|
table.insert(label, { icon .. ' ' .. n .. ' ', group = 'DiagnosticSign' .. severity })
|
||||||
end
|
end
|
||||||
|
@ -643,6 +642,7 @@ return {
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.b.minitrailspace_disable = true
|
vim.b.minitrailspace_disable = true
|
||||||
vim.opt_local.list = false
|
vim.opt_local.list = false
|
||||||
|
vim.opt_local.spell = false
|
||||||
vim.opt_local.colorcolumn = '0'
|
vim.opt_local.colorcolumn = '0'
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue