Skip to content

mapnik/mapnik-clang-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

mapnik-clang-format

Mapnik C/C++ style

Emacs integration

;; clang-format integration
;; set path to `clang-format`
(setq exec-path (append exec-path '("/opt/llvm/bin")))
(load "/opt/llvm/share/clang/clang-format.el")
(global-set-key [C-M-tab] 'clang-format-region)
(add-hook 'c++-mode-hook
	  '(lambda ()
	     (add-hook 'before-save-hook #'clang-format-buffer nil t)))

Releases

No releases published

Packages

No packages published