Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added rubocop, jade-mode and yard-mode
- Loading branch information
1 parent
adef098
commit e0365c5
Showing
3 changed files
with
102 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
;;; extensions.el --- franciscoj Layer extensions File for Spacemacs | ||
;; | ||
;; Copyright (c) 2012-2014 Sylvain Benner | ||
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors | ||
;; | ||
;; Author: Sylvain Benner <sylvain.benner@gmail.com> | ||
;; URL: https://github.com/syl20bnr/spacemacs | ||
;; | ||
;; This file is not part of GNU Emacs. | ||
;; | ||
;;; License: GPLv3 | ||
|
||
(defvar franciscoj-pre-extensions | ||
'( | ||
;; pre extension franciscojs go here | ||
) | ||
"List of all extensions to load before the packages.") | ||
|
||
(defvar franciscoj-post-extensions | ||
'( | ||
;; post extension franciscojs go here | ||
) | ||
"List of all extensions to load after the packages.") | ||
|
||
;; For each extension, define a function franciscoj/init-<extension-franciscoj> | ||
;; | ||
;; (defun franciscoj/init-my-extension () | ||
;; "Initialize my extension" | ||
;; ) | ||
;; | ||
;; Often the body of an initialize function uses `use-package' | ||
;; For more info on `use-package', see readme: | ||
;; https://github.com/jwiegley/use-package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
;;; packages.el --- franciscoj Layer packages File for Spacemacs | ||
;; | ||
;; Copyright (c) 2012-2014 Sylvain Benner | ||
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors | ||
;; | ||
;; Author: Sylvain Benner <sylvain.benner@gmail.com> | ||
;; URL: https://github.com/syl20bnr/spacemacs | ||
;; | ||
;; This file is not part of GNU Emacs. | ||
;; | ||
;;; License: GPLv3 | ||
|
||
(defvar franciscoj-packages | ||
'(yard-mode | ||
rubocop | ||
jade-mode) | ||
"List of all packages to install and/or initialize. Built-in packages | ||
which require an initialization must be listed explicitly in the list.") | ||
|
||
(defvar franciscoj-excluded-packages '() | ||
"List of packages to exclude.") | ||
|
||
;; For each package, define a function franciscoj/init-<package-franciscoj> | ||
;; | ||
;; (defun franciscoj/init-my-package () | ||
;; "Initialize my package" | ||
;; ) | ||
;; | ||
;; Often the body of an initialize function uses `use-package' | ||
;; For more info on `use-package', see readme: | ||
;; https://github.com/jwiegley/use-package | ||
|
||
(defun franciscoj/init-yard-mode () | ||
"Initialize yard-mode on Ruby files" | ||
(use-package yard-mode | ||
:init (add-hook 'enh-ruby-mode-hook 'yard-mode))) | ||
|
||
(defun franciscoj/init-rubocop () | ||
"Initialize rubocop" | ||
(use-package robocop)) | ||
|
||
(defun franciscoj/init-jade-mode () | ||
"Initialize jade mode" | ||
(use-package jade-mode)) |