feat(emacs/lean-tags): add lean-global-search

close #170
This commit is contained in:
Soonho Kong 2014-09-15 09:47:33 -07:00
parent ff6862f587
commit 4bbfe4ec79
2 changed files with 3 additions and 0 deletions

View file

@ -105,6 +105,7 @@
["Show type info" lean-eldoc-documentation-function lean-eldoc-use]
["Fill a placeholder" lean-fill-placeholder (looking-at (rx symbol-start "_"))]
["Find tag at point" lean-find-tag t]
["Global tag search" lean-global-search t]
"-----------------"
["Run flycheck" flycheck-compile lean-flycheck-use]
["List of errors" flycheck-list-errors lean-flycheck-use]

View file

@ -8,6 +8,8 @@
(require 'f)
(require 'lean-util)
(defalias 'lean-global-search 'tags-apropos)
(defun lean-tags-table-list ()
(-filter 'f-exists?
(--map (f-join it "TAGS") (lean-path-list))))