Skip to content

Shrink blank lines in docstrings and doc comments

Notifications You must be signed in to change notification settings

ilupin/compact-docstrings

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compact docstrings in Emacs

Shrink blank lines in docstrings and doc comments

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.

About

Shrink blank lines in docstrings and doc comments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 89.7%
  • Python 8.4%
  • Makefile 1.9%