@@ -1643,6 +1643,14 @@ services:
16431643 InsertTextMode : types .CreateInsertTextModePointer (protocol .InsertTextModeAsIs ),
16441644 InsertTextFormat : types .CreateInsertTextFormatPointer (protocol .InsertTextFormatSnippet ),
16451645 },
1646+ {
1647+ Label : "initial_sync" ,
1648+ Detail : types .CreateStringPointer ("boolean" ),
1649+ Documentation : "Ensure that an initial synchronization is done before starting watch mode for sync+x triggers" ,
1650+ TextEdit : textEdit ("initial_sync: ${1|true,false|}" , 5 , 10 , 0 ),
1651+ InsertTextMode : types .CreateInsertTextModePointer (protocol .InsertTextModeAsIs ),
1652+ InsertTextFormat : types .CreateInsertTextFormatPointer (protocol .InsertTextFormatSnippet ),
1653+ },
16461654 {
16471655 Label : "path" ,
16481656 Detail : types .CreateStringPointer ("string" ),
@@ -4624,7 +4632,7 @@ func TestCompletion_NoResultExpected(t *testing.T) {
46244632 }
46254633 for _ , entry := range fileStructure {
46264634 if entry .isDir {
4627- require .NoError (t , os .Mkdir (filepath .Join (dir , entry .name ), 0755 ))
4635+ require .NoError (t , os .Mkdir (filepath .Join (dir , entry .name ), 0o755 ))
46284636 } else {
46294637 f , err := os .Create (filepath .Join (dir , entry .name ))
46304638 require .NoError (t , err )
@@ -4758,7 +4766,7 @@ func TestCompletion_VolumeFolderListing(t *testing.T) {
47584766 }
47594767 for _ , entry := range fileStructure {
47604768 if entry .isDir {
4761- require .NoError (t , os .Mkdir (filepath .Join (dir , entry .name ), 0755 ))
4769+ require .NoError (t , os .Mkdir (filepath .Join (dir , entry .name ), 0o755 ))
47624770 } else {
47634771 f , err := os .Create (filepath .Join (dir , entry .name ))
47644772 require .NoError (t , err )
@@ -5557,7 +5565,7 @@ func createFileStructure(t *testing.T) string {
55575565 }
55585566 for _ , entry := range fileStructure {
55595567 if entry .isDir {
5560- require .NoError (t , os .Mkdir (filepath .Join (dir , entry .name ), 0755 ))
5568+ require .NoError (t , os .Mkdir (filepath .Join (dir , entry .name ), 0o755 ))
55615569 } else {
55625570 f , err := os .Create (filepath .Join (dir , entry .name ))
55635571 require .NoError (t , err )
0 commit comments