This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/prettier/README.org
2019-05-15 21:08:21 +03:00

30 lines
705 B
Org Mode

#+TITLE: prettier layer
#+TAGS: layer|tool
* Table of Contents :TOC_5_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
* Description
This layer adds support for [[https://github.com/prettier/prettier][prettier]]
** Features:
- Format buffer in a consistent style
* Install
To use this configuration layer, add it to your =~/.spacemacs=.
To install =prettier= globally:
#+BEGIN_SRC sh
$ npm install -g prettier
#+END_SRC
* Key bindings
| Key binding | Description |
|-------------+-----------------------------------|
| ~SPC m = =~ | format buffer in supported layers |