Giter Site home page Giter Site logo

ghifarit53 / tokyonight-vim Goto Github PK

View Code? Open in Web Editor NEW
539.0 4.0 47.0 507 KB

A clean, dark vim colorscheme that celebrates the lights of downtown Tokyo at night, based on a VSCode theme by @enkia with the same name [Archived because I'm no longer using this]

License: MIT License

Vim Script 100.00%
colorscheme downtown-tokyo theme lightline airline vim-colorscheme vim vim-theme

tokyonight-vim's People

Contributors

aerosol avatar get-me-power avatar ghifarit53 avatar tessarin 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

tokyonight-vim's Issues

GTK Port

Hey! You mentioned in the README to mention if anyone made a port. I made a GTK theme using the colorscheme so if you want to list it there, feel free. Here's the link to it, and thanks for the great colorscheme! Also feel free to just close this issue if you decide to add it or decide against it. This is just to inform you and anyone else who might care that it exists lol

EDIT: Just looked and saw someone already did this, so just disregard this if you want then lol

Brighter comments

The comments are a bit difficult to see atm, could you please make them a little bit brighter? Thank you!
image

Problems with Nvim 0.5

Hey there,

I just wanted to mention that there are some problems when using this amazing color theme with the upcoming Neovim 0.5:

The highlight clear causes diagnostic highlights like underlines on error to be hidden.
The issue is reported here.

That means after setting this color scheme, all highlight groups have to manually be added again. So maybe you can add a line about this in the readme?

Theme does not seem to take effect until after plugin loads

See original issue at Yggdroot/indentLine#339 for more details.

Essentially, a plugin I am currently using cannot fetch the TokyoNight highlight group colors properly. I have tested this behavior with other themes such as dracula, but dracula seems to have no problems handling this case.

I took a look at both dracula.vim and tokyonight.vim, but I couldn't find any meaningful differences that could have caused this weird behavior. If anyone has any insights it would be really helpful!

Not great for Ruby development

I'm working for a private company (can't share screenshots) but I can say I love your theme but I can't use it because our project uses Ruby and Ruby on Rails and it shows so pale with so few stuff highlighted. Could you take a look into adding support for some keywords? Just from the top of my mind:

  • Starting with "@" symbol means it's an instance var: "@instance_variable"
  • Starting with ":" symbol means it's a ruby symbol: ":symbol"
  • Followed by ":" is a symbol used as key on a hash (like a map): "key: 'value'" and also "key with spaces": 'value'
  • And finally, two words separated by spaces means the left one is the method name and the following is an argument; with the exceptions of already detected reserved keywords (while, for, if, def, class, module, case... etc)

I'm not sure how syntax highlight works, I'm assuming it's detecting keywords as tokens and giving them token type? Let me know if there is something I can do to help.

Add option for make lightline mode in bold

I'm new in vim configuration stuff, so i don't know how to make it as a part of tokyonight option, for now, if i want vim mode to bold, i have to modified lightline file like

let s:p.normal.left = [ [ s:normal_l1_fg, s:normal_l1_bg, 'bold' ], [ s:normal_l2_fg, s:normal_l2_bg ] ]

I think it's nice to have them as an option in theme.

This is how vim mode look like
Screenshot_20201130_135318

And this is with bold
Screenshot_20201130_135345

Color name or number not recognized when using tmux

Error detected while processing function <SNR>13_HL:
line   15:
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=italic
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=italic
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=NONE
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=NONE
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=italic
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=bold
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=bold
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=underline
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=bold

OS: Pop!_OS
Term: Alacritty
vimrc: https://github.com/RossComputerGuy/dotfiles/blob/master/user/.vimrc
$TERM: screen

Note: This issue doesn't occur while on Void Linux but is present on Pop!_OS

Weird background

I have these backgrounds for various types of variables or function calls.

image

How can I fix it?

p.s. The theme is amazing!

Background incompatible with low opacity

i use neovim and kitty. I set my background opacity to 0.95 in my kitty config and when i use vim there's incompability between background when there's a code in the foreground and where there's no code.
the background, when there's a code appear normally with a see-trough opacity that i set but the background where's there's no code in front of it appear to be solid black with opacity 1.00

Syntax color highlighting differs from VSCode theme

Hey thanks for this vim port. I was wondering whether is because of the vim theme itself or might have I messed something up. I've noticed that the colors are different from those rendered in VSCode. I've attach a screenshot here

Port to rofi

Currently working on another port but this time its for rofi, can be found here. I can't get a screenshot of rofi easily but you can try it yourself. Like the other one, if there's any changes needed please tell me.

blank highlighting for objects in Javascript

I don't think this is an error, this may have not been added to the theme yet. But I would like this to be implemented, at least a red highlighting to the object key. I will show you a photo of how it looks to explain a little bit better:

TokyoNight Image

I've been doing some research and Material.vim has this. The theme colors aren't that great but it has the highlighting in javascript objects. It would be awesome if this could get implemented in tokyo-night it is my favourite theme.

Port to GTK

screenshot
I tried porting to GTK using Oomox, if you want to change it here's the configuration:

ACCENT_BG=6398cf
BASE16_GENERATE_DARK=False
BG=1a1b26
BTN_BG=7aa2f7
BTN_FG=a9b1d6
BTN_OUTLINE_OFFSET=-3
BTN_OUTLINE_WIDTH=1
CARET1_FG=ffffff
CARET2_FG=ffffff
CARET_SIZE=0.05
CINNAMON_OPACITY=0.95
FG=a9b1d6
GNOME_SHELL_PANEL_OPACITY=0.6
GRADIENT=0.0
GTK3_GENERATE_DARK=True
HDR_BTN_BG=7aa2f7
HDR_BTN_FG=a9b1d6
ICONS_ARCHDROID=acb0d0
ICONS_DARK=a00400
ICONS_LIGHT=f0544c
ICONS_LIGHT_FOLDER=ff645c
ICONS_MEDIUM=b91d15
ICONS_STYLE=archdroid
MATERIA_STYLE_COMPACT=True
MENU_BG=1a1b26
MENU_FG=a9b1d6
NAME=Tokyonight
OUTLINE_WIDTH=1
ROUNDNESS=0
SEL_BG=444b6a
SEL_FG=acb0d0
SPACING=0
TERMINAL_ACCENT_COLOR=6398cf
TERMINAL_BACKGROUND=1a1b26
TERMINAL_BASE_TEMPLATE=material
TERMINAL_COLOR0=32344a
TERMINAL_COLOR1=f7768e
TERMINAL_COLOR10=b9f27c
TERMINAL_COLOR11=ff9e64
TERMINAL_COLOR12=7da6ff
TERMINAL_COLOR13=bb9af7
TERMINAL_COLOR14=0db9d7
TERMINAL_COLOR15=acb0d0
TERMINAL_COLOR2=9ece6a
TERMINAL_COLOR3=e0af68
TERMINAL_COLOR4=7aa2f7
TERMINAL_COLOR5=ad8ee6
TERMINAL_COLOR6=449dab
TERMINAL_COLOR7=787c99
TERMINAL_COLOR8=444b6a
TERMINAL_COLOR9=ff7a93
TERMINAL_FOREGROUND=a9b1d6
TERMINAL_THEME_ACCURACY=128
TERMINAL_THEME_AUTO_BGFG=False
TERMINAL_THEME_EXTEND_PALETTE=False
TERMINAL_THEME_MODE=manual
THEME_STYLE=oomox
TXT_BG=1a1b26
TXT_FG=a9b1d6
UNITY_DEFAULT_LAUNCHER_STYLE=False
WM_BORDER_FOCUS=444444
WM_BORDER_UNFOCUS=444444

Just write this to ~/.config/oomox/colors/tokyonight and you can export it. I think I did my best with trying to figure out the right colors for things but if there's any corrections I should make then please tell me.

One of THE best themes I've ever used. hands down. ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ”ฅ ๐Ÿ”ฅ ๐Ÿ”ฅ

Just wanted to say this is one of THE best themes I've ever used. hands down. ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜

Not just the color choices, but choosing what tokens have more vs less contrast have quickly made it my preferred theme.

yml, JS, and JSON code look really really great.

If I ever make my own theme I'll fork this because it has such great structure.
๐Ÿ”ฅ ๐Ÿ”ฅ ๐Ÿ”ฅ

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.