aboutsummaryrefslogtreecommitdiff
path: root/settings/terraform-lsp.vim
blob: dba8b8d199fefa1bf7867fd271ca4b7a3ba9655d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
augroup vimlsp_settings_terraform_lsp
  au!
  LspRegisterServer {
      \ 'name': 'terraform-lsp',
      \ 'cmd': {server_info->lsp_settings#get('terraform-lsp', 'cmd', [lsp_settings#exec_path('terraform-lsp')])},
      \ 'root_uri':{server_info->lsp_settings#get('terraform-lsp', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))},
      \ 'initialization_options': lsp_settings#get('terraform-lsp', 'initialization_options', v:null),
      \ 'whitelist': lsp_settings#get('terraform-lsp', 'whitelist', ['terraform']),
      \ 'blacklist': lsp_settings#get('terraform-lsp', 'blacklist', []),
      \ 'config': lsp_settings#get('terraform-lsp', 'config', lsp_settings#server_config('terraform-lsp')),
      \ 'workspace_config': lsp_settings#get('terraform-lsp', 'workspace_config', {}),
      \ }
augroup END