Giter VIP home page Giter VIP logo

wal.vim's Introduction

wal.vim

MIT licensed

A vim colorscheme for use with pywal.

Installation

" Using plug
Plug 'dylanaraps/wal.vim'

colorscheme wal

Neovim users, make sure to remove set termguicolors as it messes up the colorscheme.

wal.vim's People

Contributors

cubetastic33 avatar dylanaraps avatar itsphant avatar jackcogdill avatar marcelrobitaille avatar ntk148v avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wal.vim's Issues

problem with lightline

Hi, i have trouble using the wal.vim lightline colorscheme

i add this in my .vimrc:

let g:lightline = {
			\ 'colorscheme': 'wal',
			\ }

and i get the following error:

Error detected while processing function lightline#update[3]..lightline#colorscheme[18]..lightline#highlight:
line   18:
E254: Cannot allocate color guibg=
Error detected while processing function lightline#update:
line    3:
E171: Missing :endif

If i change the content of wal.vim/autoload/lightline/colorscheme/wal.vim to the content of another random lightline colorscheme and replacing the word "wal" to the name of the other file, i don't get any problem

disable transparent background?

Hi,

I just discovered wal.vim and really like the results; however, I don't want a transparent background. This can usually be resolved with

" some colorscheme
colorscheme monokai
" disable transparent background
set background=dark
" disable for "kitty" terminal as well
let &t_ut=''

in $MYVIMRC. However, when I put colorscheme wal, it will not work. I still have set background=dark and let &t_ut='' below colorscheme wal (just as I did with monokai), but the background will always be transparent.

I use picom (previously compton) as composite manager to get this transparent background for my terminal; however, vim is the only program I'd prefer not to have transparency, and usually this works great. Only this plugin does not respect the other settings. Can you please tell me what I need to change in order to have a dark background for vim even when using colorscheme wal?

Thank you for your help :)

eol not showing when using wal colorscheme

Hello!

I have set list lcs=trail:·,precedes:«,extends:»,tab:▸\ ,eol:¬ on my vimrc and for some reason when I switch to wal colorscheme the eol character stops showing. Can anyone help me with this?

Screen.Recording.2020-12-22.at.15.56.31.mov

The colorcolumn only showing when switching to wal is ok, it's a problem with the other colorscheme I was using.

Using Wal theme, doesn't seem to use pywal theme colours Neovim 0.4.4

Firstly I want to be clear that I've removed set termguicolors, so that unfortunately isn't it.

When I use the wal colour scheme after installing the plugin it seems the colour scheme isn't anything close to the theme colours. I have the following in my ~/.cache/wal/colors file:

#111010
#6E4C32
#725444
#8C5A32
#A06C50
#BF7955
#AF8771
#e1beac
#9d8578
#6E4C32
#725444
#8C5A32
#A06C50
#BF7955
#AF8771
#e1beac

Yet I end up with a white screen with black text, yellow line numbers and teal highlights...

I'm happy to help troubleshoot.

neovim treesitter support

I just want to note that some colors end up being the same while using treesitter, the wrongly set colors are very slightly "more correct" when using the default theme rather than wal. Perhaps something to look into when treesitter support is officially released.

wal with treesitter highlight:
2021-02-22-1613993498_screenshot_481x257

wal without treesitter highlight:
2021-02-22-1613993539_screenshot_486x240

default with treesitter highlight:
2021-02-22-1613993647_screenshot_499x235

Command not found: Using

Is the exclamation mark the correct syntax for .vimrc?

I have tried zsh and bash when running vim and receive the error below.

:! Using plug
             zsh:1: command not found: Using

shell returned 127

Press ENTER or type command to continue

COC Support

I noticed that using the vim extension COC, floating windows would become illegible due to poor contrast. COC relies on Pmenu for vim and NormalFloat (if exists) for nvim.

Changing hi Pmenu ctermbg=8 ctermfg=7 to hi Pmenu ctermbg=NONE ctermfg=5

renders the floating window in a legible manner with similar contrast to using wal with vs code.

Tested working on nvim v0.4.4 and vim v8.2.850

Can one also use this with VSCode?

There is an extension called Wal Theme for VSCode so can I also use this colorscheme int VSCode? Sorry if this is the wrong place to ask such a question.

Missing Conceal highlights

Hi! Cheers for a great plugin!

It seems to be missing the Conceal highlight-group, which may give undesirable results for people using the conceal-feature of vim.
I've circumvented this by setting the highlight-group to NONE.

hi Conceal ctermbg=NONE

No bold/italics fonts

Whenever I have colorscheme wal enabled I don't see bold and italics when using for example markdown. However with the default colorscheme I can see them fine.

Pair highlighting functioning incorrectly (neovim + alacritty)

Pair highlighting is not functioning correctly now that I'm using alacritty, pywal and neovim. It was working fine before when I was using gnome-terminal.

image
Cursor is displayed correctly here

image
I move right one character so that the cursor is on the (. However it looks like it's on the ). Note that there is a color change on the ( so you can "tell" but it feels like the cursor has moved to the )

Here was a similar problem with another vim theme: nordtheme/vim#71

termguicolors issues

It appears that set termguicolors breaks this theme. Unfortunately, it's a setting required for a number of plugins to work.

NVIM v0.4.3
iTerm2 3.3.12
macOS 10.15.5

:highlight keyword is not being emphasised

Hello,

I used the :hi option in my .vimrc, but I wanted to have it verbose commands only, to not forget what some cryptic commands do. I wanted to use :highlight instead, and I can ;), but it's not being emphasised like :hi is.

Example:
wal_highlight

I have pywal 3.3.0 installed.
I'm sorry if I write in the wrong place, but I don't know where should I post this :(

Question about t_Co and termguicolors (neovim)

I've been trying out this plugin and I've noticed something odd. Previously my init.vim set termguicolors and didn't set t_Co to anything. This worked fine for all the colorschemes I was using at the time. For this colorscheme though it seems like I need to "set t_Co=256" and remove the line that sets termguicolors. What's going on with this plugin to require that? I'm hoping I can find some middle ground between this colorscheme and others so that my settings (t_Co and termguicolors) don't have to change based only on my colorscheme.

CursorLine makes some Identifier invisible

:set cursorline makes the Identifier elements to change it's color in the current line. Unfortunatly the new color matches the CursorLine ctermbg making it invisible.

Follows a screenshot to show what I mean.
2018-09-03-211538_889x458_scrot

add a configuration options to modify the theme based on the likening of user.

allow user to add things like show underline for strings and italics for comments or for loops in the configuration.
i really want to use wal.vim with these features (italics,underline, bold and other things) but even with using highlight command i can't seem to do these.
a configuration support would be better nonetheless.

Transparent background broken by PR #21

As mentioned in the comments of pull request #21 , since that change the background transparency is disabled when vim is open.

Tested on Arch Linux with neovim and gnome-terminal

Difference In Terminal and vim colors

In my terminal I wrote the command wal --theme base16-nord after which I got different color schemes between vim and my terminal. In my vim I have only installed wal.vim and set "colorscheme wal". Does anybody know how can I make that vim also uses that theme?

Suggest reverse color of IncSearch

While searching, if only one pattern matched, this one will be hard to find. That's because IncSearch's bg is same with Normal, Only fg is different.

Here I reverse the color of IncSearch

function! MyHighlights() abort
    hi IncSearch ctermfg=0 ctermbg=3 cterm=None
endfunction

augroup MyColors
    autocmd!
    autocmd ColorScheme * call MyHighlights()
augroup END

colorscheme wal

Splits are hard to see

Similar to #13.
It can be hard to see splits, as shown in the picture below. Is there an easy fix for this?

2019-11-24_15-02

Something to add to the readme

I just installed pywal and wal.vim on my laptop and spent half an hour trying to figure out why it wasn’t working.

Turns out you cannot set

set termguicolors

in your vimrc or init.vim file.

I just thought it would be a good idea to mention this in the readme, since it is somewhat painful to figure out, and termguicolors is a pretty default setting as far as I know.

Packer is better

can you add packer plugin manager it's better than the regular vim plug

cursorline highlight the line

Vim version: 8.2
Terminal Emulator: kitty

I really like to have the little line that :set cursorline gives me but when I use it with wal as colorscheme my line is highlighted and I cannot see my syntax color or any color specific thing on this line, it has just one color for the foreground and one for the background.

with wal:
image

without wal:

image

not able to set BG color to be non-transparent

With my previous vim colorscheme, I set the background to be specifically non-transparent while my normal terminal background is. There doesn't seem to be a way to do this using the wal colorscheme?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.