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

Commit

Permalink
Merge pull request #252 from feline-nvim/develop
Browse files Browse the repository at this point in the history
v1.1.3
  • Loading branch information
famiu authored Apr 12, 2022
2 parents 290bea8 + fa02463 commit 79f5e9e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

custom: "https://buymeacoffee.com/famiuhaque"
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<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>
4 changes: 2 additions & 2 deletions lua/feline/providers/file.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 79f5e9e

Please sign in to comment.