Skip to content

Commit

Permalink
Merge from 5.x: PR #16210
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Aug 13, 2021
2 parents 48065f0 + 94d139c commit bbd9b1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spyder/plugins/editor/widgets/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ class CompletionWidget(QListWidget):
CompletionItemKind.KEYWORD: 'keyword',
CompletionItemKind.SNIPPET: 'snippet',
CompletionItemKind.COLOR: 'color',
CompletionItemKind.FILE: 'filenew',
CompletionItemKind.FILE: 'file',
CompletionItemKind.REFERENCE: 'reference',
}
}
ICON_MAP = {}

sig_show_completions = Signal(object)
Expand Down
2 changes: 1 addition & 1 deletion spyder/utils/icon_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def __init__(self):
'constant': [('mdi.alpha-c-box',), {'color': SpyderPalette.ICON_5, 'scale_factor': self.BIG_ATTR_FACTOR}],
'unit': [('mdi.alpha-u-box',), {'color': SpyderPalette.ICON_5, 'scale_factor': self.BIG_ATTR_FACTOR}],
'text': [('mdi.alpha-t-box',), {'color': SpyderPalette.GROUP_3, 'scale_factor': self.BIG_ATTR_FACTOR}],
'file': [('mdi.alpha-f-box',), {'color': SpyderPalette.GROUP_3, 'scale_factor': self.BIG_ATTR_FACTOR}],
'file': [('mdi.file',), {'color': self.MAIN_FG_COLOR, 'scale_factor': self.SMALL_ATTR_FACTOR}],
'snippet': [('mdi.alpha-s-box',), {'color': SpyderPalette.GROUP_11, 'scale_factor': self.BIG_ATTR_FACTOR}],
'attribute': [('mdi.alpha-a-box',), {'color': SpyderPalette.GROUP_12, 'scale_factor': self.BIG_ATTR_FACTOR}],
'reference': [('mdi.alpha-r-box',), {'color': SpyderPalette.ICON_5, 'scale_factor': self.BIG_ATTR_FACTOR}],
Expand Down

0 comments on commit bbd9b1f

Please sign in to comment.