Skip to content

Fix typos in documentation #324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lsp-test/src/Language/LSP/Test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ createDoc file languageId contents = do
regs = concatMap pred $ Map.elems dynCaps
watchHits :: FileSystemWatcher -> Bool
watchHits (FileSystemWatcher pattern kind) =
-- If WatchKind is exlcuded, defaults to all true as per spec
-- If WatchKind is excluded, defaults to all true as per spec
fileMatches (T.unpack pattern) && createHits (fromMaybe (WatchKind True True True) kind)

fileMatches pattern = Glob.match (Glob.compile pattern) relOrAbs
Expand Down
2 changes: 1 addition & 1 deletion lsp-types/src/Language/LSP/Types/WorkspaceFolders.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Language.LSP.Types.Utils

data WorkspaceFolder =
WorkspaceFolder
{ -- | The name of the workspace folder. Defaults to the uri's basename.
{ -- | The URI of the workspace folder.
_uri :: Text
-- | The name of the workspace folder. Defaults to the uri's basename.
, _name :: Text
Expand Down