Skip to content

Instantly share code, notes, and snippets.

@fujin
Created December 10, 2015 02:04
Show Gist options
  • Save fujin/d809c3ebfe12c8921473 to your computer and use it in GitHub Desktop.
Save fujin/d809c3ebfe12c8921473 to your computer and use it in GitHub Desktop.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
;; `+distribution'. For now available distributions are `spacemacs-base'
;; or `spacemacs'. (default 'spacemacs)
dotspacemacs-distribution 'spacemacs
;; List of additional paths where to look for configuration layers.
;; Paths must have a trailing slash (i.e. `~/.mycontribs/')
dotspacemacs-configuration-layer-path '()
;; List of configuration layers to load. If it is the symbol `all' instead
;; of a list then all discovered layers will be installed.
dotspacemacs-configuration-layers
'(
;; ----------------------------------------------------------------
;; Example of useful layers you may want to use right away.
;; Uncomment some layer names and press <SPC f e R> (Vim style) or
;; <M-m f e R> (Emacs style) to install them.
;; ----------------------------------------------------------------
auto-completion
better-defaults
spell-checking
syntax-checking
version-control
semantic
emacs-lisp
haskell
(go :variables
gofmt-command "goimports"
)
ruby
php
python
(c-c++ :variables
indent-tabs-mode nil
c-basic-offset 4
c-style-default "linux"
)
yaml
markdown
org
github
git
dockerfile
chrome
(shell :variables
shell-default-shell 'ansi-term
;; shell-enable-smart-eshell t
shell-default-height 30
shell-default-position 'bottom
shell-default-term-shell "/bin/zsh")
)
;; List of additional packages that will be installed without being
;; wrapped in a layer. If you need some configuration for these
;; packages then consider to create a layer, you can also put the
;; configuration in `dotspacemacs/config'.
dotspacemacs-additional-packages '()
;; A list of packages and/or extensions that will not be install and loaded.
dotspacemacs-excluded-packages '()
;; If non-nil spacemacs will delete any orphan packages, i.e. packages that
;; are declared in a layer which is not a member of
;; the list `dotspacemacs-configuration-layers'. (default t)
dotspacemacs-delete-orphan-packages t))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment