Skip to content

Commit

Permalink
fix: remove icon for directory named 'py' (fixes #29)
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinguidee committed Feb 26, 2024
1 parent 8bb71f5 commit 5dcf16a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class PythonProjectViewNodeDecorator : ProjectViewNodeDecorator {

override fun decorate(node: ProjectViewNode<*>, data: PresentationData) {
if (!PluginSettingsState.instance.pythonSupport) return
if (node.virtualFile?.isDirectory == true) return

val extension = node.virtualFile?.name?.split(".")?.last()

Expand Down

0 comments on commit 5dcf16a

Please sign in to comment.