ninja / sky

Color scheme for vim.
http://www.vim.org/scripts/script.php?script_id=5327
Apache License 2.0
15 stars 3 forks source link

Sample airline configuration issue #2

Open benjamin-bergia opened 8 years ago

benjamin-bergia commented 8 years ago

First of all I really like this color scheme, thanks !

I am using your airline configuration sample, but apparently the following like causes an error:

let g:airline_mode_map = {'__': '-', 'n': 'N', 'i': 'I', 'R': 'R', 'c': 'C', 'v': 'V', 'V': 'V', '': 'V', 's': 'S', 'S': 'S', '': 'S'}
Error detected while processing /home/user/.config/nvim/init.vim:
line  113:
E713: Cannot use empty key for Dictionary
E15: Invalid expression: {'__': '-', 'n': 'N', 'i': 'I', 'R': 'R', 'c': 'C', 'v': 'V', 'V': 'V', '': 'V', 's': 'S', 'S': 'S', '': 'S'}
Press ENTER or type command to continue

I removed '': 'V' and '': 'S' which does the trick but since I am not very clear on what this line is doing I prefer to report it. Hope it helps.

uipoet commented 8 years ago

@benjamin-bergia you are most welcome. Glad this scheme is working for others.

The airline mode map line is showing a single capital letter in place of the default full words for which vim mode is active. I'll take a second look to see why it may not work in your case, though the line is just grabbed from airline's documentation.