File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,11 +152,11 @@ function __%[1]s_prepare_completions
152152 # We don't need descriptions anyway since there is only a single
153153 # real completion which the shell will expand immediately.
154154 set -l split (string split --max 1 \t $__%[1]s_comp_results[1])
155-
155+
156156 # Fish won't add a space if the completion ends with any
157157 # of the following characters: @=/:.,
158158 set -l lastChar (string sub -s -1 -- $split)
159- if not string match -r -q "[@=/:.,]" -- "$lastChar"
159+ if not string match -r -q "[@=/:.,]" -- "$lastChar"
160160 # In other cases, to support the "nospace" directive we trick the shell
161161 # by outputting an extra, longer completion.
162162 __%[1]s_debug "Adding second completion to perform nospace directive"
You can’t perform that action at this time.
0 commit comments