Code Monkey home page Code Monkey logo

vim's People

Contributors

dmshvetsov avatar h5vx avatar i40west avatar perpetualcreativity avatar pyrho avatar skbolton avatar tarupo avatar unknowledgeable avatar zatchheems 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  avatar  avatar

vim's Issues

g:terminal_color_8 too dark

👋 ,

I'm not really sure how this color thing works, but the 8th terminal color is a bit too dark to be usable, I'm not sure if this issue is specific to my setup or not, maybe you can shed some light.

See the following screenshot:
Screenshot 2020-08-18 at 01 28 44
(on the left, :terminal with embark colors, the blackened text is barely visible; on the right a terminal not running in nvim)

Let me know if it makes sense, and if so I'd be happy to submit a pull request.

The following patch fixes the issue:

diff --git a/colors/embark.vim b/colors/embark.vim
index 74a9e2c..3c4417d 100644
--- a/colors/embark.vim
+++ b/colors/embark.vim
@@ -344,7 +344,7 @@ let g:terminal_color_4 = s:blue.gui
 let g:terminal_color_5 = s:purple.gui
 let g:terminal_color_6 = s:cyan.gui
 let g:terminal_color_7 = s:space.gui
-let g:terminal_color_8 = s:subtle_black.gui
+let g:terminal_color_8 = s:bg_subtle.gui
 let g:terminal_color_9 = s:dark_red.gui
 let g:terminal_color_10 = s:dark_green.gui
 let g:terminal_color_11 = s:dark_yellow.gui

Background is black

I have nushell+zellij+alacritty+neovim config on MacOS and when I switch to this theme the background of my neovim becomes pitch black which makes the colors stand out very aggressively.

How do I fix that?

Airline theme colors go out of sync after using CoC in neovim

I'm getting some strange behaviour with this airline theme where it doesn't seem to refresh the colours correctly after inserting an emmet abbreviation using CoC. I'm using the example vim config found here

Expected:
Screenshot 2020-08-05 at 13 51 49

Current behaviour:
Screenshot 2020-08-05 at 13 51 40

It seems to go back in sync to the expected behaviour if I take focus away from my terminal window and click on it again or use :AirlineRefresh
I'm not getting this problem using any other vim-airline Theme (I'm definitely using a powerline patched font, etc)

I've tried setting the theme manually with let g:airline_theme='embark' but the problem persists

Steps to reproduce with Coc, emmet-vim and coc-emmet installed:

nvim index.html
i ! <TAB> <CR>

Any thoughts?

vim version: NVIM v0.4.3
coc.nvim version: 0.0.78-0ff42027ff
term: iTerm.app
platform: darwin
all plugins up to date according to Plug

PS: Loving the theme btw! Thanks for putting out there!

nvim 0.6.0

Neovim version 6 just dropped 🎉

With it they have adjusted how the lsp diagnostic highlights work. I am currently verifying that I have configured things correctly on the nvim0.6.0 branch.

If anyone has the time to point their plugin manager to this branch and help me test things out I would appreciate it. If not I should be able to get this in within the upcoming week.

Sharing: Kitty terminal embark theme config file

Here is a theme file for the kitty terminal emulator that matches colors from embark.

# Embark (https://github.com/skbolton/embark/) {{{
background #1e1c31
foreground #EEFFFF
cursor #A1EFD3
selection_background  #fbfcfc

# black
color0 #1e1c31
color8 #3E3859

# red
color1 #F0719B
color9 #F02E6E

# green
color2 #A1EFD3
color10 #2CE592

# yellow
color3       #ffe9aa
color11      #ffb378

# blue
color4 #57C7FF
color12 #1DA0E2

# magenta
color5 #C792EA
color13 #A742EA

# cyan
color6       #87DFEB
color14      #63f2f1

# white
color7 #F8F8F2
color15 #a6b3cc


active_border_color #A1EFD3
inactive_border_color #a6b3cc
bell_border_color #f56574

active_tab_foreground   #222433 
active_tab_background   #63f2f1
active_tab_font_style   bold

inactive_tab_foreground #63f2f1
inactive_tab_background #222433 
inactive_tab_font_style normal

# }}}

It looks like this:
Screenshot 2020-08-18 at 01 47 37

Maybe this could be an entry in the wiki ?

JavaScript: await and function name are the same color

Hi! I liked this theme and decided to give it a try.

I have been using it for a minute or so, and I found it strange to read async / await JavaScript code. Please take a look:

Screen Shot 2021-03-28 at 10 57 33 PM

await is a keyword and graphql( in a function invocation. So it makes big difference if there is await or not and I used to that other themes have a separate color for keywords. In Embark you have the same color for function names and keywords.

I wonder if you think it will improve the theme if it has (at least slightly) different colors for function names and keywords?

I'm getting an error with airline

airline doesn't take the embark color theme, so i'm adding let g:airline_theme='embark' in my init.vim, i'm using nvim
could you help me how I can figure it out?

the following is the error

Error detected while processing function airline#check_mode[66]..airline#highlighter#highlig
ht:
line    2:
E121: Undefined variable: g:airline#themes#embark#palette

Sharing: alacritty theme

Hi,

To complete the collection here's a port of the kitty theme for alacritty:

colors:
  primary:
    background: '0x1e1c31'
    foreground: '0xeeffff'
  cursor:
    text: '0x1e1c31'
    cursor: '0xa1efd3'
  normal:
    black: '0x1e1c31'
    red: '0xf0719b'
    green: '0xa1efd3'
    yellow: '0xffe9aa'
    blue: '0x57c7ff'
    magenta: '0xc792ea'
    cyan: '0x87dfeb'
    white: '0xf8f8f2'
  bright:
    black: '0x585273'
    red: '0xf02e6e'
    green: '0x2ce592'
    yellow: '0xffb378'
    blue: '0x1da0e2'
    magenta: '0xa742ea'
    cyan: '0x63f2f1'
    white: '0xa6b3cc'

Looks like this:

image

improvement in MD files

image

I find this theme amazing, but I'd like to open a discussion, and try to understand, if possible also get some help to fix or maybe improve this theme.

In MD files, out of nowhere, it puts letters in white instead of continuing in red, and it's very random.

MatchParen difficult to see

I've had to add this to my vimrc:

hi MatchParen guibg='#F8F8F2' guifg='#1E1C31'

Couldn't remember the names of these colours so used Hex values I saved from your reddit post. Might be nice to add a chart of colors and their names (+terminal colors) to your readme and/or a mention of :so $VIMRUNTIME/syntax/hitest.vim and similar.

JSX tags are italicized

JSX tags are italicized when embark_terminal_italics is turned on. Below is a screenshot of a TypeScriptReact (.tsx) file.

image

Installed plugins that might have affected this behaviour:

Expected behaviour: Tags should be added as an exclusion to not be italicized.

Wrong colors on Ubuntu in Windows Terminal (WSL)

Hey,

I just installed NeoVim (v0.4.3) and installed the embark theme. I'm using Ubuntu 20.04 LTS inside the Windows Terminal. After invoking :colorscheme embark the colors are different from what they should be.

image

I'm using it already inside GVim and I'm loving it, thank you for your work! 😊

Add support for color spaces other than truecolor

你好,embark-theme 的作者

在不支持 true color 的终端中,embark-theme 的使用效果很差,比如 mac 自带的终端

最差的情况下会导致无法看清楚编辑内容:
image

附录:
在支持 true color 的终端中的效果
image

Image processor - suggestion for if and when you make a website

Not sure where to post suggestions and ideas for things like this but thought this was too cool to not make you aware of.

I just found this image processig tool someone's made for the Nord theme and thought it was pretty awesome. It basically applies the nord palette to any image you give it. Source is all on github so I thought if you do get round to making a Nord/Dracula style site, this would be an awesome /r/vimporn /r/unixporn feature!

embark not found

I have installed embark using vim-plug. I have put it inside my vimrc. But everytime I open vim, it shows this error

Error detected while processing /home/pial/.vim/vimrc:
line    9:
E185: Cannot find color scheme 'embark'
Press ENTER or type command to continue

But, when I am inside vim, and then use the command mode to select embark as my colorscheme, then it works.

My .vimrc file:

autocmd! bufwritepost vimrc ++nested source %


" change leader key to <space>, previously it was <alt>
let mapleader = " "


" colorscheme
colorscheme embark

" setting linenumbers and relative line numbers
set nu rnu

" incremental searching for vim
set incsearch

" shows command in the status bar
set showcmd

" Plugins installed using vim-plug
call plug#begin('~/.vim/plugged')

Plug 'embark-theme/vim', { 'as': 'embark' }

call plug#end()

I am using VIm 8.1 and my OS is Ubuntu 20.04.

Sharing: iTerm2 color theme config file

Here's the iTerm2 color theme file if you want that too

Embark.itermcolors.zip (zipped because github doesn't like the .itermcolors extension for some reason)

iTerm has a few extra colours for their featureset but I disabled them all to keep it strictly based on your reddit post colour names. Can change any and all if needed.

Screenshot 2020-08-18 at 11 27 07

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Ansi 0 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.19215686619281769</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.10980392247438431</real>
		<key>Red Component</key>
		<real>0.11764705926179886</real>
	</dict>
	<key>Ansi 1 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.60784316062927246</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.44313725829124451</real>
		<key>Red Component</key>
		<real>0.94117647409439087</real>
	</dict>
	<key>Ansi 10 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.57254904508590698</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.89803922176361084</real>
		<key>Red Component</key>
		<real>0.17254902422428131</real>
	</dict>
	<key>Ansi 11 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.47058823704719543</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.70196080207824707</real>
		<key>Red Component</key>
		<real>1</real>
	</dict>
	<key>Ansi 12 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.88627451658248901</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.62745100259780884</real>
		<key>Red Component</key>
		<real>0.11372549086809158</real>
	</dict>
	<key>Ansi 13 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.91764706373214722</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.25882354378700256</real>
		<key>Red Component</key>
		<real>0.65490198135375977</real>
	</dict>
	<key>Ansi 14 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.94509804248809814</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.94901961088180542</real>
		<key>Red Component</key>
		<real>0.38823530077934265</real>
	</dict>
	<key>Ansi 15 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.80000001192092896</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.70196080207824707</real>
		<key>Red Component</key>
		<real>0.65098041296005249</real>
	</dict>
	<key>Ansi 2 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.82745099067687988</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.93725490570068359</real>
		<key>Red Component</key>
		<real>0.63137257099151611</real>
	</dict>
	<key>Ansi 3 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.66666668653488159</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.91372549533843994</real>
		<key>Red Component</key>
		<real>1</real>
	</dict>
	<key>Ansi 4 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>1</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.78039216995239258</real>
		<key>Red Component</key>
		<real>0.34117648005485535</real>
	</dict>
	<key>Ansi 5 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.91764706373214722</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.57254904508590698</real>
		<key>Red Component</key>
		<real>0.78039216995239258</real>
	</dict>
	<key>Ansi 6 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.92156863212585449</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.87450981140136719</real>
		<key>Red Component</key>
		<real>0.52941179275512695</real>
	</dict>
	<key>Ansi 7 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.94901961088180542</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.97254902124404907</real>
		<key>Red Component</key>
		<real>0.97254902124404907</real>
	</dict>
	<key>Ansi 8 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.3490196168422699</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.21960784494876862</real>
		<key>Red Component</key>
		<real>0.24313725531101227</real>
	</dict>
	<key>Ansi 9 Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.43137255311012268</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.18039216101169586</real>
		<key>Red Component</key>
		<real>0.94117647409439087</real>
	</dict>
	<key>Background Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.19215686619281769</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.10980392247438431</real>
		<key>Red Component</key>
		<real>0.11764705926179886</real>
	</dict>
	<key>Badge Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>0.5</real>
		<key>Blue Component</key>
		<real>0.4117647111415863</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.20392157137393951</real>
		<key>Red Component</key>
		<real>0.80784314870834351</real>
	</dict>
	<key>Bold Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>1</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.78975206613540649</real>
		<key>Red Component</key>
		<real>0.76818817853927612</real>
	</dict>
	<key>Cursor Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.82745099067687988</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.93725490570068359</real>
		<key>Red Component</key>
		<real>0.63137257099151611</real>
	</dict>
	<key>Cursor Guide Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>0.047881155303030304</real>
		<key>Blue Component</key>
		<real>1</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>1</real>
		<key>Red Component</key>
		<real>1</real>
	</dict>
	<key>Cursor Text Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.19215686619281769</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.10980392247438431</real>
		<key>Red Component</key>
		<real>0.11764705926179886</real>
	</dict>
	<key>Foreground Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>1</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>1</real>
		<key>Red Component</key>
		<real>0.93333333730697632</real>
	</dict>
	<key>Link Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.63137257099151611</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.90588235855102539</real>
		<key>Red Component</key>
		<real>0.93725490570068359</real>
	</dict>
	<key>Selected Text Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.19215686619281769</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.10980392247438431</real>
		<key>Red Component</key>
		<real>0.11764705926179886</real>
	</dict>
	<key>Selection Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.98823529481887817</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.98823529481887817</real>
		<key>Red Component</key>
		<real>0.9843137264251709</real>
	</dict>
	<key>Tab Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.3490196168422699</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.21960784494876862</real>
		<key>Red Component</key>
		<real>0.24313725531101227</real>
	</dict>
	<key>Underline Color</key>
	<dict>
		<key>Alpha Component</key>
		<real>1</real>
		<key>Blue Component</key>
		<real>0.50694197416305542</real>
		<key>Color Space</key>
		<string>sRGB</string>
		<key>Green Component</key>
		<real>0.3795028030872345</real>
		<key>Red Component</key>
		<real>0.34893858432769775</real>
	</dict>
</dict>
</plist>

Disabling italics

Hi!

I've been using the color scheme for the past weeks, and absolutely love it, but I can't seem to disable italics.
Is let g:embark_terminal_italics = 0 supposed to work? Or is there a more specific option to disable italicized comments for example?

Thanks

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.