Comments (12)
Sorry, I've been busy with school. I'll take a crack at this over the weekend.
from neocomposer.nvim.
Sorry for the delay. I was able to add separate highlight groups for the text:
text_delay, text_play, and text_rec as well as a text_bg option.
This will allow you to control the foreground and background of the text color separately from the symbols
from neocomposer.nvim.
Hey @ecthelionvi,
Don't worry for the delay and great job thank you !
Sorry to bother with this but there's still something happening after the text. I changed background of RecordingText
to be none
(transparent) and as you might see, on the far right of the text at the end, there's still some background color showing.
Please see :
from neocomposer.nvim.
Did you also change the text_bg color?
from neocomposer.nvim.
Did you also change the text_bg color?
@ecthelionvi I didn't. But I tried now to change text_bg
and text_rec
and I still got this :
from neocomposer.nvim.
What colorscheme are you using?
from neocomposer.nvim.
@ecthelionvi
I'm using folke/tokyonight
from neocomposer.nvim.
The color to the right is the bg_dark color from tokyonight "#1e2030". NeoComposer is not setting that color to my understanding.
It could also be coming from lualine itself. I am using tokyonight and I do have the issue you are experiencing.
from neocomposer.nvim.
This will require further investigation 🤔
from neocomposer.nvim.
This will require further investigation 🤔
@ecthelionvi After tweaking my configuration I can tell it only happens with NeoComposer.
It seems like there is an extra space at the end of the text and the highlight
is not applying to it.
Can it be related to the way you setting up the highligh groups ?
if state.get_recording() then
status = "%#RecordingSymbol#%*%#RecordingText# REC%*"
elseif state.get_playing() then
status = "%#PlayingSymbol#%*%#PlayingText# PLAY%*"
end
Is there any other way to set the highlights groups ?
from neocomposer.nvim.
I figured out the issue. It has to do with Lualine padding.
For example here is the default colorscheme with default padding of 1:
Here I changed the right padding to 0 and kept the left padding at 1:
from neocomposer.nvim.
@ecthelionvi Well done ! Removing both padding left and right resolve the issue 👍🏼
Thanks for the help, very nice plugin you get there !
from neocomposer.nvim.
Related Issues (10)
- options on setup are ignored HOT 5
- [FEAT REQ] `false` to disable keymap(s) HOT 1
- "handle already closing", ui.lua:137 HOT 2
- [Feature Request] An option to queue most recent macro
- Error in the docs for lualine setup HOT 1
- The most recently recorded macro is not preselected HOT 1
- Feature Request - Adding Filetype-Specific Macros and Namespaces HOT 5
- Frequent errors - on buffer open and during text editing HOT 3
- Executing macros in visual mode broken HOT 1
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 neocomposer.nvim.