Permalink
Browse files

.sc -> python-mode

  • Loading branch information...
1 parent d367cb2 commit 1b061a82b278518454d25ad19f4f8e2dcbb6e73f @dougm committed Jan 9, 2013
Showing with 9 additions and 5 deletions.
  1. +9 −5 dougm/init.el
View
@@ -12,17 +12,19 @@
(global-set-key (kbd "C-x g") 'goto-line)
-(add-hook 'c-mode-common-hook
- (lambda ()
- (setq c-basic-offset 4)
- (setq indent-tabs-mode nil)))
-
(require 'linum-off)
(setq linum-format " %d ")
(add-hook 'coding-hook 'linum-on)
(add-hook 'coding-hook 'whitespace-mode)
+(add-hook 'c-mode-common-hook
+ (lambda ()
+ (setq c-basic-offset 4)
+ (setq indent-tabs-mode nil)))
+
+(add-hook 'c-mode-common-hook 'run-coding-hook)
+
(require 'go-mode)
(add-hook 'before-save-hook #'gofmt-before-save)
(add-hook 'go-mode-hook 'run-coding-hook)
@@ -35,6 +37,8 @@
(require 'flymake)
(require 'flymake-cursor)
+(add-to-list 'auto-mode-alist '("\\.sc$" . python-mode))
+
(add-to-list 'load-path "~/gocode/src/github.com/dougm/goflymake")
(require 'go-flymake)

0 comments on commit 1b061a8

Please sign in to comment.