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 per-file LSP activation rules allowpaths, blockpaths #1380

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Oct 14, 2022

  1. Add per-file LSP activation rules allowpaths, blockpaths

    `allowpaths` and `blockpaths` are lists of regular expressions matched
    with the full path of the active file.  LSP is enabled if it matches
    any pattern in the `allowpaths` list or when `allowpaths` is not present
    in the server_info dictionary.  LSP is disabled if any of the `blockpaths`
    patterns matches the current buffer.  The `blockpaths` rule has priority
    when both `allowpaths` and `blockpaths` match.
    
    The `allowpaths` and `blockpaths` are evaluated only if the LSP is
    enabled by the `allowlist`, `blocklist` rules for buffer filetypes.
    pavoljuhas committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    53081e2 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. Allow all-match * in allowpaths, blockpaths

    A single `*` pattern in `allowpaths` or `blockpaths` matches everything.
    All other patterns are evaluated and matched as regular expressions.
    pavoljuhas committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    e9dcdd5 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Configuration menu
    Copy the full SHA
    d2ed13b View commit details
    Browse the repository at this point in the history