warn when buffer is unsaved #1

Closed
opened 2020-02-06 00:01:53 +00:00 by zzkt · 2 comments
zzkt commented 2020-02-06 00:01:53 +00:00 (Migrated from github.com)

Since stylerequires a file (or stdin), any unsaved changes in the buffer being checked will not be reflected in the analysis.

To avoid confusion smog-check-buffer could provide a warning if there are unsaved changes and/or use shell-command-on-region ( e.g. smog-check-region) with the buffer or selected region.

Since `style`requires a file (or stdin), any unsaved changes in the buffer being checked will not be reflected in the analysis. To avoid confusion `smog-check-buffer` could provide a warning if there are unsaved changes and/or use `shell-command-on-region` ( e.g. `smog-check-region`) with the buffer or selected region.
zzkt commented 2020-02-06 01:49:39 +00:00 (Migrated from github.com)

smog-check-region added in 8f517806d4

`smog-check-region` added in 8f517806d4bd1e09997deb956761c99d8cab0003
zzkt commented 2020-02-09 23:08:10 +00:00 (Migrated from github.com)

...and 732b09b4e1

...and 732b09b4e1fe56f235145311ffcf13f940f20fff
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: zzkt/smog#1
No description provided.