File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2020 :vi-option
2121 :vi-option-name
2222 :vi-option-value
23+ :vi-option-raw-value
2324 :vi-option-default
2425 :vi-option-type
2526 :vi-option-aliases
7980 (vi-option name-or-option)
8081 (string (get-option name-or-option error-if-not-exists))))
8182
83+ (defun vi-option-raw-value (option)
84+ (vi-option-%value (ensure-option option)))
85+
8286(defun vi-option-value (option)
8387 (let ((option (ensure-option option)))
8488 (values
8589 (if-let (getter (vi-option-getter option))
8690 (funcall getter option)
87- (vi-option-% value option))
91+ (vi-option-raw- value option))
8892 (vi-option-name option))))
8993
9094(defun (setf vi-option-value ) (new-value option)
320324 Default: @,48-57,_,192-255
321325 Aliases: isk" )
322326 (:getter (option)
323- (car (vi-option-% value option)))
327+ (car (vi-option-raw- value option)))
324328 (:setter (new-value option)
325329 (setf (vi-option-%value option)
326330 (cons new-value
You can’t perform that action at this time.
0 commit comments