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

lsp-inline-completion: cleanup autoload to make it loads correctly #4633

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

kiennq
Copy link
Member

@kiennq kiennq commented Dec 1, 2024

Make lsp-inline-completion-enable be autoloaded so it will be evaluated correctly in the add-hook autoload.
Also, do a few other cleanups:

  • Add lsp-completion-enable as autoload and remove its definition from lsp-mode.el
  • Remove autoload from lsp-inline-completion-active-map and lsp-inline-completion-overlay-face. They can be loaded with require lsp-inline-completion
  • Move lsp-inline-completion--with-undo-amalgamate to lsp-with-undo-amalgamate.

@kiennq kiennq merged commit c3be413 into emacs-lsp:master Dec 2, 2024
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants