Add cmake-mode
This commit is contained in:
parent
4349a31b5a
commit
c20cb2554b
2 changed files with 7 additions and 1 deletions
3
Cask
3
Cask
|
@ -89,7 +89,7 @@
|
|||
|
||||
(depends-on "jedi")
|
||||
|
||||
(depends-on "omnisharp")
|
||||
;;(depends-on "omnisharp")
|
||||
(depends-on "csharp-mode")
|
||||
(depends-on "emacs-eclim")
|
||||
|
||||
|
@ -99,3 +99,4 @@
|
|||
(depends-on "gitignore-mode")
|
||||
|
||||
(depends-on "applescript-mode")
|
||||
(depends-on "cmake-mode")
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
(provide 'init-cpp)
|
||||
|
||||
(use-package cmake-mode
|
||||
:mode "CMakeLists\\.txt$"
|
||||
:config (add-to-list 'ac-modes 'cmake-mode))
|
||||
|
||||
(setq-default c-basic-offset 4
|
||||
c-default-style "linux"
|
||||
c-tab-always-indent nil)
|
||||
|
@ -117,6 +121,7 @@
|
|||
0 ; no additional indent
|
||||
ad-do-it))) ; default behavior
|
||||
|
||||
;; Shaders
|
||||
(use-package glsl-mode
|
||||
:mode (("\\.glsl\\'" . glsl-mode)
|
||||
("\\.vert\\'" . glsl-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue