drewtempelmeyer / palenight.vim Goto Github PK
View Code? Open in Web Editor NEWSoothing color scheme for your favorite [best] text editor
License: MIT License
Soothing color scheme for your favorite [best] text editor
License: MIT License
Hi,
I have just installed the palenight theme and I absolutely love it. The only issue I am facing right now is that it doesn't get loaded by itself on vim start. Vim says it cannot recognize palenight. I have to either reload .vimrc or I have to use :colorscheme palenight
Any idea what may be the issue?
Hey! I love this vim theme and have been using it for awhile now, but I hate the way it looks with my terminal (Termite). Is there a Termite theme that uses the same color layout as this theme or could I have the colors for everything like the background, RBG colors, etc. so I could make my own theme. Thanks c:
Hi, thanks for creating this theme
I have an issue with the color, it looks different compared to the screenshot.
I have enabled the true color on my terminal.
❯ awecho $TERM
xterm-256color
vim config
set termguicolors
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set background=dark
colorscheme palenight
if (has("nvim"))
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
if (has("termguicolors"))
set termguicolors
endif
Nice theme.
It would be even better with Treesitter support.
Treesitter defines the following highlight groups (the color definitions are from Onedark).
hi! TSError ctermfg=203 guifg=#f44747
hi! TSPunctDelimiter ctermfg=249 guifg=#abb2bf
hi! TSPunctBracket ctermfg=249 guifg=#abb2bf
hi! TSPunctSpecial ctermfg=249 guifg=#abb2bf
hi! TSConstant ctermfg=75 guifg=#61afef
hi! TSConstBuiltin ctermfg=173 guifg=#d19a66
hi! TSConstMacro ctermfg=73 guifg=#56b6c2
hi! TSStringRegex ctermfg=114 guifg=#98c379
hi! TSString ctermfg=114 guifg=#98c379
hi! TSStringEscape ctermfg=73 guifg=#56b6c2
hi! TSCharacter ctermfg=114 guifg=#98c379
hi! TSNumber ctermfg=173 guifg=#d19a66
hi! TSBoolean ctermfg=173 guifg=#d19a66
hi! TSFloat ctermfg=114 guifg=#98c379
hi! TSAnnotation ctermfg=180 guifg=#e5c07b
hi! TSAttribute ctermfg=73 guifg=#56b6c2
hi! TSNamespace ctermfg=201 guifg=#ff00ff
hi! TSFuncBuiltin ctermfg=75 guifg=#61afef
hi! TSFunction ctermfg=75 guifg=#61afef
hi! TSFuncMacro ctermfg=180 guifg=#e5c07b
hi! TSParameter ctermfg=73 guifg=#56b6c2
hi! TSParameterReference ctermfg=73 guifg=#56b6c2
hi! TSMethod ctermfg=75 guifg=#61afef
hi! TSField ctermfg=168 guifg=#e06c75
hi! TSProperty ctermfg=180 guifg=#e5c07b
hi! TSConstructor ctermfg=73 guifg=#56b6c2
hi! TSConditional ctermfg=175 guifg=#c586c0
hi! TSRepeat ctermfg=175 guifg=#c586c0
hi! TSLabel ctermfg=75 guifg=#61afef
hi! TSKeyword ctermfg=175 guifg=#c586c0
hi! TSKeywordFunction ctermfg=175 guifg=#c586c0
hi! TSKeywordOperator ctermfg=175 guifg=#c586c0
hi! TSOperator ctermfg=249 guifg=#abb2bf
hi! TSException ctermfg=175 guifg=#c586c0
hi! TSType ctermfg=75 guifg=#61afef
hi! TSTypeBuiltin ctermfg=75 guifg=#61afef
hi! TSStructure ctermfg=201 guifg=#ff00ff
hi! TSInclude ctermfg=175 guifg=#c586c0
hi! TSVariable ctermfg=73 guifg=#56b6c2
hi! TSVariableBuiltin ctermfg=180 guifg=#e5c07b
hi! TSText ctermfg=226 guifg=#ffff00
hi! TSStrong ctermfg=226 guifg=#ffff00
hi! TSEmphasis ctermfg=226 guifg=#ffff00
hi! TSUnderline ctermfg=226 guifg=#ffff00
hi! TSTitle ctermfg=226 guifg=#ffff00
hi! TSLiteral ctermfg=226 guifg=#ffff00
hi! TSURI ctermfg=226 guifg=#ffff00
hi! TSTag ctermfg=168 guifg=#e06c75
hi! TSTagDelimiter ctermfg=241 guifg=#5c6370
Trying to get High contrast
version of the original Pale night since it is the one I am using on my terminal
This colorscheme is the best, but in tmux it has doesn't look like in the normal terminal (doesn't look bad, but is different).
What font are you using in the screencap?
Inside my init.vim
I have
set background=dark
colorscheme palenight
if (has("termguicolors"))
set termguicolors
endif
And have ran :PlugInstall
which ran fine, but I get the error E185: Cannot find color scheme 'palenight'
when opening vim.
Apologies if this is not an issue of palenight but of vim itself, or something like that. I don't know much about syntax highlighting internals.
I noticed that the optional chaining of TypeScript breaks the syntax highlighting:
I'm on neovim 0.4.3:
nvim --version
NVIM v0.4.3
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/build/config -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/src -I/usr/local/include -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/deps-build/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/build/src/nvim/auto -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/build/include
Übersetzt von [email protected]
Features: +acl +iconv +tui
See ":help feature-compile"
System-vimrc-Datei: "$VIM/sysinit.vim"
Voreinstellung für $VIM: "/usr/local/Cellar/neovim/0.4.3/share/nvim"
Run :checkhealth for more info
Please let me know if you need more info or if I can help with this in any way.
A simple color palette is all I want so I can use this theme in my terminal and other programs
Recent versions of Vim and Neovim ship termdebug, a plugin for integrating gdb. The default colors look off. The sign column contains breakpoints, while the blue line shows where the program is paused:
Termdebug has only two highlighting groups:
call s:h("debugBreakpoint", { "fg": s:blue_purple })
call s:h("debugPC", { "bg": s:blue_purple, "fg": s:black })
Hello,
I tried using the airline theme without having the g:palenight_terminal_italics
activated and Airline tells me there is an error in the theme. I unfortunately do not know enough to understand how to fix the code, but I figured I would notify you of the issue.
If it can't be fixed, it would be nice to at least warn the users; it took me a while to realize it was the italics not being activated that tripped up Airline.
I only just realized that my background didn't have the colors it should have anymore and found my solution in #34 (as I had the same issue), but before that I realized that it also worked when I switch to another colorscheme first (in my case onedark.nvim), which at first made me believe that it had something to do with my config or whatever, until I finally found the issue.
Anyways, after knowing the solution, I checked the termguicolors
option before and after activating the OneDark theme, and it seems to automatically enable termguicolors
. Since this issue seems to be a frequent one (I already mentioned #34 and assume #35 was the same issue), maybe it would be a good idea to also set termguicolors
automatically when palenight is loaded (if available)?
Sadly, I don't know how to do it, but it seems to be possible.
hi
how can I active palenight colorscheme for vim-airline
Hi, i was trying to replicate the same colors of the Code version when the pop menu for completion appers. Code version looks like this:
The left side show the new version, and the right version show the actual version of palenight.vim
I was planning to do a pull request but I only use the white color of this plugin and I added 3 colors that are not on the variables (some purple variations), so not sure what you think about to add new variable colors or only use the hexadecimal values.
This is the code that I use in order to achieve the left side.
hi Pmenu guibg=#212333
hi PmenuSel guibg=#6A3EB5 guifg=#bfc7d5
hi PmenuSbar guibg=#352B59 guifg=#352B59
hi PmenuThumb guibg=#352B59 guifg=#352B59
I'm not sure what I did wrong but here's my full vim config, I have use :PlugInstall to no avail
Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
" Make sure you use single quotes
" Theme; fetches https://github.com/drewtempelmeyer/palenight.vim
Plug 'drewtempelmeyer/palenight.vim'
let g:lightline = { 'colorscheme': 'palenight' }
let g:airline_theme = "palenight"
if (has("nvim"))
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
if (has("termguicolors"))
set termguicolors
endif
set background=dark
colorscheme palenight
Hi there, great theme!
I was using your theme on one of my project and I figured out I would use it on my own installation.
I already had a ~/.vimrc
file with all my preferences. But installing with the native Vim system is conflicting with the current userland settings. A bunch of errors appear like:
$ vim something.txt
...
line 481:
E121: Undefined variable: s:green
E116: Invalid arguments for function <SNR>13_h
...
Here is the following installation process:
$ git clone https://github.com/drewtempelmeyer/palenight.vim ~/.vim/pack/bundle/start/
What has solved my issue was to move my current preferences to make it look like it is also a Vim plugin like so:
$ mkdir -p ~/.vim/pack/bundle/start/default/plugin
$ mv ~/.vimrc ~/.vim/pack/bundle/start/default/plugin/default.vim
First line is saying create a directory default
with its subdirectory plugin
inside ~/.vim/pack/bundle/start
(Where all Vim 8+ plugins live). The second line is saying Move and rename my file ~/.vimrc
to the folder I just created.
Maybe this has nothing to do with your plugin but I wanted to open this issue to first help other people encountering this issue and second maybe see if there is something we can do to solve this issue using the native Vim plugin installation system.
Thanks!
palenight.vim/colors/palenight.vim
Line 16 in 5552a63
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.