Skip to content

Commit 59d3afd

Browse files
authored
Fix custom type mismatches (#470)
* Fix custom type mismatches * fix missed paren
1 parent e8fe257 commit 59d3afd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dap-python.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ For example you may set it to `xterm -e' which will pop xterm console when
4848
you are debugging."
4949
:group 'dap-python
5050
:risky t
51-
:type 'string)
51+
:type '(choice (string) (const :tag "None" nil)))
5252

5353
(defun dap-python--pyenv-executable-find (command)
5454
"Find executable COMMAND, taking pyenv shims into account.
@@ -164,7 +164,7 @@ Can be either `ptvsd' or `debugpy.' Note that this setting can be
164164
overridden in individual `dap-python' launch configuration. The
165165
values of this variable or the :debugger field may also be
166166
strings, for the sake of launch.json feature parity."
167-
:type '(choice (const 'ptvsd) (const 'debugpy))
167+
:type '(choice (const ptvsd) (const debugpy))
168168
:group 'dap-python)
169169

170170
(defun dap-python--populate-start-file-args (conf)

0 commit comments

Comments
 (0)