dev: Change the C styling settings
Use two spaces as indention and the linux coding style. Extend the fill column to 100.
This commit is contained in:
parent
3fad3b9758
commit
a61d32cdfe
1 changed files with 8 additions and 0 deletions
|
@ -46,3 +46,11 @@
|
||||||
(interactive (list (read-directory-name "Find files in directory: " nil "" t)))
|
(interactive (list (read-directory-name "Find files in directory: " nil "" t)))
|
||||||
(let ((find-program "git-find"))
|
(let ((find-program "git-find"))
|
||||||
(find-dired dir "")))
|
(find-dired dir "")))
|
||||||
|
|
||||||
|
;; c
|
||||||
|
(setq c-default-style "linux"
|
||||||
|
c-basic-offset 2)
|
||||||
|
|
||||||
|
(add-hook 'c-mode-hook
|
||||||
|
(lambda ()
|
||||||
|
(set-fill-column 100)))
|
||||||
|
|
Loading…
Reference in a new issue