Comments (7)
Thanks @famiu. I just tried it out. Yes the commit does fix the issue.
from feline.nvim.
I didn't notice that the right buffer in the screenshot already got the buffer content updated :)
So for the screenshot:
- The right window buffer use the config example above
- The left one is just
provider = 'file_info', ...
from feline.nvim.
Try #108 and please tell me if it fixes your problem
from feline.nvim.
@xeluxee I tried your PR, sadly doesn't seem to work. I can still reproduce with the step above (with the minimal config below).
minimal_init.lua
-- Minimal init file to run Feline with the most basic functionality
-- Run from Feline top-level directory using:
-- nvim --noplugin -u minimal_init.lua
local function load_plugins()
local packer = require('packer')
local use = packer.use
packer.reset()
packer.init {
package_root = '/tmp/nvim/site/pack',
git = {
clone_timeout = -1
}
}
use 'wbthomason/packer.nvim'
use {
'xeluxee/feline.nvim',
branch = 'fix-provider-opts',
-- If you wish to use the develop branch, uncomment the next line
-- branch = 'develop',
-- If you wish to use a specific version of Feline, uncomment the next line
-- tag = 'v0.1', -- replace 'v0.1' with your version number
requires = {
{
'lewis6991/gitsigns.nvim',
requires = { 'nvim-lua/plenary.nvim' },
config = function()
require('gitsigns').setup()
end
},
'kyazdani42/nvim-web-devicons'
}
}
packer.sync()
end
_G.load_config = function()
vim.opt.termguicolors = true
-- Replace this part of the config with whatever Feline configuration you're using
require('feline').setup {
components = {
active = {
{
{
provider = {
name = 'file_info',
opts = {
-- Set anything here
type = 'unique'
}
},
-- Don't set icon
hl = { fg = '#61afef', style = 'bold'},
right_sep = ' '
}
},
{}, {}
},
inactive = {}
}
}
end
local install_path = '/tmp/nvim/site/pack/packer/start/packer.nvim'
vim.opt.packpath = {'/tmp/nvim/site'}
if vim.fn.isdirectory(install_path) == 0 then
vim.fn.system({'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path})
end
load_plugins()
vim.api.nvim_command('autocmd User PackerComplete ++once lua load_config()')
from feline.nvim.
Does c9d5ef7 fix your issues?
from feline.nvim.
If this is helpful, I also noticed this behaviour yesterday, but it seems to have been fixed now.
from feline.nvim.
I'm closing this issue since I've checked and there's no reason for the issue to still persist. Feel free to reopen if the mentioned commit doesn't fix your issues though
from feline.nvim.
Related Issues (20)
- Question: Background color of statusline does not change. HOT 2
- [Feature] HOT 2
- How do I configure feline as "default with no icons" HOT 2
- Changing single option without needing to add whole config HOT 2
- [Feature] Change the path seperator for the file_info provider HOT 2
- Unimplemented theme support HOT 5
- E542: Unbalanced groups HOT 8
- [Bug] adding 'neo-tree' to force-inactive table has no effect HOT 4
- Add my feline config link to your README.
- statusline config
- [Feature] An option for a small clock in the status bar HOT 1
- [Bug] cmdheight=0 not working HOT 12
- [Bug] Winbar disappears from inactive pane HOT 2
- [Bug] E5108: Error executing lua ... E539: Illegal character < > | Strings Ending With %% HOT 4
- [Bug] Actually disable winbar when using `disable` option HOT 3
- Error after install HOT 4
- [Feature] Feature request: component stack HOT 10
- [Bug] Starting Error
- [Bug] Global function `module` gets overwritten by feline HOT 2
- [Feature] Use a function to selectively update highlights
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feline.nvim.