term: only strip first letter from name, if it starts with '!'
This commit is contained in:
parent
704e58e1b7
commit
ead2cd63bb
@ -33,7 +33,11 @@ function! s:termname()
|
||||
return matchstr(bufname, 'term.*:\zs.*')
|
||||
else
|
||||
" get rid of leading '!'
|
||||
if bufname[0] is# '!'
|
||||
return bufname[1:]
|
||||
else
|
||||
return bufname
|
||||
endif
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user