MunifTanjim / nougat.nvim

🍫 Hyperextensible Statusline / Tabline / Winbar for Neovim 🚀
MIT License
197 stars 3 forks source link

(nut) add buf.filetype_icon #79

Closed MunifTanjim closed 8 months ago

MunifTanjim commented 8 months ago

resolves https://github.com/MunifTanjim/nougat.nvim/issues/77

Example Usage

stl:add_item({
  hl = { bg = color.bg1 },
  prefix = " ",
  content = {
    nut.buf.filetype_icon({ suffix = " " }),
    nut.buf.filetype({}),
  },
  suffix = " ",
})
codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.