diff options
| author | github-actions <github-actions@github.com> | 2021-08-24 14:30:16 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2021-08-24 14:30:16 +0000 |
| commit | 38eb8ea6bc669082d4709095c9563922e025debb (patch) | |
| tree | 6daca79f9d2bd1e631a9a0304efefde9c4f9fd2f /CONFIG.md | |
| parent | fix(omnisharp): pass source dir to cmd (#1178) (diff) | |
| download | nvim-lspconfig-38eb8ea6bc669082d4709095c9563922e025debb.tar nvim-lspconfig-38eb8ea6bc669082d4709095c9563922e025debb.tar.gz nvim-lspconfig-38eb8ea6bc669082d4709095c9563922e025debb.tar.bz2 nvim-lspconfig-38eb8ea6bc669082d4709095c9563922e025debb.tar.lz nvim-lspconfig-38eb8ea6bc669082d4709095c9563922e025debb.tar.xz nvim-lspconfig-38eb8ea6bc669082d4709095c9563922e025debb.tar.zst nvim-lspconfig-38eb8ea6bc669082d4709095c9563922e025debb.zip | |
[docgen] Update CONFIG.md
skip-checks: true
Diffstat (limited to 'CONFIG.md')
| -rw-r--r-- | CONFIG.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3958,6 +3958,12 @@ require'lspconfig'.omnisharp.setup{} Default Values: filetypes = { "cs", "vb" } init_options = {} + on_new_config = function(new_config, new_root_dir) + if new_root_dir then + table.insert(new_config.cmd, '-s') + table.insert(new_config.cmd, new_root_dir) + end + end, root_dir = root_pattern(".sln") or root_pattern(".csproj") ``` |
