Skip to content

Commit

Permalink
Add rbs file extension and .ruby-version file name (#1978)
Browse files Browse the repository at this point in the history
* Update fileIcons.ts

Add '.rbs' signature file extension and rbenv-used configuration `.ruby-version` for Ruby

* Update fileIcons.ts

* Format code

---------

Co-authored-by: Philipp Kief <philipp.kief@gmx.de>
  • Loading branch information
ccmywish and PKief committed May 21, 2023
1 parent d0ed208 commit c1e5f02
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,11 @@ export const fileIcons: FileIcons = {
],
},
{ name: 'lib', fileExtensions: ['lib', 'bib'] },
{ name: 'ruby', fileExtensions: ['rb', 'erb'] },
{
name: 'ruby',
fileExtensions: ['rb', 'erb', 'rbs'],
fileNames: ['.ruby-version'],
},
{ name: 'gemfile', fileNames: ['gemfile'] },
{
name: 'rubocop',
Expand Down

0 comments on commit c1e5f02

Please sign in to comment.