зеркало из https://github.com/github/ruby.git
sorry, ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c67865a2b7
Коммит
d4b764c2cf
|
@ -153,13 +153,13 @@ Also ignores spaces after parenthesis when 'space.")
|
||||||
(concat (substring prefix 0 -1) (substring name 4)))
|
(concat (substring prefix 0 -1) (substring name 4)))
|
||||||
(t (concat prefix name)))))
|
(t (concat prefix name)))))
|
||||||
(push (cons name pos) index-alist)
|
(push (cons name pos) index-alist)
|
||||||
(ruby-accurate-end-of-block))
|
(ruby-accurate-end-of-block end))
|
||||||
(t
|
(t
|
||||||
(if (string= "self" name)
|
(if (string= "self" name)
|
||||||
(if prefix (setq name (substring prefix 0 -1)))
|
(if prefix (setq name (substring prefix 0 -1)))
|
||||||
(if prefix (setq name (concat (substring prefix 0 -1) "::" name)))
|
(if prefix (setq name (concat (substring prefix 0 -1) "::" name)))
|
||||||
(push (cons name pos) index-alist))
|
(push (cons name pos) index-alist))
|
||||||
(ruby-accurate-end-of-block)
|
(ruby-accurate-end-of-block end)
|
||||||
(setq beg (point))
|
(setq beg (point))
|
||||||
(setq index-alist
|
(setq index-alist
|
||||||
(nconc (ruby-imenu-create-index-in-block
|
(nconc (ruby-imenu-create-index-in-block
|
||||||
|
|
Загрузка…
Ссылка в новой задаче