Comments (12)
Yeah I will fix visibility options.Also can you try the option NonText instead of WhiteSpace ?
from nvim-solarized-lua.
Also try setting the option before applying the colorscheme.
from nvim-solarized-lua.
try setting the option before applying the colorscheme.
OK, I've just tried this:
set termguicolors
" Whitespace
set list
lua vim.g.solarized_visibility = 'low'
highlight Whitespace guifg=black
" Initialize
colorscheme solarized
Now the highlight command doesn't work either, not even after sourcing the init file. Other than that, same results.
can you try the option NonText instead of WhiteSpace ?
It doesn't seem to make any difference.
from nvim-solarized-lua.
Yup I tried it myself. Thanks for reporting a bug.
from nvim-solarized-lua.
In the mean time can you put this command
hi NonText guifg=#073642 guibg=NONE gui=bold cterm=bold
to get low visibility.
from nvim-solarized-lua.
I have made some changes can you check if those work for you?
from nvim-solarized-lua.
It's definitely better, although I would like it to be slightly brighter this time.
For example, here's how it looks with hi NonText guifg=#25454D guibg=NONE gui=bold cterm=bold
applied (which still doesn't work unless I manually run :source %
, by the way). I would like having this one.
from nvim-solarized-lua.
the default option would suit your needs then. Try 'normal' instead of 'low'. I have my config written in lua so in my config.
vim.g.solarized_statusline = 'flat'
vim.g.solarized_termtrans = 0
vim.g.solarized_diffmode = 'low'
vim.g.solarized_visibility = 'low'
vim.cmd('colorscheme solarized')
vim.cmd('hi NonText guifg=#25454D guibg=NONE gui=bold cterm=bold')
This works fine on my neovim. You can try this in vimscript if it doesn't work then I guess it is a neovim issue not a colorscheme one.
from nvim-solarized-lua.
Also can try to put your settings in $HOME/.config/nvim/after/syntax?
EDIT:-
I looked up the problem you are having with 'hi' command is an issue with vim too. The only solution I read was that you have to write your own colorscheme. It is weird because the above lua snippet from my config works.
So there is nothing I can do about the hi
command issue atleast for now.
from nvim-solarized-lua.
the default option would suit your needs then. Try 'normal' instead of 'low'.
I already have. Something between normal and low would be the ideal choice for me, like what I mentioned above. (Although if you only want to use the base colours defined in Solarized, that's also understandable.)
I have my config written in lua so in my config.
vim.g.solarized_statusline = 'flat' vim.g.solarized_termtrans = 0 vim.g.solarized_diffmode = 'low' vim.g.solarized_visibility = 'low' vim.cmd('colorscheme solarized') vim.cmd('hi NonText guifg=#25454D guibg=NONE gui=bold cterm=bold')
I've put it into init.test.lua
, made some modifications, and run nvim -u ~/.config/nvim/init.test.lua --noplugin init.test.lua
. Here are the results:
I looked up the problem you are having with 'hi' command is an issue with vim too. The only solution I read was that you have to write your own colorscheme. It is weird because the above lua snippet from my config works.
So there is nothing I can do about thehi
command issue atleast for now.
Oh… so, I guess I'll have to edit the files of nvim-solarized-lua and hardcode the values myself (or make do with the default options). Not exactly what I was looking for, but at least I feel I'm closer now, so, thank you!
from nvim-solarized-lua.
@maxigaz you can try something like this modify the colorscheme.
https://github.com/kristijanhusak/neovim-config/blob/cf911f5feeecdc7acf513714b48c4fcf985eeaf9/nvim/partials/colorscheme.vim#L1
from nvim-solarized-lua.
Thank you for the advice! I'm not very familiar with creating and using augroup
s, but I've just tried the following autocmd
s, and they seem to work well (replacing Whitespace
with NonText
has the same results for me).
vim.cmd([[
autocmd BufEnter * hi Whitespace guifg=#25454D guibg=NONE gui=bold cterm=bold
autocmd BufEnter * hi IndentBlanklineChar guifg=#25454D gui=nocombine
]])
The second one using the highlight group IndentBlanklineChar
was necessary for customising the looks of indent-blankline.nvim. It's yet another mystery, because according to the plugin's manual, it "takes guifg color from 'Whitespace'" by default, so, if I understand it well, hi IndentBlanklineChar
should be redundant. But anyway, I'm happy that it works finally.
Thank you again!
from nvim-solarized-lua.
Related Issues (20)
- Add lua formatter style guide HOT 1
- Information required: how to setup plugin using packer HOT 3
- Provide access to the colors dictionary for further customization.
- red brackets HOT 3
- Error when initializing any theme
- 8 bit colors are very wrong HOT 2
- How to have multiple colours for the same Treesitter value? HOT 1
- how to switch to white? HOT 1
- LSP float text not visible in light mode with high contrast variant HOT 1
- Disable background for brackets in cmp preview
- gray zone at the right of the git gutter
- Add support for SmiteshP/nvim-navic
- All highlighting stopped working with neovim 0.8 HOT 4
- Solarize the gray tab bar HOT 2
- Error really sticks out?
- no config file? HOT 1
- Whether Undercurl is supported?
- Strikethrough, italic and bold problems
- Lualine diffs & diagnostic info are illegible in dark mode
- neotest summary in light mode
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 nvim-solarized-lua.