Browse Source

update emacs config

pull/1/head
Brett Langdon 11 years ago
parent
commit
a8bc3cb79d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      emacs

+ 2
- 1
emacs View File

@ -77,12 +77,13 @@
(require 'auto-complete-config)
(load-file "/Users/brettlangdon/go/src/code.google.com/p/go.tools/cmd/oracle/oracle.el")
(go-oracle-mode)
(load-file "~/go/src/github.com/golang/lint/misc/emacs/golint.el")
(require 'golint)
(setq gofmt-command "goimports")
(local-set-key (kbd "M-.") 'godef-jump)
(add-hook 'before-save-hook #'gofmt-before-save)))
(add-hook 'js-mode-hook (lambda()
(flymake-jslint-load)
(flymake-cursor-mode)
(setq js2-include-node-externs t)
(setq js2-highlight-level 3)
(setq js2-mode-show-parse-errors nil)


Loading…
Cancel
Save