Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 79f5e9e

Browse files
authored
Merge pull request #252 from feline-nvim/develop
v1.1.3
2 parents 290bea8 + fa02463 commit 79f5e9e

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
custom: "https://buymeacoffee.com/famiuhaque"

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,4 @@ The name of this plugin is a silly pun based on the convention of the names of s
203203
Feline uses [Semantic Versioning](https://semver.org/) for its version names. This is meant to ensure that releases after 1.0 do not break backwards compatibility without a MAJOR version bump, thus allowing users to have better control over when they want to install a change that might potentially break their workflow.
204204

205205
## Support
206-
207-
If you liked this plugin, consider [supporting me.](https://www.buymeacoffee.com/famiuhaque)
208-
209-
Also check out some of my other work:
210-
211-
- [bufdelete.nvim](https://github.com/famiu/bufdelete.nvim) - Delete Neovim buffers without losing your window layout.
206+
<a href="https://www.buymeacoffee.com/famiuhaque" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

lua/feline/providers/file.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ end
6363

6464
function M.file_info(component, opts)
6565
local filename = api.nvim_buf_get_name(0)
66-
local extension = fn.fnamemodify(filename, ':e')
66+
local extension = bo.filetype
6767
local type = opts.type or 'base-only'
6868
local readonly_str, modified_str, icon
6969

@@ -144,7 +144,7 @@ end
144144

145145
function M.file_type(component, opts)
146146
local filename = api.nvim_buf_get_name(0)
147-
local extension = fn.fnamemodify(filename, ':e')
147+
local extension = bo.filetype
148148
local filetype = bo.filetype
149149
local icon
150150

0 commit comments

Comments
 (0)