Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Showing errors in wring statements #3

Open
sauraveldho opened this issue Jul 6, 2020 · 0 comments
Open

Showing errors in wring statements #3

sauraveldho opened this issue Jul 6, 2020 · 0 comments

Comments

@sauraveldho
Copy link

sauraveldho commented Jul 6, 2020

-- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to
-- another config (This code will only ever execute for the fallback config)
naughty.connect_signal("request::display_error", function(message, startup)
naughty.notification {
urgency = "critical",
title = "Oops, an error happened"..(startup and " during startup!" or "!"),
message = message
}
end)
-- }}}

This is a code from rc.lua on awesomewm. in that, not only it doesnt color the }}} at the end and ) in the config) (3rd line, last word) it shows then as errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant