mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
changes the concept of "languages" to "mode-customizations"
This commit is contained in:
2
init.el
2
init.el
@@ -15,7 +15,7 @@
|
||||
(load-file (config-path "env.el"))
|
||||
(load-file (config-path "packages.el"))
|
||||
(load-file (config-path "helpers.el"))
|
||||
(load-file (config-path "languages.el"))
|
||||
(load-file (config-path "mode-customizations.el"))
|
||||
(load-file (config-path "vendor.el"))
|
||||
(load-file (config-path "behavior.el"))
|
||||
(load-file (config-path "appearance.el"))
|
||||
|
||||
12
languages.el
12
languages.el
@@ -1,12 +0,0 @@
|
||||
(load-file (config-path "languages/coffee-script.el"))
|
||||
(load-file (config-path "languages/cucumber.el"))
|
||||
(load-file (config-path "languages/css.el"))
|
||||
(load-file (config-path "languages/elisp.el"))
|
||||
(load-file (config-path "languages/erlang.el"))
|
||||
(load-file (config-path "languages/javascript.el"))
|
||||
(load-file (config-path "languages/markdown.el"))
|
||||
(load-file (config-path "languages/php.el"))
|
||||
(load-file (config-path "languages/python.el"))
|
||||
(load-file (config-path "languages/shell-script.el"))
|
||||
(load-file (config-path "languages/ruby.el"))
|
||||
(load-file (config-path "languages/yaml.el"))
|
||||
16
mode-customizations.el
Normal file
16
mode-customizations.el
Normal file
@@ -0,0 +1,16 @@
|
||||
;;
|
||||
;; Load Mode Customizations
|
||||
;;
|
||||
|
||||
(load-file (config-path "mode-customizations/coffee-mode.el"))
|
||||
(load-file (config-path "mode-customizations/css-mode.el"))
|
||||
(load-file (config-path "mode-customizations/emacs-lisp-mode.el"))
|
||||
(load-file (config-path "mode-customizations/erlang-mode.el"))
|
||||
(load-file (config-path "mode-customizations/feature-mode.el"))
|
||||
(load-file (config-path "mode-customizations/js-mode.el"))
|
||||
(load-file (config-path "mode-customizations/markdown-mode.el"))
|
||||
(load-file (config-path "mode-customizations/php-mode.el"))
|
||||
(load-file (config-path "mode-customizations/python-mode.el"))
|
||||
(load-file (config-path "mode-customizations/ruby-mode.el"))
|
||||
(load-file (config-path "mode-customizations/sh-mode.el"))
|
||||
(load-file (config-path "mode-customizations/yaml-mode.el"))
|
||||
@@ -2,7 +2,7 @@
|
||||
;; no simple way to create a el-get package. So it's one
|
||||
;; more thing thats not installed through el-get.
|
||||
|
||||
(add-to-list 'load-path (config-path "languages/erlang"))
|
||||
(add-to-list 'load-path (config-path "mode-customizations/erlang"))
|
||||
(setq erlang-root-dir "/usr/local")
|
||||
(setq exec-path (cons "/usr/local/bin" exec-path))
|
||||
(require 'erlang-start)
|
||||
@@ -1,5 +1,6 @@
|
||||
(add-hook 'js-mode-hook
|
||||
(lambda ()
|
||||
(setq js-indent-level 2)
|
||||
(flyspell-prog-mode)
|
||||
(linum-mode t)
|
||||
(fci-mode)
|
||||
Reference in New Issue
Block a user