Skip to content

Commit cee0726

Browse files
authored
Restrict 'Show AST' menu to supported files only (clangd#509)
1 parent d0653e6 commit cee0726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
},
304304
{
305305
"command": "clangd.ast",
306-
"when": "clangd.ast.supported"
306+
"when": "(resourceLangId == c || resourceLangId == cpp || resourceLangId == cuda-cpp || resourceLangId == objective-c || resourceLangId == objective-cpp) && clangd.ast.supported"
307307
}
308308
],
309309
"view/title": [

0 commit comments

Comments
 (0)