GNU ELPA - compact-docstrings

compact-docstrings

Description
Shrink blank lines in docstrings and doc comments
Latest
compact-docstrings-0.2.tar (.sig), 2024-Mar-31, 50.0 KiB
Maintainer
Clément Pit-Claudel <clement.pitclaudel@live.com>
Atom feed
compact-docstrings.xml
Website
https://github.com/cpitclaudel/compact-docstrings
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

=============================
 Compact docstrings in Emacs
=============================

Shrink blank lines in docstrings and doc comments

.. image:: etc/compact-docstrings.png

Setup
=====

Enable locally with ``compact-docstrings-mode``::

  (add-hook 'some-mode-hook #'compact-docstrings-mode)

Enable globally (in all programming modes) with ``global-compact-docstrings-mode``::

  (add-hook 'after-init-hook #'global-compact-docstrings-mode)

Customization
=============

Enable compaction of all comments and strings by setting ``compact-docstrings-only-doc-blocks`` to ``nil``.  Change the compact line height by customizing ``compact-docstrings-face``.

Old versions

compact-docstrings-0.1.el.lz2016-Jul-011.54 KiB