aboutsummaryrefslogtreecommitdiff
path: root/settings/powershell-languageserver.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-05 19:37:38 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-05 19:37:38 +0900
commitc727df7bcaa13202f81fb513ea61d6a75d634b84 (patch)
tree3760445ef851410c583a18ceccb2ff871be38ebc /settings/powershell-languageserver.vim
parentd8559bc8d6ccc4879c34801b3c7512800d853659 (diff)
downloadvim-lsp-settings-c727df7bcaa13202f81fb513ea61d6a75d634b84.tar.gz
vim-lsp-settings-c727df7bcaa13202f81fb513ea61d6a75d634b84.tar.bz2
vim-lsp-settings-c727df7bcaa13202f81fb513ea61d6a75d634b84.zip
Fix refresh_pattern and typed_pattern
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