diff --git a/docs/src/customization.md b/docs/src/customization.md index a789565fc..0d5d513a2 100644 --- a/docs/src/customization.md +++ b/docs/src/customization.md @@ -103,7 +103,7 @@ If you use a custom color scheme, select `UI: Customize Color Scheme` from the C Furthermore, it is possible to adjust the colors for semantic tokens by applying a foreground color to the individual token types: -| scope | [Semantic Token Type](https://microsoft.github.io/language-server-protocol/specifications/specification-3-17/#semanticTokenTypes) | +| scope | [Semantic Token Type](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#semanticTokenTypes) | | ----- | ------------------ | | `meta.semantic-token.namespace` | namespace | | `meta.semantic-token.type` | type | @@ -133,7 +133,7 @@ By default, LSP will assign scopes based on the [scope naming guideline](https:/ Language servers can also add their custom token types, which are not defined in the protocol. An "LSP-\*" helper package (or user) can provide a `semantic_tokens` mapping in the server configuration for such additional token types, or to override the scopes used for the predefined tokens from the table above. The keys of this mapping should be the token types and values should be the corresponding scopes. -Semantic tokens with exactly one [token modifier](https://microsoft.github.io/language-server-protocol/specifications/specification-3-17/#semanticTokenModifiers) can be addressed by appending the modifier after a dot. +Semantic tokens with exactly one [token modifier](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#semanticTokenModifiers) can be addressed by appending the modifier after a dot. ```json { diff --git a/docs/src/language_servers.md b/docs/src/language_servers.md index dc6f8dc9c..2834bbbcf 100644 --- a/docs/src/language_servers.md +++ b/docs/src/language_servers.md @@ -144,8 +144,8 @@ Follow installation instructions on [LSP-elm](https://github.com/sublimelsp/LSP- ## Fortran -1. Install the [ Fortran](https://packagecontrol.io/packages/Fortran) package from Package Control for syntax highlighting. -2. Install the [Fortran Language Server](https://github.com/hansec/fortran-language-server#installation). +1. Install the [ModernFortran](https://packagecontrol.io/packages/ModernFortran) or the [Fortran](https://packagecontrol.io/packages/Fortran) package from Package Control for syntax highlighting. +2. Install the [fortls](https://fortls.fortran-lang.org/quickstart.html#download) language server. 3. Open `Preferences > Package Settings > LSP > Settings` and add the `"fortls"` client configuration to the `"clients"`: ```json @@ -153,15 +153,14 @@ Follow installation instructions on [LSP-elm](https://github.com/sublimelsp/LSP- "clients": { "fortls": { "enabled": true, - "command": ["fortls"], - "selector": "source.modern-fortran | source.fixedform-fortran" + "command": ["fortls", "--notify_init"], + "selector": "source.fortran | source.modern-fortran | source.fixedform-fortran" } } } ``` -!!! info "See available [configuration options](https://github.com/hansec/fortran-language-server#language-server-settings)." - For example set `"command": ["fortls", "--lowercase_intrinsics"]` to use lowercase for autocomplete suggestions. +!!! info "See available [configuration options](https://fortls.fortran-lang.org/options.html)." ## Go