.dir-locals.el 619 B

12345678910111213141516171819
  1. ;; Per-directory local variables for GNU Emacs 23 and later.
  2. ((c-mode
  3. (eval add-hook 'before-save-hook #'clang-format-buffer nil t)))
  4. ((nil
  5. . ((fill-column . 78)
  6. (tab-width . 4)
  7. (indent-tabs-mode . nil)
  8. (show-trailing-whitespace . t)
  9. (c-basic-offset . 2)
  10. (ispell-check-comments . exclusive)
  11. (ispell-local-dictionary . "american")
  12. (safe-local-variable-values
  13. '((c-default-style . "gnu")
  14. (sentence-end-double-space . f)
  15. (eval add-hook 'prog-mode-hook #'flyspell-prog-mode)
  16. (flyspell-issue-message-flag . f) ; avoid messages for every word
  17. )))))