Skip to content

Commit

Permalink
Switch to lists over vector to align with change in library
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbarclay committed Apr 19, 2024
1 parent dbf80a0 commit b2634c9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ version:
download:
ifeq (,$(wildcard $(HOME)/.emacs.d/parinfer-rust/parinfer-rust-$(OS).so))
mkdir -p $(HOME)/.emacs.d/parinfer-rust
curl -L "https://github.com/justinbarclay/parinfer-rust/releases/download/v0.4.6-beta1/parinfer-rust-$(OS).so" -o "$(HOME)/.emacs.d/parinfer-rust/parinfer-rust-$(OS).so"
curl -L "https://github.com/justinbarclay/parinfer-rust/releases/download/v0.4.6-beta2/parinfer-rust-$(OS).so" -o "$(HOME)/.emacs.d/parinfer-rust/parinfer-rust-$(OS).so"
endif

test: clean elpa version download build
Expand Down
12 changes: 6 additions & 6 deletions parinfer-rust-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@

;; 3. Run parinfer-rust and update the state of the buffer accordingly

(defconst parinfer-rust-supported-versions '("0.4.6-beta1")
(defconst parinfer-rust-supported-versions '("0.4.6-beta2")
"The Supported versions of the parinfer-rust library.
Versions of the library that `parinfer-rust-mode' was tested
Expand Down Expand Up @@ -247,7 +247,7 @@ against and is known to be api compatible.")
(:janet-long-strings boolean)
(:comment-char string)
(:string-delimiters (repeat string)))
:value-type (choice boolean string (vector string)))
:value-type (choice boolean string (repeat string)))
"The available options to pass to the parinfer-rust library.
These options are used to configure the behavior of the
Expand Down Expand Up @@ -297,8 +297,8 @@ The available options are:
- Default: \";\"
- `:string-delimiters' - the delimiters used for strings.
- Type: (vector string)
- Default: [\"\\\"\"]")
- Type: (repeat string)
- Default: (\"\\\"\")")


(defvar parinfer-rust--default-options '(:force-balance nil
Expand All @@ -310,8 +310,8 @@ The available options are:
:scheme-sexp-comments nil
:janet-long-strings nil
:comment-char ";"
:string-delimiters ["\""])
"The set of options parinfer-rust considers default.
:string-delimiters ("\""))
"The set of options parinfer-rust considers default.
This is here mainly as reference for what is available to pass to
the library and what needs to be changed for major mode specific
Expand Down
2 changes: 1 addition & 1 deletion test/user-submitted-cases.el
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
:scheme-sexp-comments t
:janet-long-strings nil
:comment-char "#"
:string-delimiters (vector "\"")))
:string-delimiters (list "\"")))
(keys (mapcar #'car (seq-partition settings 2)))
(options (parinfer-rust-make-option)))
(parinfer-rust--set-options
Expand Down

0 comments on commit b2634c9

Please sign in to comment.