trivial-indent

API Reference

trivial-indent

A very simple library to allow indentation hints for SWANK.

TRIVIAL-INDENT

  • Function INDENTATION (symbol)
    Returns the custom defined indentation of a symbol if there is any. SETF-able.
  • Function (setf INDENTATION) (rule-form symbol)
    Sets the indentation hint for a symbol.
  • Macro DEFINE-INDENTATION (symbol rule-form)
    Define an indentation hint for a symbol. See the SLIME/SWANK documentation for more information on the rules. Example: (define-indentation defmacro (4 &lambda &body))
  • Function REMOVE-INDENTATION (symbol)
    Remove the indentation hint for a symbol.
  • Function INITIALIZE-SLIME
    Attempts to initialize slime with our indentation table. If SWANK-INDENTATION is not loaded, this does nothing. It should be safe to call this function regardless of whether SWANK is loaded at all or not. This is automatically called when TRIVIAL-INDENT is loaded.