Some programming settings
This commit is contained in:
parent
0eca548b11
commit
0b701f0567
@ -89,7 +89,7 @@
|
|||||||
(after-init . global-company-mode)
|
(after-init . global-company-mode)
|
||||||
:config
|
:config
|
||||||
(setq company-idle-delay 0
|
(setq company-idle-delay 0
|
||||||
company-minimum-prefix-length 1
|
company-minimum-prefix-length 3
|
||||||
company-tooltip-align-annotations t)
|
company-tooltip-align-annotations t)
|
||||||
;; For this to correctly complete headers, need to add all include paths to
|
;; For this to correctly complete headers, need to add all include paths to
|
||||||
;; `company-c-headers-path-system'.
|
;; `company-c-headers-path-system'.
|
||||||
@ -365,6 +365,9 @@
|
|||||||
|
|
||||||
(add-hook 'c-mode-common-hook 'hs-minor-mode)
|
(add-hook 'c-mode-common-hook 'hs-minor-mode)
|
||||||
|
|
||||||
|
;; Emacs C/C++ settings.
|
||||||
|
(setq c-basic-offset 4)
|
||||||
|
|
||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
;; Debugging options.
|
;; Debugging options.
|
||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user