Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(nut) add buf.filetype_icon #79

Merged
merged 1 commit into from
Jan 2, 2024
Merged

(nut) add buf.filetype_icon #79

merged 1 commit into from
Jan 2, 2024

Conversation

MunifTanjim
Copy link
Owner

@MunifTanjim MunifTanjim commented Jan 2, 2024

resolves #77

Example Usage

stl:add_item({
  hl = { bg = color.bg1 },
  prefix = " ",
  content = {
    nut.buf.filetype_icon({ suffix = " " }),
    nut.buf.filetype({}),
  },
  suffix = " ",
})

Copy link

codecov bot commented Jan 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6024f75) 100.00% compared to head (3db9e3b) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #79   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           37        38    +1     
  Lines         2530      2550   +20     
=========================================
+ Hits          2530      2550   +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MunifTanjim MunifTanjim merged commit 1f2069e into main Jan 2, 2024
6 checks passed
@MunifTanjim MunifTanjim deleted the nut-filetype-icon branch January 2, 2024 15:34
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.

Add filetype icon for filetype component
1 participant