.dir-locals.el 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ;;; Directory Local Variables
  2. ;;; For more information see (info "(emacs) Directory Variables")
  3. ((nil
  4. (tab-width . 2)
  5. (sentence-end-double-space . t)
  6. (bug-reference-url-format . "http://bugs.ledger-cli.org/show_bug.cgi?id=%s"))
  7. (c-mode
  8. (c-file-style . "ledger")
  9. (c-style-alist
  10. ("ledger"
  11. (indent-tabs-mode)
  12. (c-basic-offset . 2)
  13. (c-comment-only-line-offset 0 . 0)
  14. (c-hanging-braces-alist
  15. (substatement-open before after)
  16. (arglist-cont-nonempty))
  17. (c-offsets-alist
  18. (statement-block-intro . +)
  19. (knr-argdecl-intro . 5)
  20. (substatement-open . 0)
  21. (substatement-label . 0)
  22. (label . 0)
  23. (case-label . 0)
  24. (statement-case-open . 0)
  25. (statement-cont . +)
  26. (arglist-intro . +)
  27. (arglist-close . +)
  28. (inline-open . 0)
  29. (brace-list-open . 0)
  30. (topmost-intro-cont first c-lineup-topmost-intro-cont c-lineup-gnu-DEFUN-intro-cont))
  31. (c-special-indent-hook . c-gnu-impose-minimum)
  32. (c-block-comment-prefix . ""))))
  33. (emacs-lisp-mode
  34. (indent-tabs-mode)))