From 3f332a4c9ee843763e423b28c58d23426254f409 Mon Sep 17 00:00:00 2001 From: Famiu Haque Date: Thu, 24 Mar 2022 22:19:50 +0600 Subject: [PATCH 1/4] chore: yank master -> develop (#247) Co-authored-by: Lukas Reineke From d7b8c6706ff4cc5d57e0a8fc06bb8f9287792a10 Mon Sep 17 00:00:00 2001 From: Famiu Haque Date: Fri, 8 Apr 2022 23:24:09 +0600 Subject: [PATCH 2/4] fix(provider/file): use correct icon for buffers not linked to a file (#251) --- lua/feline/providers/file.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/feline/providers/file.lua b/lua/feline/providers/file.lua index ae07ca3..457d889 100644 --- a/lua/feline/providers/file.lua +++ b/lua/feline/providers/file.lua @@ -63,7 +63,7 @@ end function M.file_info(component, opts) local filename = api.nvim_buf_get_name(0) - local extension = fn.fnamemodify(filename, ':e') + local extension = bo.filetype local type = opts.type or 'base-only' local readonly_str, modified_str, icon @@ -144,7 +144,7 @@ end function M.file_type(component, opts) local filename = api.nvim_buf_get_name(0) - local extension = fn.fnamemodify(filename, ':e') + local extension = bo.filetype local filetype = bo.filetype local icon From 298f19e4d4a6603ab58cbe1887750fb9584923bf Mon Sep 17 00:00:00 2001 From: Famiu Haque Date: Tue, 12 Apr 2022 10:46:01 +0600 Subject: [PATCH 3/4] chore: add FUNDING.yml --- .github/FUNDING.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..f85de30 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# These are supported funding model platforms + +custom: "https://buymeacoffee.com/famiuhaque" From fa02463fb5245a2b8413b5da181db2acdcfafa08 Mon Sep 17 00:00:00 2001 From: Famiu Haque Date: Tue, 12 Apr 2022 10:46:14 +0600 Subject: [PATCH 4/4] docs: remove self-plug and add support link --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index b658c4c..b93a607 100644 --- a/README.md +++ b/README.md @@ -203,9 +203,4 @@ The name of this plugin is a silly pun based on the convention of the names of s 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. ## Support - -If you liked this plugin, consider [supporting me.](https://www.buymeacoffee.com/famiuhaque) - -Also check out some of my other work: - -- [bufdelete.nvim](https://github.com/famiu/bufdelete.nvim) - Delete Neovim buffers without losing your window layout. +Buy Me A Coffee