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

Add custom desktop minor mode handler for lsp-deferred #3975

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 26, 2023

  1. Add custom desktop minor mode handler for lsp-deferred

    Use lsp-deferred instead of lsp-mode even in the case that lsp-mode
    appears in the list of minor modes for a file in a user's desktop file
    by adding the buffer-local variable lsp--buffer-deferred (which tracks
    whether a given buffer was started using lsp-deferred) to the variable
    desktop-locals-to-save so that it is persisted in a user's desktop
    file, and adding a custom handler to desktop-minor-mode-handlers which
    uses this persisted variable to determine whether to use lsp-deferred
    of lsp-mode when re-opening a file from the desktop file.
    LaurenceWarne committed Feb 26, 2023
    Configuration menu
    Copy the full SHA
    d2d58d8 View commit details
    Browse the repository at this point in the history