Index: pkg/analysis_server/lib/src/plugin/server_plugin.dart |
diff --git a/pkg/analysis_server/lib/src/plugin/server_plugin.dart b/pkg/analysis_server/lib/src/plugin/server_plugin.dart |
index 4aa0c8f4364c3c032c5dbdc5855ee5acc9a7d1c9..b4de83ffef3404312e5bc0470a36a41eb4373aaf 100644 |
--- a/pkg/analysis_server/lib/src/plugin/server_plugin.dart |
+++ b/pkg/analysis_server/lib/src/plugin/server_plugin.dart |
@@ -276,10 +276,10 @@ class ServerPlugin implements Plugin { |
// Register analyzed file patterns. |
// |
List<String> patterns = <String>[ |
- '/**/*.${AnalysisEngine.SUFFIX_DART}', |
- '/**/*.${AnalysisEngine.SUFFIX_HTML}', |
- '/**/*.${AnalysisEngine.SUFFIX_HTM}', |
- '/**/${AnalysisEngine.ANALYSIS_OPTIONS_FILE}' |
+ '{*:/,/}**/*.${AnalysisEngine.SUFFIX_DART}', |
+ '{*:/,/}**/*.${AnalysisEngine.SUFFIX_HTML}', |
+ '{*:/,/}**/*.${AnalysisEngine.SUFFIX_HTM}', |
+ '{*:/,/}**/${AnalysisEngine.ANALYSIS_OPTIONS_FILE}' |
]; |
registerExtension(ANALYZED_FILE_PATTERNS_EXTENSION_POINT_ID, patterns); |
// |