@@ -14,35 +14,35 @@ class MonacoEditorAuxiliaryExtension: CodeAppExtension {
1414 let encodingStatusBarItem = StatusBarItem (
1515 extensionID: MONACO_EDITOR_EXTENSION_ID,
1616 view: AnyView ( EncodingMenu ( ) ) ,
17- shouldDisplay: { app. activeEditor is TextEditorInstance } ,
17+ shouldDisplay: { app in app . activeEditor is TextEditorInstance } ,
1818 positionPreference: . right,
1919 positionPrecedence: Int . max
2020 )
2121 let lineColumnIndicatorStatusBarItem = StatusBarItem (
2222 extensionID: MONACO_EDITOR_EXTENSION_ID,
2323 view: AnyView ( EditorLineColumnIndicator ( ) ) ,
24- shouldDisplay: { app. activeEditor is TextEditorInstance } ,
24+ shouldDisplay: { app in app . activeEditor is TextEditorInstance } ,
2525 positionPreference: . right,
2626 positionPrecedence: Int . max - 1
2727 )
2828 let readOnlyStatusBarItem = StatusBarItem (
2929 extensionID: MONACO_EDITOR_EXTENSION_ID,
3030 view: AnyView ( Text ( " READ-ONLY " ) ) ,
31- shouldDisplay: { app. editorOptions. value. readOnly } ,
31+ shouldDisplay: { app in app . editorOptions. value. readOnly } ,
3232 positionPreference: . left,
3333 positionPrecedence: Int . max
3434 )
3535 let vimKeyBufferStatusBarItem = StatusBarItem (
3636 extensionID: MONACO_EDITOR_EXTENSION_ID,
3737 view: AnyView ( VimKeyBufferLabel ( ) ) ,
38- shouldDisplay: { app. activeEditor is TextEditorInstance } ,
38+ shouldDisplay: { app in app . activeEditor is TextEditorInstance } ,
3939 positionPreference: . right,
4040 positionPrecedence: Int . min
4141 )
4242 let vimModeStatusBarItem = StatusBarItem (
4343 extensionID: MONACO_EDITOR_EXTENSION_ID,
4444 view: AnyView ( VimModeLabel ( ) ) ,
45- shouldDisplay: { app. activeEditor is TextEditorInstance } ,
45+ shouldDisplay: { app in app . activeEditor is TextEditorInstance } ,
4646 positionPreference: . left,
4747 positionPrecedence: Int . min
4848 )
0 commit comments