Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 84a2d74

Browse files
Update README.markdown
1 parent 62af711 commit 84a2d74

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎README.markdown‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Goal
22

3-
vim-php-namespace is a vim script for inserting "use" statements automatically.
3+
vim-php-namespace is a vim plugin for inserting "use" statements automatically.
44

55
## Features
66

@@ -79,6 +79,10 @@ or
7979
ctags doesn't indexes [traits](http://php.net/traits) by default, you have to add a `--regex-php` option to index them:
8080
8181
ctags -R --PHP-kinds=+cf --regex-php=/^[ \t]*trait[ \t]+([a-z0_9_]+)/1円/t,traits/i
82+
83+
Alternatively, create a `~/.ctags` file with the following contents:
84+
85+
--regex-php=/^[ \t]*trait[ \t]+([a-z0_9_]+)/1円/t,traits/i
8286
8387
#### Automatically updating tags
8488
@@ -88,7 +92,7 @@ To keep updates fast, AutoTags won't operate if the tags file exceeds 7MB. To av
8892

8993
# dependencies tags file (index only the vendor directory, and save tags in ./tags.vendors)
9094
ctags -R --PHP-kinds=+cf -f tags.vendors vendor
91-
95+
9296
# project tags file (index only src, and save tags in ./tags; AutoTags will update this one)
9397
ctags -R --PHP-kinds=+cf src
9498

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /