Skip to content

Commit 6b34b5b

Browse files
authored
Fix typos in documentation (#324)
1 parent 73df356 commit 6b34b5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lsp-test/src/Language/LSP/Test.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ createDoc file languageId contents = do
398398
regs = concatMap pred $ Map.elems dynCaps
399399
watchHits :: FileSystemWatcher -> Bool
400400
watchHits (FileSystemWatcher pattern kind) =
401-
-- If WatchKind is exlcuded, defaults to all true as per spec
401+
-- If WatchKind is excluded, defaults to all true as per spec
402402
fileMatches (T.unpack pattern) && createHits (fromMaybe (WatchKind True True True) kind)
403403

404404
fileMatches pattern = Glob.match (Glob.compile pattern) relOrAbs

lsp-types/src/Language/LSP/Types/WorkspaceFolders.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Language.LSP.Types.Utils
1010

1111
data WorkspaceFolder =
1212
WorkspaceFolder
13-
{ -- | The name of the workspace folder. Defaults to the uri's basename.
13+
{ -- | The URI of the workspace folder.
1414
_uri :: Text
1515
-- | The name of the workspace folder. Defaults to the uri's basename.
1616
, _name :: Text

0 commit comments

Comments
 (0)