lualine.nvim/lua/lualine/components
zappolowski 9d177b668c
fix component(filetype) proper icon based on filetype (#810)
* Refactor tests to use stubs for nvim-web-devicons

* Simplify getting icon

`get_icon` does not need the 2nd parameter (`ext`) as it will derive it
from the given `name` (1st argument) itself.

* fix component(filetype) proper icon based on filetype

With https://github.com/kyazdani42/nvim-web-devicons/pull/125 a filetype
based lookup was implemented upstream which can be used to get an icon
when a file doesn't have an extension.

fixes #578
2022-10-23 20:41:12 +06:00
..
branch docs: cleanup formatting and comment typos (#696) 2022-05-30 20:25:05 +06:00
buffers More user-friendly LualineBuffersJump (#780) 2022-08-08 21:52:28 +06:00
diagnostics feat(utils): support extracting fallback color 2022-09-12 00:35:46 +06:00
diff docs: cleanup formatting and comment typos (#696) 2022-05-30 20:25:05 +06:00
special fixup: escape results of vim_var components 2022-07-28 13:30:17 +06:00
tabs docs: cleanup formatting and comment typos (#696) 2022-05-30 20:25:05 +06:00
windows docs: cleanup formatting and comment typos (#696) 2022-05-30 20:25:05 +06:00
encoding.lua enhance: change method of getting file encoding 2021-10-22 21:18:27 +06:00
fileformat.lua docs: cleanup formatting and comment typos (#696) 2022-05-30 20:25:05 +06:00
filename.lua fix component(filename) add separator between filename and icons (#812) 2022-09-10 15:39:38 +06:00
filesize.lua fix: large file lag with filesize component (partially reverts #649) (#675) 2022-05-07 09:53:33 +06:00
filetype.lua fix component(filetype) proper icon based on filetype (#810) 2022-10-23 20:41:12 +06:00
hostname.lua fix: % not properly escaped in other components too. 2022-02-15 23:17:05 +06:00
location.lua fix: display virtual column number in location component (#835) 2022-09-12 00:32:09 +06:00
mode.lua enhance: allow components to be functions too (#81) 2021-10-11 16:41:25 +06:00
progress.lua feat: allow lualine to ignore focus on specific filetypes. (#767) 2022-07-29 16:54:31 +06:00
searchcount.lua chore: autogen (vimdocs+formating) 2022-10-19 09:07:21 +00:00