mastodon.online is one of the many independent Mastodon servers you can use to participate in the fediverse.
A newer server operated by the Mastodon gGmbH non-profit

Server stats:

12K
active users

Anyone here browing SQLite files with #Emacs using sqlite-mode who has a workaround for having to use `sqlite-mode-open-file'?

I want to use `sqlite-mode-open-file' when opening a .sqlite file automatically.

zardoz.el

@slackline
i currently push a closure into `magic-mode-alist' that does `(sqlite-open-file buffer-file-name)', since it matches on first few characters/bytes rather than file extension.
@ctietze

@zardoz03 @slackline Didn't know about `magic-mode-alist'! That's super useful!

Works like a charm with this 1 file I have. Need to hone the matcher, probably :)