Skip to content

Commit fc54bc0

Browse files
committed
added WatchKind 7 case to the functions
1 parent f890cd0 commit fc54bc0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lsp-types/src/Language/LSP/Protocol/Types/WatchKinds.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ containsCreate :: WatchKind -> Bool
88
containsCreate WatchKind_Create = True
99
containsCreate (WatchKind_Custom 3) = True
1010
containsCreate (WatchKind_Custom 5) = True
11+
containsCreate (WatchKind_Custom 7) = True
1112
containsCreate _ = False
1213

1314
containsChange :: WatchKind -> Bool
1415
containsChange WatchKind_Change = True
1516
containsChange (WatchKind_Custom 3) = True
1617
containsChange (WatchKind_Custom 6) = True
18+
containsChange (WatchKind_Custom 7) = True
1719
containsChange _ = False
1820

1921
containsDelete :: WatchKind -> Bool
2022
containsDelete WatchKind_Delete = True
2123
containsDelete (WatchKind_Custom 5) = True
2224
containsDelete (WatchKind_Custom 6) = True
25+
containsDelete (WatchKind_Custom 7) = True
2326
containsDelete _ = False
2427

2528
combineWatchKinds :: Set WatchKind -> WatchKind

0 commit comments

Comments
 (0)