jonathanfilip / vim-lucius Goto Github PK
View Code? Open in Web Editor NEWLucius color scheme for vim
Lucius color scheme for vim
I'm trying to use Lucius on a Linux session that I'm SSH-ing into via putty from Windows. Putty is using xterm-256color
and "Allow terminal to use xterm 256-colour mode" is set. My .vimrc file looks like this:
set number
set t_Co=256
colorscheme lucius
LuciusDark
Version 6.1.0 of Lucius looks like this for me:
Version 7.0.0 looks like this:
vim-lucius 7.1.1 works fine for me, so this is not a huge deal for me.
I'm just filing this bug report in case you are interested in maintaining backwards-compatibility and making other N900 users' lives easier.
vim-lucius 8.0.0 (c58456a) produces these errors:
Error detected while processing /opt/maemo/usr/share/vim/vim72/colors/lucius.vim:
line 92:
E15: Invalid expression: = &background
E15: Invalid expression: = &background
line 96:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "dark_dim"
line 100:
E121: Undefined variable: s:style
E15: Invalid expression: "set background=" . s:style
line 115:
E121: Undefined variable: g:lucius_style
E15: Invalid expression: g:lucius_style == "dark_dim"
line 270:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line 297:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line 318:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line 379:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line 430:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line 465:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line 554:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line 581:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
Neither it, nor newer versions of vim-lucius work properly in this old vim:
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jan 3 2010 21:22:27)
Compiled by root@wml0226
Normal version without GUI. Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv -cscope +cursorshape +dialog_con +diff +digraphs -dnd -ebcdic
-emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path
+float +folding -footer +fork() -gettext -hangul_input +iconv +insert_expand
+jumplist -keymap -langmap +libcall +linebreak +lispindent +listcmds +localmap
+menu +mksession +modify_fname +mouse -mouseshape -mouse_dec -mouse_gpm
-mouse_jsbterm -mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte
+multi_lang -mzscheme -netbeans_intg -osfiletype +path_extra -perl +postscript
+printer -profile -python +quickfix +reltime -rightleft -ruby +scrollbind
-signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
-toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset -xim -xsmp
+xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/share/vim"
Compilation:
arm-linux-gnueabi-gcc -c -I. -Iproto -DHAVE_CONFIG_H -Wall -g -O2
Linking: arm-linux-gnueabi-gcc -Wl,-z,defs -L/usr/local/lib -o vim -lXt -lm -lncurses
By the way, thanks so much. I LOVE this theme. [-:
I only see 'dark' but in your example have shows 'black'.
how to set 'Black' scheme?
Hi,
I installed your color schemes via vundle. colo lucius does work. Adding LuciusBlack afterwards in vimrc gives an error however. Could you maybe paste the relevant that I need to paste in order to activate the light version?
I currently have (not working, gives E492: not an editor command LuciusBlack):
if has("gui_running")
colorscheme lucius "couldn't figure out how to set light version
LuciusBlack
else
colorscheme elflord
endif
Hi,
I am using LuciusDarkHighContrast (also tried LuciusDark). However the colour of cursor is not the same as in screenshots here http://www.vim.org/scripts/script.php?script_id=2536.
Here it is how it looks for me:
https://plus.google.com/photos/106209440702116249601/albums/5908209762065112817?authkey=CMapwJTIkceUUQ
As you may notice it is not easy to find where the cursor is located. What could be the reason for this? Or how could I fix it?
Looking forward to hearing from you.
Thank you!
Max
Add colors for extra groups as listed in :help group-name
*Comment any comment
*Constant any constant
String a string constant: "this is a string"
Character a character constant: 'c', '\n'
Number a number constant: 234, 0xff
Boolean a boolean constant: TRUE, false
Float a floating point constant: 2.3e10
*Identifier any variable name
Function function name (also: methods for classes)
*Statement any statement
Conditional if, then, else, endif, switch, etc.
Repeat for, do, while, etc.
Label case, default, etc.
Operator "sizeof", "+", "*", etc.
Keyword any other keyword
Exception try, catch, throw
*PreProc generic Preprocessor
Include preprocessor #include
Define preprocessor #define
Macro same as Define
PreCondit preprocessor #if, #else, #endif, etc.
*Type int, long, char, etc.
StorageClass static, register, volatile, etc.
Structure struct, union, enum, etc.
Typedef A typedef
*Special any special symbol
SpecialChar special character in a constant
Tag you can use CTRL-] on this
Delimiter character that needs attention
SpecialComment special things inside a comment
Debug debugging statements
*Underlined text that stands out, HTML links
*Ignore left blank, hidden |hl-Ignore|
*Error any erroneous construct
*Todo anything that needs extra attention; mostly the
keywords TODO FIXME and XXX
Hello! I'm trying to use this under cygwin/vim.
I seem to have 256 colors, as the XtermColorTable vim plugin shows 256 different colors. Also, tput colors returns 256.
Even so, the colors look "grey" when editing files. Like so:
This could also be user error... :(
Can this color scheme be used with cygwin/vim? :)
PS I am trying to use LuciusBlack, specifically and specified "colorscheme lucius" and "LuciusBlack" in the screenshot.
I am using the vim-lucius
colorscheme on two of my machines. One is a regular linux box and the other I SSH into a VM with PuTTY. The colorscheme looks great on my linux box but the colors seem ever so slightly off on my PuTTY window.
So this is just a question: does anybody else notice the slight color differences. For instance, the function
has a very pronounced blue on my linux machine but you almost have to squint to see it in PuTTY.
I am using the same exact .tmux.conf
and .vimrc
. I also have the same color palette applied to both terminals, although, that shouldn't make a difference.
Another strange thing is that in my .vimrc
I have the lines:
syntax on
color lucius
Yet, once I'm inside vim and change to LuciusLight my GitGutter changes. I cannot seem to get back to my original colors; even if I cycle all the options.
I'm sure this is a PuTTY thing but thought I'd ask.
If a function or variable is defined twice in a project, :cs find g symbol
would show a list in vim, let the user choose which is the one they want to navigate to. lucius
did not define colors for that window, here is the screen shot
On the other hand, solarize
molokai
did color the multiple cscope window.
Is it possible to add some colors here?
When using the built-in terminal mode, Vim sets a default set of ANSI terminal colors. It's possible to override these colors with the g:terminal_ansi_colors
variable in vanilla Vim, and the g:terminal_color_N
variables in Neovim. Would it be possible to update the Lucius color schemes to set these colors? It makes it much easier to use terminal windows.
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.