svrana / neosolarized.nvim Goto Github PK
View Code? Open in Web Editor NEWTruecolor solarized theme for neovim in Lua using colorbuddy
License: Other
Truecolor solarized theme for neovim in Lua using colorbuddy
License: Other
I don't know anything about LUA so I can't begin to debug this. When starting nvim I'm left with the error below and no solarized theme.
Error detected while processing /home/ubuntu/.config/nvim/init.vim:
line 13:
E5105: Error while calling lua chunk: ...nvim/site/plugged/neosolarized.nvim/lua/neosolarized.lua:36: attempt to call up
value 'cmd' (a nil value)
Press ENTER or type command to continue
Don't worry this is WSL running Ubuntu 20.04, I don't have brain damage
Should show off some integrations.. Maybe nvim-cmp, telescope, etc.
I found that it runs highlight clear
in setup
, which breaks any lualine themes.
I was trying out the colorscheme as the one that I'm currently doesn't support the newer features of nvim.
I loaded it and it obviously didn't work:
So I tried the original neosolarized and that one works correctly.
I'm using Lazy as a package manager and this is my config:
'tjdevries/colorbuddy.nvim',
{
'svrana/neosolarized.nvim',
config = function()
vim.cmd.colorscheme 'neosolarized'
end,
},
Is there something extra that needs to be configured to get it to work?
I'm getting
Error detected while processing /Users/rubelagu/dotfiles/neovim/after/plugin/neosolarized.rc.lua:
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
This comes from the setup()
on
local status, n = pcall(require, "neosolarized")
if (not status) then return end
n.setup({
-- comment_italics = true,
})
I'm using the latest :PackerUpdate
.
The configuration options in the setup function should also have a viml options for those that like to switch themes on the fly.
When installing using Packer, in my init.lua
file, I get this once I reload neovim:
Error detected while processing /home/dg/.config/nvim/init.lua:
E5113: Error while calling lua chunk: ...pack/packer/start/neosolarized.nvim/lua/neosolarized.lua:28: Vim(packadd):E919: Directory not found in 'packpath': "pack/*/opt/col
orbuddy.nvim"
stack traceback:
[C]: in function 'cmd'
...pack/packer/start/neosolarized.nvim/lua/neosolarized.lua:28: in function 'setup'
/home/dg/.config/nvim/init.lua:77: in main chunk
Press ENTER or type command to continue
Following the error details, it looks like there's a typo in the plugin extension, currently it's .nvim
but the repo it's really called colorbuddy.vim
.
Very simple fix on line 29 of neosolarized.lua
. Should I submit a PR?
I really appreciate your colorscheme.
It works great, except that I see this error message in my statusline on starting up neovim 0.8.1:
neosolarized: unknown setting: background_color
My settings do specify that as a parameter.
n = require("neosolarized").setup({
comment_italics = true,
background_set = true,
background_color = require("colorbuddy.init").Color.new("custom_bg", "#00252E")
})
n.Group.new('PreProc', n.colors.yellow)
n.Group.new("NormalNC", n.colors.base0, n.bg_color)
The really strange part is that it actually does work; it just complains about the setting.
Am I doing something wrong with my settings? I am not a Lua developer.
Hello, I would like to figure out my problem.
Hint diagnostic is not working properly:
I don't know whether this is intended behavior or if I'm doing something wrong. The theme sets the background color to black.
I even tried it in a clean nvim config using only init.lua
:
https://gist.github.com/sorashi/9f144e5aa33c1be480d2e675418bc53d
The result is the same.
The background color is set to the solarized background color when I do this using colorbuddy
Group.new('Normal', colors.base0, colors.base03, styles.NONE)
Group.new('NormalNC', colors.base0:dark(), colors.base03, styles.NONE)
(although notice the line number 1 background is still black)
The issue appears in all terminals when using nvim (wezterm, gnome-terminal, black box). It also appears in neovide.
nvim --version
v0.8.0
If nvim is set to any other color theme, then calling :colorscheme neosolarized
has no effect. Should I use another command(s) if I want to switch back to neosolarized ?
Colorscheme works perfectly fine for every plugin which has floating windows. but it doesnt seem to work with the mason. I have changed winblend options and tried. I thought the problem is within the mason but when i tried it with catppuccin it worked fine. I think there is no support for mason. Please look into it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.