32 lines
1.1 KiB
EmacsLisp
32 lines
1.1 KiB
EmacsLisp
((nil . (
|
|
; Projetile
|
|
(projectile-project-test-cmd . "nix-shell --run './waf test'")
|
|
(projectile-project-compilation-cmd . "nix-shell --run './waf build'")
|
|
(projectile-project-run-cmd . "nix-shell --run 'DEBUG=0 ./bin/noisicaa-dev'")
|
|
|
|
(pyvenv-workon . "noisicaa")
|
|
|
|
; Uses spaces for indentation.
|
|
(indent-tabs-mode . nil)
|
|
|
|
; Be more generous than 80 columns.
|
|
(fill-column . 100)
|
|
|
|
; Do not indent body of namespaces.
|
|
(eval . (add-to-list 'c-offsets-alist '(innamespace . 0)))
|
|
(eval . (add-to-list 'c-offsets-alist '(arglist-intro . ++)))
|
|
(eval . (add-to-list 'c-offsets-alist '(arglist-close . 0)))
|
|
|
|
; Highlight tabs, so they don't slip in unnoticed.
|
|
; TODO: make this work correctly
|
|
; - should only show leading tabs
|
|
; - disrupts colors in magit
|
|
;(eval . (add-hook 'font-lock-mode-hook
|
|
; (lambda ()
|
|
; (font-lock-add-keywords
|
|
; nil
|
|
; '(("\t" 0 'trailing-whitespace prepend))))))
|
|
)
|
|
)
|
|
)
|