diff options
| author | github-actions <github-actions@github.com> | 2022-03-01 19:00:01 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2022-03-01 19:00:01 +0000 |
| commit | cdc2ec53e028d32f06c51ef8b2837ebb8460ef45 (patch) | |
| tree | 140d6e28879f1c820eba580ddfea425b6bde0389 /doc | |
| parent | feat: add odin language server support (#1747) (diff) | |
| download | nvim-lspconfig-cdc2ec53e028d32f06c51ef8b2837ebb8460ef45.tar nvim-lspconfig-cdc2ec53e028d32f06c51ef8b2837ebb8460ef45.tar.gz nvim-lspconfig-cdc2ec53e028d32f06c51ef8b2837ebb8460ef45.tar.bz2 nvim-lspconfig-cdc2ec53e028d32f06c51ef8b2837ebb8460ef45.tar.lz nvim-lspconfig-cdc2ec53e028d32f06c51ef8b2837ebb8460ef45.tar.xz nvim-lspconfig-cdc2ec53e028d32f06c51ef8b2837ebb8460ef45.tar.zst nvim-lspconfig-cdc2ec53e028d32f06c51ef8b2837ebb8460ef45.zip | |
docs: update server_configurations.md
skip-checks: true
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/server_configurations.md | 26 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 26 |
2 files changed, 52 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 1d111e50..f9369607 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -78,6 +78,7 @@ that config. This file is accessible in neovim via `:help lspconfig-server-confi - [nimls](#nimls) - [ocamlls](#ocamlls) - [ocamllsp](#ocamllsp) +- [ols](#ols) - [omnisharp](#omnisharp) - [opencl_ls](#opencl_ls) - [pasls](#pasls) @@ -2864,6 +2865,31 @@ require'lspconfig'.ocamllsp.setup{} ``` +## ols + + https://github.com/DanielGavin/ols + + `Odin Language Server`. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.ols.setup{} +``` + +**Commands and default values:** +```lua + Commands: + + Default Values: + cmd = { "ols" } + filetypes = { "odin" } + root_dir = util.root_pattern("ols.json", ".git") + single_file_support = true +``` + + ## omnisharp https://github.com/omnisharp/omnisharp-roslyn diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 1d111e50..f9369607 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -78,6 +78,7 @@ that config. This file is accessible in neovim via `:help lspconfig-server-confi - [nimls](#nimls) - [ocamlls](#ocamlls) - [ocamllsp](#ocamllsp) +- [ols](#ols) - [omnisharp](#omnisharp) - [opencl_ls](#opencl_ls) - [pasls](#pasls) @@ -2864,6 +2865,31 @@ require'lspconfig'.ocamllsp.setup{} ``` +## ols + + https://github.com/DanielGavin/ols + + `Odin Language Server`. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.ols.setup{} +``` + +**Commands and default values:** +```lua + Commands: + + Default Values: + cmd = { "ols" } + filetypes = { "odin" } + root_dir = util.root_pattern("ols.json", ".git") + single_file_support = true +``` + + ## omnisharp https://github.com/omnisharp/omnisharp-roslyn |
