现在大家可以在shell里运行
t func_name
或者在vim里移动光标到 func_name 后, 按 ctrl-]
快速定位到 func_name() 定义位置.
Examples:
wfg@crystal ~/lkp-tests% make ctags wfg@crystal ~/lkp-tests% t run_ntpdate
wfg@crystal ~/compass-ci% make ctags ctags -R --links=no --langmap=ruby:.rb.cr wfg@crystal ~/compass-ci% t dump_to_json_any
Thanks, Fengguang
On Mon, Sep 28, 2020 at 08:40:59AM +0800, Wu Fengguang wrote:
Signed-off-by: Wu Fengguang wfg@mail.ustc.edu.cn
Makefile | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Makefile
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c7505e8 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +ctags:
- ctags -R --links=no --langmap=ruby:.rb.cr
-- 2.23.0