9143f8a8d0
* enhance(filetype): filetype option precede extension for icon detection Enhances icon detection for files without extension e.g. shebang or modeline by using filetype option before the extension. * fixup(filetype): filetype option as fallback of file extension Some file icon keys defined by [nvim-web-devicons][1] using file extension name instead of filetype option. There's been an [issue][2] about this but no PR for it yet, so I think for now we can handle it here. [1]: https://github.com/kyazdani42/nvim-web-devicons [2]: https://github.com/kyazdani42/nvim-web-devicons/issues/29 * refactor(filetype): `vim.api.nvim_buf_get_option` -> `vim.bo` |
||
---|---|---|
.. | ||
lualine | ||
tests | ||
lualine.lua | ||
lualine_require.lua |