Skip to content

Commit 3396006

Browse files
committed
DocumentSymbol _kind change
1 parent f817d7e commit 3396006

File tree

1 file changed

+6
-6
lines changed
  • plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal

1 file changed

+6
-6
lines changed

plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/Outline.hs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,18 @@ documentSymbolForField :: Field Position -> Maybe DocumentSymbol
4949
documentSymbolForField (Field (Name pos fieldName) _) =
5050
Just
5151
(defDocumentSymbol range)
52-
{ LSP._name = decodeUtf8 fieldName,
53-
LSP._kind = LSP.SymbolKind_Field,
54-
LSP._children = Nothing
52+
{ _name = decodeUtf8 fieldName,
53+
_kind = LSP.SymbolKind_Field,
54+
_children = Nothing
5555
}
5656
where
5757
range = cabalPositionToLSPRange pos `addNameLengthToLSPRange` decodeUtf8 fieldName
5858
documentSymbolForField (Section (Name pos fieldName) sectionArgs fields) =
5959
Just
6060
(defDocumentSymbol range)
61-
{ LSP._name = joinedName,
62-
LSP._kind = LSP.SymbolKind_Object,
63-
LSP._children =
61+
{ _name = joinedName,
62+
_kind = LSP.SymbolKind_Object,
63+
_children =
6464
Just
6565
(mapMaybe documentSymbolForField fields)
6666
}

0 commit comments

Comments
 (0)