File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { z } from 'zod'
2
2
3
3
export const ConfigSchema = z
4
4
. object ( {
5
- // " Glob pattern for finding and parsing shell script files in the workspace."
5
+ // Glob pattern for finding and parsing shell script files in the workspace. Used by the background analysis features across files.
6
6
globPattern : z . string ( ) . trim ( ) . default ( '**/*@(.sh|.inc|.bash|.command)' ) ,
7
7
8
8
// Controls if Treesitter parsing errors will be highlighted as problems.
@@ -31,6 +31,7 @@ export const ConfigSchema = z
31
31
} , z . array ( z . string ( ) ) )
32
32
. default ( [ ] ) ,
33
33
34
+ // Maximum number of files to analyze in the background. Set to 0 to disable background analysis.
34
35
backgroundAnalysisMaxFiles : z . number ( ) . int ( ) . min ( 0 ) . default ( 500 ) ,
35
36
} )
36
37
. strict ( )
Original file line number Diff line number Diff line change 34
34
"bashIde.backgroundAnalysisMaxFiles" : {
35
35
"type" : " number" ,
36
36
"default" : 500 ,
37
- "description" : " Maximum number of files to analyze in the background. Set to 0 to disable background analysis."
37
+ "description" : " Maximum number of files to analyze in the background. Set to 0 to disable background analysis." ,
38
+ "minimum" : 0
38
39
},
39
40
"bashIde.explainshellEndpoint" : {
40
41
"type" : " string" ,
49
50
"bashIde.highlightParsingErrors" : {
50
51
"type" : " boolean" ,
51
52
"default" : false ,
52
- "description" : " Controls if treesitter parsing errors will be highlighted as problems."
53
+ "description" : " Controls if Treesitter parsing errors will be highlighted as problems."
53
54
},
54
55
"bashIde.shellcheckPath" : {
55
56
"type" : " string" ,
You can’t perform that action at this time.
0 commit comments