tomasr / molokai Goto Github PK
View Code? Open in Web Editor NEWMolokai color scheme for Vim
License: Other
Molokai color scheme for Vim
License: Other
In python 3.6, a new syntax added to support template like fstrings:
>>> a = 123
>>> print(f"my num: {a}")
<<< my num: 123
Thanks!
Vim of new version bring us CursorLineNr
for highlight cursor line' line number.
Maybe molokai could be modified to support it :D
A screenshot would be great :)
The ColorColumn highlight doesn't integrate well with the rest of the theme. I don't know what color you want to use (and I don't trust me for choosing an appropriate one).
I think Molokai would be better with an integrated ColorColumn.
Maybe something is wrong with my vim config but it would appear that HTML highlighting with this scheme doesn't color any of the html tags. On my screen only attributes are highlighted.
Possibly related to #60
The error happens when trying to source the .vimrc from vim itself with this command:
:source $MYVIMRC
Can you help?
https://github.com/tomasr/molokai/blob/master/README.md
In the links in the README with previews, specifically
Gray Background
Molokai Original
Are broken. Would suggest uploading the images on github (either in an MR or gist, you can paste images and get a global url) and using those links.
@tomasr
Is there one somewhere? I can't seem to find one for Molokai. :/
I can find one for Monokai, but not for Molokai.
No cursor is visible on Mac 10.11.5 (El Capitan) that makes navigation impossible.
Cursor is only visible when it hits a bracket.
Everything looks perfect with this scheme by default, except for the colouring of popups. Here it looks like the colours are inverted. If this is not intentional, then simply use the same colours as the statusline:
--- a/colors/molokai.vim
+++ b/colors/molokai.vim
@@ -176,8 +176,8 @@ if &t_Co > 255
hi Operator ctermfg=161
" complete menu
- hi Pmenu ctermfg=81 ctermbg=16
- hi PmenuSel ctermbg=244
+ hi Pmenu ctermfg=253 ctermbg=238
+ hi PmenuSel ctermfg=81 ctermbg=16
hi PmenuSbar ctermbg=232
hi PmenuThumb ctermfg=81
I'm used to viewing diffs of files where added lines are green, and removed lines are red. This is the output of git diff
:
When viewing such diffs with the Molokai theme, added lines are orange, while removed lines are cyan. This is the output of vim temp.diff
:
I've been trying to mess around with the Molokai settings to get the output to look more like what I have for git diff
, especially in regard to the green/red colors of added/removed lines. In particular, I tried setting the following to Red
:
Original
hi DiffDelete guifg=#960050 guibg=#1E0010
Modified
hi DiffDelete guifg=Red guibg=#1E0010
Original
hi DiffDelete ctermfg=162 ctermbg=53
Modified
hi DiffDelete ctermfg=Red ctermbg=53
Unfortunately, the changes didn't seem to do anything. Is there anything I can do to change the diff colors to be what I want?
In the OS X terminal using MacVim, :verbose set background?
returns this:
background=light
Last set from ~/.vim/bundle/molokai/colors/molokai.vim
Adding set background=dark
to the end of molokai.vim fixes the issue. It seems stupid, since that's already at the top of the file. Any ideas about the cause? The issue doesn't occur with non-terminal MacVim.
Details:
VIM - Vi IMproved 7.4a BETA (2013 Jul 6, compiled Jul 21 2013 16:12:00)
MacOS X (unix) version
Included patches: 1-35
Compiled by Homebrew
Huge version with MacVim GUI.
Hi, bit of a vim noob here. I couldn't get your theme to work, but I could get a similar theme to work "monokai"
I found out the solution was to add
set t_Co=256
This commit to monokai says that explicitly sets the colors to 256. I don't know if that would mess with vim desktop users or not, but it made it work for me and I do love the theme.
I'm running vim 7.4.52 in the terminal on Ubuntu 14.04.
Essentially lifepillar/vim-solarized8#11
So use
hi MatchParen ctermfg=208 ctermbg=233 cterm=bold
" Original:
"hi MatchParen ctermfg=233 ctermbg=208 cterm=bold
The background in terminal vim is completely black and not a light grey.
I have been using this for a long time, but support for C++ 14 from this repo may be included for better syntax highlighting !
http://github.com/octol/vim-cpp-enhanced-highlight
This repo contains additional syntax highlighting for C++11/14/17 . Compared to the standard syntax highlighting for C++ it adds highlighting of (user defined) functions and the containers and types in the standard library / boost.
It makes syntax highlighting better !
The gui colors of Search and Cursor are too similar:
hi Cursor guifg=#000000 guibg=#F8F8F0
hi iCursor guifg=#000000 guibg=#F8F8F0
hi Search guifg=#000000 guibg=#FFE792
So that when multiple keywords are highlighted and use n
to jump among them, it's not clear where the cursor is.
Hi,
I am just wondering, does this colorscheme support truecolor mode in the terminal (:set termguicolors
in Vim)?
Thanks.
For python's for statements where it is supposed to be blue, mine are never blue.
For C++, the blue is supposed to be at the standard library functions, I don't see it. I only seem to have red, green, yellow and purple.
Am I supposed to define this somewhere?
Hi, first: thanks for that pretty colorscheme
I only have a simple problem... When I move cursor, the "block indicator" that highlights brackets is orange, as the editor cursor.
Moving cursor is transparent and my eyes are drawn to the block indicator.
Is there any way to change color or set transparent the "block indicator" (I don't find the good name) ?
A good configuration could be:
Hi, I just adopted the Arch Linux (AUR) package for vim-molokai, but I can't find any license information anywhere. What license is this colorscheme released under? BSD? MIT? Public Domain? Postcardware? :)
1 diff --git a/colors/molokai.vim b/colors/molokai.vim
2 index 1ac92ee..d02b6d5 100644
3 --- a/colors/molokai.vim
4 +++ b/colors/molokai.vim
5 @@ -172,7 +172,7 @@ if &t_Co > 255
6 hi Ignore ctermfg=244 ctermbg=232
7 hi IncSearch ctermfg=193 ctermbg=16
8
9 - hi keyword ctermfg=161 cterm=bold
10 + hi Keyword ctermfg=161 cterm=bold
11 hi Label ctermfg=229 cterm=none
12 hi Macro ctermfg=193
13 hi SpecialKey ctermfg=81
my .vimrc:
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'L9'
Plugin 'fatih/vim-go'
Bundle 'scrooloose/nerdtree'
Plugin 'Valloric/YouCompleteMe'
Plugin 'vim-scripts/taglist.vim'
Plugin 'tomasr/molokai'
call vundle#end()
let g:molokai_original = 1
let g:rehash256 = 1
set sw=4
" colorscheme molokai
I build vim from source and run it in docker... On my mac it work correctly
In my ~/.vimrc there is a setting to highlight extra whitespace in the line ends. It fails to highlight with the molokai scheme but shows the spaces fine in other themes.
My settings:
" Make trailing whitespace annoyingly highlighted.
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s+$/
autocmd BufWinEnter * match ExtraWhitespace /\s+$/
autocmd InsertEnter * match ExtraWhitespace /\s+%#@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s+$/
autocmd BufWinLeave * call clearmatches()
Is there a way to make the background transparent (use the terminal's background)?
set transparency=15 "only works in MacVim
Love the theme and have used it for a long time. The popup menu colors seem off to me in the 256 color terminal mode.
I suggest the following:
hi Pmenu ctermfg=208 ctermbg=234
hi PmenuSel ctermfg=208 ctermbg=234
hi PmenuSbar ctermbg=234
hi PmenuThumb ctermfg=208
When using 256 color terminal, 'set bg?' shows background has been reset to light due to a bug in vim. Setting background to dark again after the highlighting has been changed fixes this. See https://github.com/KevinGoodsell/vim-color-check/blob/master/color-scheme-recommendations.txt
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.