Skip to content

Commit

Permalink
Merge pull request #291 from otherdoug/bugfix_iss283
Browse files Browse the repository at this point in the history
Fix for #283 - "unexpected '/'" on save
  • Loading branch information
renkun-ken authored Jun 30, 2020
2 parents 09c96bf + 5295568 commit e3fe4e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/handlers-textsync.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ text_document_will_save <- function(self, params) {
#' Handler to the `textDocument/didSave` [Notification].
#' @keywords internal
text_document_did_save <- function(self, params) {
textDocument <- params$textDocument
text <- params$text
uri <- uri_escape_unicode(textDocument$uri)
textDocument <- params[["textDocument"]]
text <- params[["text"]]
uri <- uri_escape_unicode(textDocument[["uri"]])
logger$info("did save:", list(uri = uri))
path <- path_from_uri(uri)
if (!is.null(text)) {
Expand Down

0 comments on commit e3fe4e6

Please sign in to comment.