Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Funcref cannot be assigned to g:foldpeek#head #17

Open
aileot opened this issue Oct 16, 2021 · 0 comments
Open

Funcref cannot be assigned to g:foldpeek#head #17

aileot opened this issue Oct 16, 2021 · 0 comments

Comments

@aileot
Copy link
Owner

aileot commented Oct 16, 2021

let g:foldpeek#head = funcref('<some-function>')

The script above throws E704: Funcref variable name must start with a capital: g:foldpeek#head. This is a problem on VimScript specifications so that it's impossible to deal with in the current option format of this plugin.

Rename all the variables like g:foldpeek#foo#bar_baz to g:foldpeek.foo.bar_baz.

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

No branches or pull requests

1 participant