dotfiles/emacs/.emacs.d/init/oni-cpp-init.el

9 lines
227 B
EmacsLisp

(add-hook 'c++-mode-hook 'electric-pair-local-mode)
(add-hook 'c++-mode-hook 'flycheck-mode)
(add-hook 'c++-mode-hook 'company-mode)
(add-hook 'c++-mode-hook 'fci-mode)
(add-hook 'c++-mode-hook 'electric-indent-local-mode)