This change updates the `packages.el` file to support automatically enabling flycheck when opening a protobuf file. This is accomplished by adding `flycheck` to the list of packages, as well as defining a `post-init-flycheck()` function. I've tested that this works with spacemacs `0.200.7@25.1.1`. |
||
---|---|---|
.. | ||
packages.el | ||
README.org |
Protocol Buffers layer
Description
Highlighting and syntax checking for Protocol Buffer files.
Uses Google's protobuf-mode with flycheck-protobuf.
Features
- Syntax Highlighting
- Syntax checking using Flycheck (
protoc
compiler must be available) - Correct Indentation and commenting
- Quickly browse file contents using
M-x helm-imenu
andM-x imenu
.
Install
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add protobuf
to the existing dotspacemacs-configuration-layers
list in this
file.