Skip to content

Commit

Permalink
fix rg empty search result view
Browse files Browse the repository at this point in the history
  • Loading branch information
s-kostyaev committed Jul 10, 2017
1 parent 471bff0 commit acd6322
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ivy-erlang-complete.el
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,8 @@ If non-nil, EXTRA-ARGS string is appended to command."
'ivy-erlang-complete--find-grep-spec-function 'counsel-git-grep-transformer)
(counsel-set-async-exit-code
'ivy-erlang-complete--find-grep-spec-function 123 "No matches found")
(counsel-set-async-exit-code
'ivy-erlang-complete--find-grep-spec-function 1 "No matches found")
(ivy-set-occur 'ivy-erlang-complete--find-grep-spec-function 'counsel-ag-occur)

(defun ivy-erlang-complete--filter-find ()
Expand Down Expand Up @@ -857,6 +859,8 @@ If non-nil, EXTRA-ARGS string is appended to command."
'ivy-erlang-complete--find-grep-def-function 'counsel-git-grep-transformer)
(counsel-set-async-exit-code
'ivy-erlang-complete--find-grep-def-function 123 "No matches found")
(counsel-set-async-exit-code
'ivy-erlang-complete--find-grep-def-function 1 "No matches found")
(ivy-set-occur 'ivy-erlang-complete--find-def-spec-function 'counsel-ag-occur)

(defun ivy-erlang-complete--find-def (filename regex)
Expand Down

0 comments on commit acd6322

Please sign in to comment.