We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c335a4 commit c27df7dCopy full SHA for c27df7d
phpctags
@@ -34,10 +34,14 @@ EOF;
34
35
$file = realpath(array_pop($argv));
36
37
-if(isset($options['fields'])) {
38
- $options['fields'] = str_split($options['fields']);
+if(!isset($options['excmd']))
+ $options['excmd'] = 'pattern';
39
+if(!isset($options['format']))
40
+ $options['format'] = 2;
41
+if(!isset($options['fields'])) {
42
+ $options['fields'] = array('n', 'k','s', 'a');
43
} else {
- $options['fields'] = array('k','s');
44
+ $options['fields'] = str_split($options['fields']);
45
}
46
47
$ctags = new PHPCtags($file, $options);
0 commit comments