tweekmonster / deoplete-clang2

MIT License
90 stars 17 forks source link

cannot use close brace key in c++ file #9

Closed wsbky closed 7 years ago

wsbky commented 7 years ago

I cannnot use close brace key in c++ file. When I push it, the deoplete-clang2 raises errors.

please refer

Screen Shot

tweekmonster commented 7 years ago

@wsbky Have you updated recently? This should be resolved in #3.

If it's still a problem, can you show me the value of b:clang2_orig_maps?

wsbky commented 7 years ago

I can update it with the :call dein#update command, right?

I didn't set the b:clang2_orig_maps. Where can I check that value?

tweekmonster commented 7 years ago

I can update it with the :call dein#update command, right?

I'm not sure.

I didn't set the b:clang2_orig_maps. Where can I check that value?

In the c++ buffer, run :echo b:clang2_orig_maps

wsbky commented 7 years ago
{'s': ['', {'expr': 1, 'rhs': 'neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)": "\<TAB>"'}], 'i': ['', {'expr': 1, 'rhs': 'pumvisible() ? "\<C-n>" : neosnippet#expandable_or_jum
'}]}e() ?    "\<Plug>(neosnippet_expand_or_jump)" : "\<tab>"'}], ']': [']'], 'n': ['', {'expr': 0, 'rhs': ':call dein#install()
tweekmonster commented 7 years ago

I'm not sure if that came out right. Could you do this in a c++ buffer instead:

:put=strtrans(string(b:clang2_orig_maps))

That will make it easier to copy and paste here.

wsbky commented 7 years ago
{'s': ['', {'expr': 1, 'rhs': 'neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)": "\<TAB>"'}], 'i': ['', {'expr': 1, 'rhs': 'neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)": pumvisible() ? "\<C-n>" : "\<TAB>"'}], ']': [']'], 'n': ['', {'expr': 0, 'rhs': ':call dein#install()^M'}]}
tweekmonster commented 7 years ago

Thanks, I know what the problem is now and will look into it.

wsbky commented 7 years ago

Thanks!