Implement old composer feature that inserts ': ' or ' '
after a user completion
This commit is contained in:
parent
0e8ad75248
commit
352f70f9ce
2 changed files with 9 additions and 2 deletions
|
@ -55,6 +55,7 @@ export default class UserProvider extends AutocompleteProvider {
|
|||
const displayName = (user.name || user.userId || '').replace(' (IRC)', ''); // FIXME when groups are done
|
||||
return {
|
||||
completion: displayName,
|
||||
suffix: range.start === 0 ? ': ' : ' ',
|
||||
entity: {
|
||||
type: 'LINK',
|
||||
mutability: 'IMMUTABLE',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue