summaryrefslogtreecommitdiff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-21 19:54:12 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-21 19:54:12 -0700
commit6cd7d24ac494f5f5267ca1ed91da455bcc81fc11 (patch)
tree0b8a4d83bdf2f55d1537470ae830685e01a0bd2f /emacs/custom
parentsettings: make it work with flymake (diff)
downloademacs.d-6cd7d24ac494f5f5267ca1ed91da455bcc81fc11.tar.gz
conf: make it work with flymake
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/fcuny-conf.el18
1 files changed, 8 insertions, 10 deletions
diff --git a/emacs/custom/fcuny-conf.el b/emacs/custom/fcuny-conf.el
index f92f83f..7258d9f 100644
--- a/emacs/custom/fcuny-conf.el
+++ b/emacs/custom/fcuny-conf.el
@@ -1,32 +1,29 @@
+;;; fcuny-conf.el -- setup configuration modes
+;;; Commentary:
+;;; Code:
+
(require 'fcuny-defuns)
+(require 'use-package)
(use-package dockerfile-mode
:ensure t
:mode "Dockerfile[a-zA-Z.-]*\\'")
(use-package yaml-mode
- ;; At Twitter, we use PROJECT files to define a project and the
- ;; format is YAML
- :mode (("PROJECT\\'" . yaml-mode))
:ensure t)
(use-package js-mode
:custom
(json-reformat:indent-width 2)
(js-indent-level 2)
- :hook ((json-mode . flyspell-prog-mode)
- (json-mode . flycheck-mode))
- :init
- (if (fcuny/check-work-machine-p)
- (add-to-list 'auto-mode-alist '("\\.workflow$" . js-mode))))
+ :hook ((json-mode . flyspell-prog-mode)))
(use-package jq-format
:ensure t)
(use-package protobuf-mode
:ensure t
- :hook ((protobuf-mode . flyspell-prog-mode)
- (protobuf-mode . flycheck-mode)))
+ :hook ((protobuf-mode . flyspell-prog-mode)))
(use-package systemd
:ensure t
@@ -48,3 +45,4 @@
:ensure t)
(provide 'fcuny-conf)
+;;; fcuny-conf.el ends here