94 lines
3.7 KiB
EmacsLisp
94 lines
3.7 KiB
EmacsLisp
;; -*- mode: emacs-lisp -*-
|
|
(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
|
|
'(
|
|
;; ----------------------------------------------------------------
|
|
;; 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.
|
|
;; ----------------------------------------------------------------
|
|
helm
|
|
auto-completion
|
|
better-defaults
|
|
;; Semantic highlighting with all the colors
|
|
(colors :variables
|
|
colors-enable-nyan-cat-progress-bar t
|
|
colors-colorize-identifiers 'all
|
|
)
|
|
|
|
emacs-lisp
|
|
;; git
|
|
|
|
;; languages
|
|
html
|
|
javascript
|
|
react
|
|
markdown
|
|
;; neotree
|
|
php
|
|
python
|
|
rust
|
|
shell-scripts
|
|
sql
|
|
swift
|
|
(typescript :variables
|
|
typescript-fmt-tool 'tslint
|
|
typescript-fmt-on-save t)
|
|
yaml
|
|
;; (shell :variables
|
|
;; shell-default-height 30
|
|
;; shell-default-position 'bottom)
|
|
(org :variables org-enable-github-support t)
|
|
spell-checking
|
|
syntax-checking
|
|
themes-megapack
|
|
;; version-control
|
|
)
|
|
;; 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 '(
|
|
all-the-icons
|
|
editorconfig
|
|
)
|
|
;; 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'./the
|
|
;; `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
|
|
)
|
|
) |