Page MenuHomeFreeBSD

style.9: Reference style.lua(9) and both Emacs and Vim indentation plugins
ClosedPublic

Authored by 0mp on Apr 25 2018, 1:06 PM.
Referenced Files
F136881151: D15196.id41853.diff
Thu, Nov 20, 9:21 AM
Unknown Object (File)
Sun, Oct 26, 5:01 AM
Unknown Object (File)
Wed, Oct 22, 3:33 PM
Unknown Object (File)
Oct 20 2025, 9:42 AM
Unknown Object (File)
Oct 20 2025, 9:42 AM
Unknown Object (File)
Oct 20 2025, 9:42 AM
Unknown Object (File)
Oct 20 2025, 9:42 AM
Unknown Object (File)
Oct 20 2025, 1:38 AM

Details

Summary

Changes:

  • Add a FILES sections. Reference Emacs and Vim indentation plugins there, which are present in the src tree.
    • I used an absolute path as it seems to be the way to reference files from the source tree I've seen in other manpages.
    • I did not use -width "..." -compact on the .Bl macro because the resulting formatting is hardly readable.
  • Add style.lua to the SEE ALSO section.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

After running mandoc -Tlint on the previous patch it turned out that there are two issues to be addressed:

  • .Tn macro usage is discouraged so do not use .Tn.
  • .Bl -tag requires -width. Set it to -width indent.
This revision is now accepted and ready to land.Apr 25 2018, 6:16 PM
This revision was automatically updated to reflect the committed changes.