Re: Language-specific replacement for `formatter`
Benno Schulenberg <[email protected]>
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Anthony, Op 25-09-18 om 22:23 schreef Anthony Sottile: > Hi! I've noticed that `formatter` has been removed in nano 3.x, > however I've previously found it pretty useful for running things like > `go fmt` (or sorting for gitignore for example). The formatter command was "made" for Go, so that you used it for that is no surprise. But... how often do you need to re-sort a .gitignore file? And if you really need to, how hard is it to type: ^R ^X |sort <Enter>? > Whether I had a formatter or linter I could run ^T and it would > usually do what I want. With the removal of `formatter` from nanorc > is there a way to restore that behaviour? No. Not now. > I work on a _ton_ of different file types (20+) so setting up a > shortcut for each formatter for each language is really not feasible. For how many of those syntaxes have you found a useful use of the formatter command? (Judging from your Github stuff, you have nanorc files for just four syntaxes, and just one of them contains formatter.) > I'd be sad to see this feature removed permanently > > (maybe this is an email asking for restoration of `formatter`) Then please post a feature request on Savannah: https://savannah.gnu.org/bugs/?group=nano In that request you may want to reference another complaint: https://savannah.gnu.org/bugs/?54651 Benno _______________________________________________ Help-nano mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-nano
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEv9AJBh5TUFKtDfIVDSjU0qCs6IQFAlur0HMACgkQDSjU0qCs 6IRnjQ//bvdN/S+8R6SX454ahPIODuUt6SnyYwtf1BfK7NUuOVqyge/Z7oRUMZ8G 5Md3NpJ9n2FQHUtzmgSGkMNRAdMGRu/hH2zeXFKoMXjzeEd7VF0Kh0UxiUc0MVC3 64Cz/oWUduyw3In0Ltdra7Fiji2vmwofwRVNl7xkMfXWUrD/zZdix4zYiuBWsx4I mjRCc1w+yOxF8rRl2RDB/o8O48JSvVz4jXxzOh+Yhcx3uMGEOb//ZlFo2KolHTXT QJkv36Px9Xc5cWpS27fvFJUS+MF3ze+PSaIGo1MX8bQ3MuZt4brYUTB0NxkdgZgO ra3QxP+4he7C6oKCbQs5uwuYLZHain/Sxpm3NmIkjtbHQ0mpP/ZKXjyal+OZ/R+a Zi7bGl35GjLOnJvoJFmCCqEGvVp+jsdj00Z3unu4tPPyUUeqecKlcsMAq7ngzGKf 6/MkiI+3yqJnDcC/zxnBGWcFo6O+a+IFg3dn3TOUlDs/G8PuwZA1I7jhjJO3yfUu yfQhT4vhVb1F9F/T1/hJ/lgNz9LPrrZspxYnnbsmiSODc1hoR7ut0TkeZ883/UpO paMLl8dUSjBuem14Hd/R7Ir1hVBzWqUSjg0e/mIQyKOKYJOqXFc5aQrDZ1xBzhD1 tLTAWBnvycCQJAnOrA6bLd0uhp/NgTHmzVVbNI9+7PfxwPHhe1o= =Vk32 -----END PGP SIGNATURE-----