aboutsummaryrefslogtreecommitdiff
path: root/settings/powershell-languageserver.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/powershell-languageserver.vim')
-rw-r--r--settings/powershell-languageserver.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/powershell-languageserver.vim b/settings/powershell-languageserver.vim
index b647002..105cd19 100644
--- a/settings/powershell-languageserver.vim
+++ b/settings/powershell-languageserver.vim
@@ -7,7 +7,7 @@ augroup vimlsp_settings_powershell_languageserver
\ 'initialization_options': lsp_settings#get('powershell-languageserver', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('powershell-languageserver', 'whitelist', ['ps1']),
\ 'blacklist': lsp_settings#get('powershell-languageserver', 'blacklist', []),
- \ 'config': lsp_settings#get('solargraph', 'config', {'typed_pattern': '\(\$\k*\|\k\+\)$'}),
+ \ 'config': lsp_settings#get('solargraph', 'config', {'typed_pattern': '\(\$[a-zA-Z0-9_:]*\|\k\+\)$'}),
\ 'workspace_config': lsp_settings#get('powershell-languageserver', 'workspace_config', {}),
\ }
augroup END