Comments (7)
This is the intended behavior, see theming.
from barbecue.nvim.
I have read the document. It doesn't mention why the default parameter is not used, though.
Just to be sure, I am talking about :h nvim_set_hl
• default: Don't override existing definition |:hi-default|
in the following:
barbecue.nvim/lua/barbecue/theme.lua
Lines 140 to 144 in cd7e7da
I notice that any particular group overrides theme.normal
(possibly to allowing us to change background for all groups)
But none of them set the default
parameter, even though they are supposed to be "default" values.
I can see that it has its own theming mechanism, like lualine. But unlike lualine, barbecue doesn't have theme = auto
, or something similar.
Can you explain why this is the intended behaviour?
from barbecue.nvim.
I can see that it has its own theming mechanism, like lualine. But unlike lualine, barbecue doesn't have theme = auto, or something similar.
Yes, it does have! See the Configurations section on the readme.
from barbecue.nvim.
Apologies. Somehow missed that.
Still can't figure out why "default" is not set though. What does it break?
from barbecue.nvim.
barbecue_*
highlights are meant to be generated on the fly according to the theme
. So if the default
option gets enabled, it'd be possible to end up with highlight values that weren't expected.
from barbecue.nvim.
Edit: on further inspection, I think this is fine.
Although, I wonder if we could get rid of the plugin load order issue.
NOTE: Make sure barbecue loads after your colorscheme.
from barbecue.nvim.
It's just good practice to load your colorscheme before any other plugin, from lazy.nvim
readme:
NOTE: since start plugins can possibly change existing highlight groups, it's important to make sure that your main colorscheme is loaded first. To ensure this you can use the priority=1000 field. (see the examples)
from barbecue.nvim.
Related Issues (20)
- [FEAT]: Some attempts and suggestions for a couple of new features
- [BUG]: Opening trouble with diagnostics breaks HOT 2
- [FEAT]: Disable Icons or Modify Icon Highlights
- [BUG]: Vim:E36: Not enough room HOT 18
- [BUG]: Handle File Path '\\' under Windows HOT 2
- [FEAT]: Allow customizable override for detecting `modified` HOT 1
- [BUG]: Winbar appears, flickers then disappears HOT 4
- [BUG]: Navigate to entry api has disappeared
- [FEAT]: auto-hide winbar when empty HOT 6
- [FEAT]: Can we craete a jumplist before calling the navigate?
- [BUG]: Dev Icons don't show up HOT 1
- Entries are always truncated if custom section includes whitespace separator (%=) HOT 3
- [BUG]: E539: Illegal character <[>
- [FEAT]: Don't resolve paths to symlinked folders
- [FEAT]: setup theme
- [FEAT]: Clickable directory Entries
- [BUG]: exclude_filetypes are not respected immediately in some cases HOT 3
- [BUG]: winbar shows in terminal buffers in some cases HOT 2
- [FEAT]: Include original filetype icon with modified icon HOT 2
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 barbecue.nvim.