2016-09-05 10:56:03 +00:00
|
|
|
;;; packages.el --- Protocol Buffers Layer packages File for Spacemacs
|
|
|
|
;;
|
2018-01-04 07:00:25 +00:00
|
|
|
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
2016-09-05 10:56:03 +00:00
|
|
|
;;
|
|
|
|
;; Author: Amol Mandhane <https://github.com/amol-mandhane>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
2017-04-09 17:07:09 +00:00
|
|
|
(defconst protobuf-packages
|
2018-11-20 19:55:37 +00:00
|
|
|
'(
|
|
|
|
flycheck
|
|
|
|
protobuf-mode
|
|
|
|
))
|
2016-09-05 10:56:03 +00:00
|
|
|
|
2017-04-09 19:35:29 +00:00
|
|
|
(defun protobuf/post-init-flycheck ()
|
|
|
|
(spacemacs/enable-flycheck 'protobuf-mode))
|
|
|
|
|
2016-09-05 10:56:03 +00:00
|
|
|
(defun protobuf/init-protobuf-mode ()
|
|
|
|
(use-package protobuf-mode
|
2017-04-09 17:07:09 +00:00
|
|
|
:init (add-hook 'protobuf-mode-hook 'spacemacs//setup-protobuf-imenu)))
|