mirror of
https://github.com/mfussenegger/nvim-jdtls
synced 2024-09-16 14:34:13 +02:00
Support whitespace in default value for change signature refactoring
This commit is contained in:
parent
44403b2ef6
commit
66b5ace68a
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ local function change_signature(bufnr, command, code_action_params)
|
|||
type = matches[3],
|
||||
})
|
||||
else
|
||||
matches = { line:match("%- (%w+) ([^ ]+) ?(%w*)") }
|
||||
matches = { line:match("%- (%w+) ([^ ]+) ?(.*)") }
|
||||
if next(matches) then
|
||||
table.insert(parameters, {
|
||||
type = matches[1],
|
||||
|
|
Loading…
Reference in a new issue