atom-community / atom-languageclient

Provide integration support for adding Language Server Protocol servers to Atom.
https://www.npmjs.com/package/atom-languageclient
MIT License
45 stars 13 forks source link

fix: set workspaceFolders to null when there is no workspace #106

Closed aminya closed 3 years ago

aminya commented 3 years ago

Based on https://microsoft.github.io/language-server-protocol/specifications/specification-current/#initialize


    /**
     * The workspace folders configured in the client when the server starts.
     * This property is only available if the client supports workspace folders.
     * It can be `null` if the client supports workspace folders but none are
     * configured.
     *
     * @since 3.6.0
     */
    workspaceFolders?: WorkspaceFolder[] | null;

https://github.com/vuejs/vetur/issues/2561#issuecomment-743719403

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 1.0.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: