Fix things
This commit is contained in:
@@ -133,7 +133,7 @@ vim.api.nvim_create_user_command('TrimWhiteSpace', function()
|
||||
vim.cmd('%s/\\s\\+$//e')
|
||||
end, {})
|
||||
|
||||
local function ToggleDiagnostics()
|
||||
function ToggleDiagnostics()
|
||||
vim.diagnostic.enable(not vim.diagnostic.is_enabled())
|
||||
if vim.diagnostic.is_enabled() then
|
||||
print("Diagnostics enabled")
|
||||
|
||||
Reference in New Issue
Block a user