Skip to content
This repository was archived by the owner on Sep 12, 2022. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pythonx/netranger/netranger.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ def abbrev_cwd(self, width):
return '/'.join(sp).ljust(width)
else:
total += len(sp[i]) - 1
return res[-1 * width:]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose we never reach this point. Did you encounter any issue or did you see lsp warning? If it's the later, maybe it's ok to just return res?


def redraw_header_content(self):
self._header_node.name = self.abbrev_cwd(self.winwidth).strip()
Expand Down