Skip to content

Commit

Permalink
Merge pull request #14 from magnetophon/faust
Browse files Browse the repository at this point in the history
add faust
  • Loading branch information
jacktasia committed Feb 13, 2016
2 parents 52f11f8 + 6021541 commit 8dcac72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ There is currently basic support for the following languages:
* Go
* PHP
* Ruby
* Faust

If you have any issues with the existing languages, or you want support for another one, then please open an issue. PRs are also welcome.

Expand Down Expand Up @@ -82,4 +83,4 @@ Here is a list of potential alternatives packages for emacs:
* [elpy](https://github.com/jorgenschaefer/elpy) for Python
* [robe](https://github.com/dgutov/robe) for Ruby

Most of these were sourced from this [emacs StackExchange answer](http://emacs.stackexchange.com/questions/10125/can-emacs-support-go-to-declaration-of-function-in-an-entire-project)
Most of these were sourced from this [emacs StackExchange answer](http://emacs.stackexchange.com/questions/10125/can-emacs-support-go-to-declaration-of-function-in-an-entire-project)
7 changes: 7 additions & 0 deletions dumb-jump.el
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@
:regex "JJJ\\s*=\\s*"
:tests ("$test = 1234"))

;; faust
(:type "function" :language "faust"
:regex "^\s*JJJ(\(.+\))*\s*="
:tests ("test = osc + 0.5;" "test(freq) = osc(freq) + 0.5;"))

;; go
(:type "variable" :language "go"
:regex "\\s*\\bJJJ\\s*=\\s*" :tests ("test = 1234"))
Expand Down Expand Up @@ -178,6 +183,8 @@ and type to use for generating the grep command"
(defcustom dumb-jump-language-file-exts
'((:language "elisp" :ext "el")
(:language "elisp" :ext "el.gz")
(:language "faust" :ext "dsp")
(:language "faust" :ext "lib")
(:language "javascript" :ext "js")
(:language "javascript" :ext "jsx")
(:language "javascript" :ext "html")
Expand Down

0 comments on commit 8dcac72

Please sign in to comment.