Add semantic/symref/grep file patterns for ruby-mode
* lisp/cedet/semantic/symref/grep.el (semantic-symref-filepattern-alist): Add patterns for ruby-mode. Clarify the docstring.
This commit is contained in:
parent
f96313f110
commit
4d3fed0157
1 changed files with 4 additions and 2 deletions
|
@ -46,9 +46,11 @@ and those hits returned.")
|
|||
'((c-mode "*.[ch]")
|
||||
(c++-mode "*.[chCH]" "*.[ch]pp" "*.cc" "*.hh")
|
||||
(html-mode "*.s?html" "*.php")
|
||||
(ruby-mode "*.r[bu]" "*.rake" "*.gemspec" "*.erb" "*.haml"
|
||||
"Rakefile" "Thorfile" "Capfile" "Guardfile" "Vagrantfile")
|
||||
)
|
||||
"List of major modes and file extension pattern regexp.
|
||||
See find -regex man page for format.")
|
||||
"List of major modes and file extension pattern.
|
||||
See find -name man page for format.")
|
||||
|
||||
(defun semantic-symref-derive-find-filepatterns (&optional mode)
|
||||
"Derive a list of file patterns for the current buffer.
|
||||
|
|
Loading…
Add table
Reference in a new issue