alphatechnolog / pywal.nvim Goto Github PK
View Code? Open in Web Editor NEWpywal.nvim is a reimplementation of pywal.vim to support a few lua plugins like nvim-tree, telescope, bufferline, etc
pywal.nvim is a reimplementation of pywal.vim to support a few lua plugins like nvim-tree, telescope, bufferline, etc
Trying out this plugin, but getting a syntax error "variable as is not defined"
using vim-plug
Hello,
Thank you for the plugin!
How to highlight current line?
I would like to change the color of the seperations between my tabs in lualine (here in white) and either have them sync with the margin color and size, or at least, make them blend in with lualine background color.
The reason I'm posting here and not on lualine's github is because I don't see this problem with other color schemes.
My config file:
`
local pywal = require('pywal')
pywal.setup()
`
pywal is a nice engine. but there are some others like haishoku and some more.
(Wpgtk)[https://github.com/deviantfero/wpgtk] provides an option to generate a color scheme using different options.
it stores colorschemes in ~/.config/wpg/templates/
there should be an options given to use different color scheme
After Neovim update, i obtained this
vim.highlight.create is deprecated, use vim.api.nvim_set_hl instead. See :h deprecated
This function will be removed in Nvim version 0.9
stack traceback:
/usr/share/nvim/runtime/lua/vim/highlight.lua:14: in function 'hi'
~/.config/nvim/plugged/pywal/lua/pywal/highlights.lua:8: in function 'highlight_all'
~/.config/nvim/plugged/pywal/lua/pywal/init.lua:8: in function 'setup'
[string ":lua"]:1: in main chunk
I tried to replace vim.highlight.create with vim.api.nvim_set_hl in highlights.lua but it didn't work.
I use NVIM v0.8.0 on Arch Linux.
https://github.com/RRethy/vim-illuminate
The highlight color of vim illuminate is same color as the text causing it to be unreadable. Is there something that can be done to solve this?
EDIT: I just fixed the error i just had to put use { 'AlphaTechnolog/pywal.nvim', as = 'pywal' }
in plugins.lua
Hello im new to nvim so please dont judge me, anyways i was trying to install pywal but i failed with this error:
Error detected while processing /home/khaled/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/khaled/.config/nvim/lua/user/pywal/init.lua:2: module 'pywal.core' not f
ound:
no field package.preload['pywal.core']
no file './pywal/core.lua'
no file '/home/khaled/.config/nvim/neovim/.deps/usr/share/luajit-2.1.0-beta3/pywal/core.lua'
no file '/usr/local/share/lua/5.1/pywal/core.lua'
no file '/usr/local/share/lua/5.1/pywal/core/init.lua'
no file '/home/khaled/.config/nvim/neovim/.deps/usr/share/lua/5.1/pywal/core.lua'
no file '/home/khaled/.config/nvim/neovim/.deps/usr/share/lua/5.1/pywal/core/init.lua'
no file './pywal/core.so'
no file '/usr/local/lib/lua/5.1/pywal/core.so'
no file '/home/khaled/.config/nvim/neovim/.deps/usr/lib/lua/5.1/pywal/core.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './pywal.so'
no file '/usr/local/lib/lua/5.1/pywal.so'
no file '/home/khaled/.config/nvim/neovim/.deps/usr/lib/lua/5.1/pywal.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/home/khaled/.config/nvim/lua/user/pywal/init.lua:2: in main chunk
[C]: in function 'require'
/home/khaled/.config/nvim/init.lua:7: in main chunk
Being able to see the text in the native statusline/bar by default.
I can't see the text in the native statusline/bar, the bar is black.
Either the text isn't rendering or the text is the same color as the bar.
I use Kitty as a terminal emulator, which is already sourcing its colors from pywal.
I am trying to edit the colors for the tree-sitter part of this plugin. My html
files are quite bland right now, and I would like to edit the colors so that they look better. I was wondering what I would need to do in order to accomplish that. I tried going into the local repo that was installed in my computer through packer (basically, what is in my .local
directory). I see that there is a TSTag = { } that is commented out. I commented it in and specified a color for it (without any error), but it does change anything in the html
files.
I am thinking that I need to create a pywal.lua
in the .config
, but I am not sure where to start and what to do for it. I am not proficient in Lua and I know just enough to a get by slowly for configuring neovim, so any help on how I can accomplish would be appreciated.
When generating new colorscheme, nvim does not update the colorscheme. I believe wal.vim does that. Could you implement it?
Thanks for the previous issue ;)
I noticed something else. As you can see below, the highlight color when selecting a line is the same of commented line of text rendering it invisible.
Also, I don't think the following deserves new issues open so I'll ask here:
-Is there a way to color NvimTree background differently?
-Not remove the frame around Telescope?
Thanks again
vim.highlight.create is deprecated, use vim.api.nvim_set_hl instead. See :h deprecated
This function will be removed in Nvim version 0.9
stack traceback:
/usr/share/nvim/runtime/lua/vim/highlight.lua:14: in function 'hi'
...im/site/pack/packer/start/pywal/lua/pywal/highlights.lua:8: in function 'highlight_all'
...are/nvim/site/pack/packer/start/pywal/lua/pywal/init.lua:8: in function 'setup'
[string ":lua"]:1: in main chunk
[C]: in function 'cmd'
/home/vaskark/.config/nvim/init.lua:7: in main chunk
My line 7 is:
vim.cmd [[colorscheme pywal]]
I've also set lualine theme to pywal-nvim
. But when pywal loads a new theme the colors do not change unless I reload the file in place.
I'm using neovim (git updates ppa) on Ubuntu 22.04.1.
Thanks.
Edit: my nvim config
Edit (again): I went back to the stable release ppa channel and the problem has disappeared. It still doesn't reload automatically when a new pywal theme is loaded, however.
When opening Neovim, the following error appears:
vim.highlight.create is deprecated, use vim.api.nvim_set_hl instead. See :h deprecated
This function will be removed in Nvim version 0.9
stack traceback:
/usr/share/nvim/runtime/lua/vim/highlight.lua:14: in function 'hi'
...l/share/nvim/plugged/pywal.nvim/lua/pywal/highlights.lua:8: in function 'highlight_all'
.../.local/share/nvim/plugged/pywal.nvim/lua/pywal/init.lua:8: in function 'setup'
[string ":lua"]:1: in main chunk
Press ENTER or type command to continue
I believe this is in reference to local hi = vim.highlight.create
in the file lua/pywal/highlights.lua
Using pywal.nvim colorscheme when vim.opt.list=true
is set all listchars of Whitespace highlightning group are invisible. Here's an example:
Seems like a problem in pywal colorscheme config, where for Whitespace guifg=colors.background
. If I set another color, for example color1
(since other lischars, like eol, use NonText highlightning - see :help listchars
) the problem is solved:
I use wezterm as terminal emulator and nvim v0.6.1 on Arch Linux.
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.