cfmt

command module
v0.0.0-...-b51d2b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

cfmt

The cfmt program formats a comment in source code. It reads from standard input and writes to standard output. It expects standard intput to start with a comment. It formats the comment and then passes the rest of the input read through without any formatting.

To use it from vi, place your cursor on the first line of the comment you wish to reformat and then call it with !}cfmt<ENTER<.

If cfmt is not given a delimiter it will assume one of "-- ", "//" or "#" is the delimiter. The delimiter may be preceeded white space (tabs or spaces).

Documentation

Overview

cfmt reformats its input such that the initial block comments will fit in 80 columns. All input following the first non-block comment line is copied to output without change.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址