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

Autoload/Lazyload to suppress LSP warning - the function ‘apheleia-global-mode’ might not be defined at runtime. #346

Open
MichaelRWolf opened this issue Jan 24, 2025 · 0 comments

Comments

@MichaelRWolf
Copy link

This code

(use-package apheleia
  :ensure t
  :demand t
  :config
  (apheleia-global-mode)
)

Gives this warning from eslint

the function ‘apheleia-global-mode’ might not be defined at runtime.

I was unable to find a sweet spot between lazy-loading and not-defined.

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

No branches or pull requests

1 participant