File: README.Debian

package info (click to toggle)
ocp-indent 1.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,280 kB
  • sloc: ml: 8,072; sh: 356; lisp: 113; makefile: 8
file content (29 lines) | stat: -rw-r--r-- 781 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Editors
-------

While ocp-indent can be used from the commandline it can also be integrated
into emacs or vim.

Emacs:

    echo '(load-file "/usr/share/emacs/site-lisp/ocp-indent.el")' >>~/.emacs

Vim:

    echo 'set rtp^=/usr/share/ocp-indent/vim' >> ~/.vimrc

Configuration
-------------

Commandline parameters can be specified in a configuration file. An example can
be found in

    /usr/share/doc/ocp-indent/examples/.ocp-indent

Consult the comments in that file and the ocp-indent man page for documentation
of the possible values.

If an `.ocp-indent` file is found in the current directory, then it overrides
definitions from `~/.ocp/ocp-indent.conf` which in turn overrides the built-in
defaults. Command-line options override parameters found in configuration
files.