Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal character with status line settings #3051

Closed
Amparose opened this issue Apr 25, 2021 · 1 comment
Closed

Illegal character with status line settings #3051

Amparose opened this issue Apr 25, 2021 · 1 comment

Comments

@Amparose
Copy link

Result from CocInfo

versions

vim version: VIM - Vi IMproved 8.2 8021972
node version: v13.5.0
coc.nvim version: 0.0.80-bf98939a8c
coc.nvim directory: /Users/user/.vim/plugged/coc.nvim
term: dumb
platform: darwin

Log of coc.nvim

2021-04-25T17:32:39.467 INFO (pid:14781) [plugin] - coc.nvim 0.0.80-bf98939a8c initialized with node: v13.5.0 after 204ms
2021-04-25T17:32:39.594 INFO (pid:14781) [attach] - receive notification: highlight []
2021-04-25T17:32:40.618 INFO (pid:14781) [attach] - receive notification: showInfo []

Describe the bug

Illegal character in status line setting. Using Airline.

Reproduce the bug

Using the recommended settings or the status line setting from help:

set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}
OR:
set statusline^=%{coc#status()}

When starting vim I get this error message:

E539: Illegal character <!>: statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}
@chemzqm
Copy link
Member

chemzqm commented May 10, 2021

If not fixed on latest release, compile your vim with multi-byte support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants