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 4efb8c4 commit 899fe9aCopy full SHA for 899fe9a
src/org/opensolaris/opengrok/analysis/Ctags.java
@@ -241,8 +241,11 @@ private void initialize() throws IOException {
241
// PowerShell
242
command.add("--langdef=Posh");
243
command.add("--langmap=Posh:+.ps1,Posh:+.psm1");
244
- command.add("--_fielddef-Posh=signature,signatures");
245
- command.add("--fields-Posh=+{signature}");
+
+ if (env.isUniversalCtags()) {
246
+ command.add("--_fielddef-Posh=signature,signatures");
247
+ command.add("--fields-Posh=+{signature}");
248
+ }
249
250
// escaped variable markers
251
command.add("--regex-Posh=/`\\$([[:alnum:]_]+([:.][[:alnum:]_]+)*)/\\1//{exclusive}");
0 commit comments