Skip to content

Commit 8dcac72

Browse files
committed
Merge pull request #14 from magnetophon/faust
add faust
2 parents 52f11f8 + 6021541 commit 8dcac72

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Diff for: README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ There is currently basic support for the following languages:
1919
* Go
2020
* PHP
2121
* Ruby
22+
* Faust
2223

2324
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.
2425

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

85-
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)
86+
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)

Diff for: dumb-jump.el

+7
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@
135135
:regex "JJJ\\s*=\\s*"
136136
:tests ("$test = 1234"))
137137

138+
;; faust
139+
(:type "function" :language "faust"
140+
:regex "^\s*JJJ(\(.+\))*\s*="
141+
:tests ("test = osc + 0.5;" "test(freq) = osc(freq) + 0.5;"))
142+
138143
;; go
139144
(:type "variable" :language "go"
140145
:regex "\\s*\\bJJJ\\s*=\\s*" :tests ("test = 1234"))
@@ -178,6 +183,8 @@ and type to use for generating the grep command"
178183
(defcustom dumb-jump-language-file-exts
179184
'((:language "elisp" :ext "el")
180185
(:language "elisp" :ext "el.gz")
186+
(:language "faust" :ext "dsp")
187+
(:language "faust" :ext "lib")
181188
(:language "javascript" :ext "js")
182189
(:language "javascript" :ext "jsx")
183190
(:language "javascript" :ext "html")

0 commit comments

Comments
 (0)