Merge remote-tracking branch 'origin/pr/3249'
This commit is contained in:
commit
e7da2142f3
@ -381,10 +381,10 @@ class CompletionView(QTreeView):
|
|||||||
@cmdutils.register(instance='completion', hide=True,
|
@cmdutils.register(instance='completion', hide=True,
|
||||||
modes=[usertypes.KeyMode.command], scope='window')
|
modes=[usertypes.KeyMode.command], scope='window')
|
||||||
def completion_item_yank(self, sel=False):
|
def completion_item_yank(self, sel=False):
|
||||||
"""Yank the current completion item onto the clipboard.
|
"""Yank the current completion item into the clipboard.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
sel: True to use the primary selection instead of the clipboard.
|
sel: Use the primary selection instead of the clipboard.
|
||||||
"""
|
"""
|
||||||
index = self.currentIndex()
|
index = self.currentIndex()
|
||||||
if not index.isValid():
|
if not index.isValid():
|
||||||
|
Loading…
Reference in New Issue
Block a user