Skip to content

Sample airline configuration issue #2

@benjamin-bergia

Description

@benjamin-bergia

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions