Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; -*- mode: emacs-lisp -*-
- ;; This file is loaded by Spacemacs at startup.
- ;; It must be stored in your home directory.
- (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
- ;; Lazy installation of layers (i.e. layers are installed only when a file
- ;; with a supported type is opened). Possible values are `all', `unused'
- ;; and `nil'. `unused' will lazy install only unused layers (i.e. layers
- ;; not listed in variable `dotspacemacs-configuration-layers'), `all' will
- ;; lazy install any layer that support lazy installation even the layers
- ;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy
- ;; installation feature and you have to explicitly list a layer in the
- ;; variable `dotspacemacs-configuration-layers' to install it.
- ;; (default 'unused)
- dotspacemacs-enable-lazy-installation 'unused
- ;; If non-nil then Spacemacs will ask for confirmation before installing
- ;; a layer lazily. (default t)
- dotspacemacs-ask-for-lazy-installation t
- ;; If non-nil layers with lazy install support are lazy installed.
- ;; 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.
- dotspacemacs-configuration-layers
- '(
- csv
- ;; ----------------------------------------------------------------
- ;; 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 --------------------
- helm
- (auto-completion :variables
- auto-completion-enable-snippets-in-popup t
- auto-completion-enable-help-tooltip t
- auto-completion-enable-sort-by-usage t)
- better-defaults
- (haskell :variables
- haskell-completion-backend 'intero)
- emacs-lisp
- git
- latex
- markdown
- javascript
- html
- react
- org
- bibtex
- spacemacs-org
- (shell :variables
- shell-default-position 'bottom
- shell-default-height 40)
- shell-scripts
- yaml
- java
- floobits
- python
- search-engine
- (c-c++ :variables
- c-c++-default-mode-for-headers 'c++-mode)
- (syntax-checking :variables
- syntax-checking-enable-tooltips t)
- (version-control :variables
- version-control-diff-tool 'diff-hl
- version-control-global-margin t)
- restclient
- osx
- php
- scala
- )
- ;; List of additional packages that will be installed without being
- ;; wrapped in a layer. If you need some configuration for these
- ;; packages, then consider creating a layer. You can also put the
- ;; configuration in `dotspacemacs/user-config'.
- dotspacemacs-additional-packages '(
- fireplace
- all-the-icons
- ox-reveal
- )
- ;; A list of packages that cannot be updated.
- dotspacemacs-frozen-packages '()
- ;; A list of packages that will not be installed and loaded.
- dotspacemacs-excluded-packages '()
- ;; Defines the behaviour of Spacemacs when installing packages.
- ;; Possible values are `used-only', `used-but-keep-unused' and `all'.
- ;; `used-only' installs only explicitly used packages and uninstall any
- ;; unused packages as well as their unused dependencies.
- ;; `used-but-keep-unused' installs only the used packages but won't uninstall
- ;; them if they become unused. `all' installs *all* packages supported by
- ;; Spacemacs and never uninstall them. (default is `used-only')
- dotspacemacs-install-packages 'used-only))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement