From 37394a5d7ebca9bc8929e479365d54ddddaad74b Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Fri, 4 May 2018 03:23:45 +0000 Subject: [PATCH] style(9): add some additional useful FILES/xref information Submitted by: 0mp Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D15196 --- share/man/man9/style.9 | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 1cf12bb3fd5e..c886f5a60e77 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -404,8 +404,7 @@ When convention requires a make its name match the struct tag. Avoid typedefs ending in .Dq Li _t , -except as specified in Standard C or by -.Tn POSIX . +except as specified in Standard C or by POSIX. .Bd -literal /* Make the structure name match the typedef. */ typedef struct bar { @@ -861,11 +860,25 @@ Whenever possible, code should be run through a code checker (e.g., various static analyzers or .Nm cc Fl Wall ) and produce minimal warnings. +.Sh FILES +.Bl -tag -width indent +.It Pa /usr/src/tools/tools/editing/freebsd.el +An Emacs plugin to follow the +.Fx +.Nm +indentation rules. +.It Pa /usr/src/tools/tools/editing/freebsd.vim +A Vim plugin to follow the +.Fx +.Nm +indentation rules. +.El .Sh SEE ALSO .Xr indent 1 , .Xr err 3 , .Xr warn 3 , -.Xr style.Makefile 5 +.Xr style.Makefile 5 , +.Xr style.lua 9 .Sh HISTORY This manual page is largely based on the .Pa src/admin/style/style