mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 23:50:04 +08:00
Added ada_language_server to lsp layer (#3707)
This commit is contained in:
parent
366b1ce684
commit
723df1c4cb
@ -109,6 +109,7 @@ endfunction
|
||||
let s:enabled_fts = []
|
||||
|
||||
let s:lsp_servers = {
|
||||
\ 'ada' : ['ada_language_server'],
|
||||
\ 'c' : ['clangd'],
|
||||
\ 'cpp' : ['clangd'],
|
||||
\ 'css' : ['css-languageserver', '--stdio'],
|
||||
|
@ -129,6 +129,7 @@ gem install solargraph
|
||||
|
||||
| 语言 | 命令 |
|
||||
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `ada` | `['ada_language_server']` |
|
||||
| `c` | `['clangd']` |
|
||||
| `cpp` | `['clangd']` |
|
||||
| `crystal` | `['scry']` |
|
||||
|
@ -72,6 +72,12 @@ To use this configuration layer, update custom configuration file with:
|
||||
|
||||
### Install language server
|
||||
|
||||
Ada
|
||||
|
||||
After installing AdaCore's GNAT Studio, add the directory containing ada_language_server to your PATH variable.
|
||||
For instance, if the GNAT Studio 2020 was installed, ada_language_server is present by default in
|
||||
`/opt/GNAT/2020/libexec/gnatstudio/als`.
|
||||
|
||||
**Bash**
|
||||
|
||||
```sh
|
||||
@ -149,6 +155,7 @@ default language server commands:
|
||||
|
||||
| language | server command |
|
||||
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `ada` | `['ada_language_server']` |
|
||||
| `c` | `['clangd']` |
|
||||
| `cpp` | `['clangd']` |
|
||||
| `crystal` | `['scry']` |
|
||||
|
Loading…
Reference in New Issue
Block a user