Skip to content

Conversation

@apocelipes
Copy link
Contributor

On Ubuntu, Vim's real name is 'vim.basic' (or 'vim.tiny', can be switched by update-alternatives):
vim

The editor version detection can not handle this name and returns an empty version string:
empty-vim-version

P.S. Dont use startWith("vim") because there're many commands have prefix 'vim' (e.g., vimdiff, vimtutor, vimdot, ...) but they are not editors and have completely different version formats (or even not support version options).

@CarterLi CarterLi merged commit 53e0861 into fastfetch-cli:dev Oct 26, 2024
15 checks passed
@apocelipes apocelipes deleted the fix-vim-version-detection branch October 26, 2024 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants