spacemacs/layers/+lang/flow-type/funcs.el
Maximilian Wolff c6d764e041
Revise flow-type layer
Revise documentation to be spacemacs conform
Reformat code
Make layer correctly declare a dependency on nodejs layer
2019-12-16 13:23:10 +01:00

14 lines
399 B
EmacsLisp

;;; funcs.el --- flow-type layer functions file for Spacemacs.
;;
;; Copyright (c) 2012-2019 Sylvain Benner & Contributors
;;
;; Author: Mike Holm <coldpour@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defun flow-type-eldoc-hook ()
(set (make-local-variable 'eldoc-documentation-function) 'flow-minor-get-type-at-pos))