@@ -40,29 +40,34 @@ outlineTests =
4040 [sectionArgDocumentSymbol]
4141 ]
4242 where
43+ fieldDocumentSymbol :: DocumentSymbol
4344 fieldDocumentSymbol = (Outline. defDocumentSymbol (LSP. Range {_start = LSP. Position {_line = 0 , _character = 0 },
4445 _end = LSP. Position {_line = 0 , _character = 8 }}))
4546 { _name = " homepage" ,
4647 _kind = LSP. SymbolKind_Field ,
4748 _children = Nothing
4849 }
50+ fieldLineDocumentSymbol :: DocumentSymbol
4951 fieldLineDocumentSymbol = (Outline. defDocumentSymbol (LSP. Range {_start = LSP. Position {_line = 0 , _character = 0 },
5052 _end = LSP. Position {_line = 0 , _character = 13 }}))
5153 { _name = " cabal-version" ,
5254 _kind = LSP. SymbolKind_Field ,
5355 _children = Nothing -- the values of fieldLine are removed from the outline
5456 }
57+ sectionDocumentSymbol :: DocumentSymbol
5558 sectionDocumentSymbol = (Outline. defDocumentSymbol (LSP. Range {_start = LSP. Position {_line = 0 , _character = 2 },
5659 _end = LSP. Position {_line = 0 , _character = 15 }}))
5760 { _name = " build-depends" ,
5861 _kind = LSP. SymbolKind_Field ,
5962 _children = Nothing -- the values of fieldLine are removed from the outline
6063 }
64+ sectionArgDocumentSymbol :: DocumentSymbol
6165 sectionArgDocumentSymbol = (Outline. defDocumentSymbol (LSP. Range {_start = LSP. Position {_line = 0 , _character = 2 },
6266 _end = LSP. Position {_line = 0 , _character = 19 }}))
6367 { _name = " if os ( windows )" ,
6468 _kind = LSP. SymbolKind_Object ,
6569 _children = Just $ [sectionArgChildrenDocumentSymbol] }
70+ sectionArgChildrenDocumentSymbol :: DocumentSymbol
6671 sectionArgChildrenDocumentSymbol = (Outline. defDocumentSymbol (LSP. Range {_start = LSP. Position {_line = 1 , _character = 4 },
6772 _end = LSP. Position {_line = 1 , _character = 17 }}))
6873 { _name = " build-depends" ,
0 commit comments