Skip to content

Commit

Permalink
Merge pull request #578 from REditorSupport/release/v0.3.14
Browse files Browse the repository at this point in the history
bump to v0.3.14
  • Loading branch information
randy3k authored Oct 16, 2022
2 parents b5707dd + 8b27a18 commit a939390
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 6 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Type: Package
Package: languageserver
Title: Language Server Protocol
Version: 0.3.13
Date: 2022-05-22
Version: 0.3.14
Date: 2022-10-13
Authors@R:
c(person(given = "Randy",
family = "Lai",
Expand Down
23 changes: 23 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# languageserver 0.3.14

**Closed issues:**

- NA introduced into position when opening curly braces (#564)
- `html-to-markdown.lua` error: attempt to call a nil value (#555)
- R6Class finalize() method is public, but it should be private as of R6 2.4.0 (#551)

**Merged pull requests:**

- Drop diagnostics on callback if disabled (#577)
- Bump styfle/cancel-workflow-action from 0.10.1 to 0.11.0 (#576)
- Bump styfle/cancel-workflow-action from 0.10.0 to 0.10.1 (#573)
- Provide package symbols before lint in diagnostics (#568)
- Support completion item labelDetails (#571)
- Enable multiple-level fold section of R document like RStudio (#566)
- fix NA introduced into position (#565)
- Requires lintr 3.0.0 (#562)
- Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 (#560)
- Use lua-filter when pandoc_version >= 2.11 (#556)
- Update link to the lintr package (#554)
- Use private finalizers for R6 classes (#553)

# languageserver 0.3.13

**Closed issues:**
Expand Down
4 changes: 2 additions & 2 deletions R/diagnostics.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ diagnose_file <- function(uri, content, is_rmarkdown = FALSE, globals = NULL, ca

if (length(globals)) {
env_name <- "languageserver:globals"
attach(globals, name = env_name, warn.conflicts = FALSE)
on.exit(detach(env_name, character.only = TRUE))
do.call("attach", list(globals, name = env_name, warn.conflicts = FALSE))
on.exit(do.call("detach", list(env_name, character.only = TRUE)))
}

lints <- lintr::lint(path, cache = cache, text = content)
Expand Down
2 changes: 1 addition & 1 deletion src/languageserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

static int ppid = -1;

SEXP process_is_detached() {
SEXP process_is_detached(void) {
if (ppid == -1) {
ppid = (int) getppid();
}
Expand Down
2 changes: 1 addition & 1 deletion src/reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

SEXP stdin_read_char(SEXP _n);

SEXP stdin_read_line();
SEXP stdin_read_line(void);

#endif

0 comments on commit a939390

Please sign in to comment.