jonathanfilip / lucius Goto Github PK
View Code? Open in Web Editor NEWLucius color scheme
Lucius color scheme
Can you add this to base16's themes? https://github.com/chriskempson/base16 / https://github.com/chriskempson/base16-builder
or transparently like bg color on my console?
Hi Jonathan.
Thank you for the lucius!
After version 8.0 i have a small problem (E706):
"lucius.vim" 749L, 28431C
Обнаружена ошибка при обработке /home/lyokha/.vim/colors/lucius.vim:
строка 255:
E706: Variable type mismatch for: item
строка 636:
E706: Variable type mismatch for: item
строка 641:
E706: Variable type mismatch for: item
строка 647:
E706: Variable type mismatch for: item
строка 655:
E706: Variable type mismatch for: item
строка 666:
E706: Variable type mismatch for: item
строка 670:
E706: Variable type mismatch for: item
строка 682:
E706: Variable type mismatch for: item
Press ENTER or type command to continue
(there is some russian in the message, it says There is an error in ... )
After some investigations i found that i use "for item" in global area in some of my script, and lucius now does same! ":help for" says that it should give E706. If "for item" had been defined in a function scope i would not notice an error. The very simple and correct solution is to use "for s:item" in global area (this is actual for my script too!).
Here is a very simple patch (just replacing all item with s:item) that fixes the problem for me:
--- lucius.vim 2012-08-24 11:51:26.234581954 +0400
+++ lucius.vim.new 2012-08-24 13:58:55.358014971 +0400
@@ -252,8 +252,8 @@
\ ]
" Clear default settings
-for item in s:normal_items + s:bold_items + s:underline_items + s:undercurl_items
- exec "hi " . item . " guifg=NONE guibg=NONE gui=none"
+for s:item in s:normal_items + s:bold_items + s:underline_items + s:undercurl_items
+ exec "hi " . s:item . " guifg=NONE guibg=NONE gui=none"
\ . " ctermfg=NONE ctermbg=NONE cterm=none term=none"
endfor
@@ -633,27 +633,27 @@
" Text Emphasis:
" ============================================================================
-for item in s:normal_items
- exec "hi " . item . " gui=none cterm=none term=none"
+for s:item in s:normal_items
+ exec "hi " . s:item . " gui=none cterm=none term=none"
endfor
if s:use_bold == 1
- for item in s:bold_items
- exec "hi " . item . " gui=bold cterm=bold term=none"
+ for s:item in s:bold_items
+ exec "hi " . s:item . " gui=bold cterm=bold term=none"
endfor
endif
if s:use_underline == 1
- for item in s:underline_items
- exec "hi " . item . " gui=underline cterm=underline term=none"
+ for s:item in s:underline_items
+ exec "hi " . s:item . " gui=underline cterm=underline term=none"
endfor
- for item in s:undercurl_items
- exec "hi " . item . " cterm=underline"
+ for s:item in s:undercurl_items
+ exec "hi " . s:item . " cterm=underline"
endfor
endif
-for item in s:undercurl_items
- exec "hi " . item . " gui=undercurl term=none"
+for s:item in s:undercurl_items
+ exec "hi " . s:item . " gui=undercurl term=none"
endfor
@@ -663,12 +663,12 @@
call s:AddCterm("Normal")
-for item in s:normal_items + s:bold_items + s:underline_items
- call s:AddCterm(item)
+for s:item in s:normal_items + s:bold_items + s:underline_items
+ call s:AddCterm(s:item)
endfor
-for item in s:undercurl_items
- call s:AddSpCterm(item)
+for s:item in s:undercurl_items
+ call s:AddSpCterm(s:item)
endfor
@@ -679,12 +679,12 @@
let s:alternative_bold_items = ["Identifier", "PreProc", "Statement",
\ "Special", "Constant", "Type"]
-for item in s:alternative_bold_items
- exec "let s:temp_gui_fg = synIDattr(synIDtrans(hlID('" . item .
+for s:item in s:alternative_bold_items
+ exec "let s:temp_gui_fg = synIDattr(synIDtrans(hlID('" . s:item .
\ "')), 'fg', 'gui')"
- exec "let s:temp_cterm_fg = synIDattr(synIDtrans(hlID('" . item .
+ exec "let s:temp_cterm_fg = synIDattr(synIDtrans(hlID('" . s:item .
\ "')), 'fg', 'cterm')"
- exec "hi B" . item . " guifg=" . s:temp_gui_fg . " ctermfg=" .
+ exec "hi B" . s:item . " guifg=" . s:temp_gui_fg . " ctermfg=" .
\ s:temp_cterm_fg . " gui=bold cterm=bold term=none"
endfor
Thank you, Alexey.
Here's an export of my current profile (just LuciusWhite), but it contains extra non-color settings. All I did was use the eye dropper to copy the iTerm color palette.
Hi! Lucius is my favorite color scheme. I always come back to it. I have it on almost everything use except for mutt. I was wondering if you were working on a mutt color scheme for Lucius, and if not I was hoping to contribute one to this repo.
Would be nice to have some screenshots in the README.
Hi. I'm considering using this coloscheme for my terminal, but noticed that both normal and bright colors are the same (i.e. 0 and 8, 1 and 9).
AFAIK this could arise some issues if some app relies on the difference between each pair. See gruntjs/grunt#181 and altercation/solarized#220
Would like to migrate lucius to other text editors, but I need the exact color palette to do so. Thank you very much:)
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.