sublimelsp / LSP-vue

Vue support for Sublime's LSP plugin
MIT License
29 stars 3 forks source link

[Feature Required] support settings in sublime-project file #115

Closed halfmoonvic closed 3 years ago

halfmoonvic commented 3 years ago

I want to use lsp-vue in the vue2 project, and use lsp-volar in the vue3 project. the "enabled" option can be set in the xxx.sublime-project will be nice, like below

"settings": {
    "lsp_vue": {
        "enabled": true
    },
    "lsp_volar": {
        "enabled": false
    },
}
rchl commented 3 years ago
    "settings":
    {
        "LSP":
        {
            "LSP-vue": {
                "enabled": true,
            },
            "LSP-volar":
            {
                "enabled": false,
            },
        },
    },

Optionally install LSP-json to get autocompletion and validation in settings.

rwols commented 3 years ago

See also https://lsp.sublimetext.io/guides/client_configuration/#per-project-overrides