Skip to content

Commit

Permalink
Merge pull request #33 from CFiggers:typo
Browse files Browse the repository at this point in the history
- Bugfix
  - Typo, ":documnts" rather than ":documents" (missing the "e")
  • Loading branch information
CFiggers authored Dec 7, 2024
2 parents b09fc8d + 1891013 commit e284281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.janet
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
message {:method "textDocument/publishDiagnostics"
:params {:uri uri
:diagnostics diagnostics}}]
(put-in state [:documnts uri :eval-env] env)
(put-in state [:documents uri :eval-env] env)
(logging/message message [:diagnostics])
[:ok state message :notify true])
[:noresponse state])))
Expand Down Expand Up @@ -145,7 +145,7 @@
(let [message {:method "textDocument/publishDiagnostics"
:params {:uri uri
:diagnostics diagnostics}}]
(put-in state [:documnts uri :eval-env] env)
(put-in state [:documents uri :eval-env] env)
(logging/message message [:diagnostics])
[:ok state message :notify true])
[:noresponse state])))
Expand Down

0 comments on commit e284281

Please sign in to comment.