Comments (8)
Might I suggest just defining
LightspeedFoo
highlight groups and letting color schemes / user configs sort out the actual colors?
Preaching to the choir: :h lightspeed-highlight
.
(Also, TUIs do use
guifg
iftermguicolors
is set.)
Yeah, that's why I skipped defining cterm
groups, but it would be better to provide defaults for those anyway.
from lightspeed.nvim.
Sure, we just need to add the corresponding cterm
attributes to the group definitions. The question is, should we convert the values to 256 colors then? Or maybe 16?
The .lua file is generated, you can find the relevant part in the Fennel source file here.
from lightspeed.nvim.
Thanks, I was already wondering how you possibly can keep track of all this _16_
;)
NeoVIM only supports 16 colors for console because of compatibility.
from lightspeed.nvim.
In #4 is a simple idea how a solution looks like.
It's mirrored what I have changed in the lightspee.lua
to make it work on my machine.
from lightspeed.nvim.
Thank you :) Yeah, this is pretty much all we need to do. Will look at this tonight, test and tweak the colors, and figure out a good scheme for light background...
There is a makefile included that you could use to compile the Fennel file to the lua folder, just run make
after finishing the edits, and then the plugin can be tested locally after re-sourcing.
from lightspeed.nvim.
Good to know, I never worked with Lua or Fennel before ^^
from lightspeed.nvim.
Might I suggest just defining LightspeedFoo
highlight groups and letting color schemes / user configs sort out the actual colors? You can link them to standard highlight groups (Search
, IncSearch
) by default. This should be more portable / extensible and is how, e.g., gitsigns
does this.
(Also, TUIs do use guifg
if termguicolors
is set.)
from lightspeed.nvim.
(Also, TUIs do use
guifg
iftermguicolors
is set.)
but this settting breaks many plugins ^^
from lightspeed.nvim.
Related Issues (20)
- Update configuration in init.vim HOT 6
- Control timeout of instant jump/instant repeat labels separately HOT 4
- Error in `set_editor_opts` in `LightspeedLeave` autocommand HOT 3
- fatal: invalid reference: master when Installing or Updating with vim-plug HOT 1
- A suggestion for f/t HOT 3
- Problems when setting safe_labels = {} HOT 1
- Error on yank after jumping HOT 1
- Features Request: Search all windows in the tabpage HOT 1
- Configurable delay/timeout for f motions HOT 1
- Option to add characters to special character list HOT 1
- Lightspeed overwriting neogit shortcuts HOT 4
- Newly installed lightspeed.nvim throws error. Doesn't override nvim defaults. HOT 2
- Potential matched words get highlighted, doesn't go away HOT 2
- Matching Issues HOT 2
- lightspeed with vim-multiple-cursors
- Lightspeed resets scrolloff to 0 HOT 1
- automatically exit f/F HOT 3
- multibyte bug with display bounds computation HOT 2
- how to begin troubleshooting if plugin does not seem to have mapped keys? HOT 2
- Cursor not refreshing.
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 lightspeed.nvim.