aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--settings.json2
-rw-r--r--settings/powershell-languageserver.vim2
-rw-r--r--settings/solargraph.vim2
3 files changed, 2 insertions, 4 deletions
diff --git a/settings.json b/settings.json
index 3aea50c..40915b0 100644
--- a/settings.json
+++ b/settings.json
@@ -345,7 +345,6 @@
],
"ps1": [
{
- "refresh_pattern": "\\(\\$\\k*\\|\\k\\+\\)$",
"command": "powershell-languageserver",
"requires": [
"pwsh"
@@ -401,7 +400,6 @@
],
"ruby": [
{
- "refresh_pattern": "\\(\\$\\k*\\|\\k\\+\\)$",
"command": "solargraph",
"requires": [
"gem"
diff --git a/settings/powershell-languageserver.vim b/settings/powershell-languageserver.vim
index 380a7ba..b647002 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('powershell-languageserver', 'config', {}),
+ \ 'config': lsp_settings#get('solargraph', 'config', {'typed_pattern': '\(\$\k*\|\k\+\)$'}),
\ 'workspace_config': lsp_settings#get('powershell-languageserver', 'workspace_config', {}),
\ }
augroup END
diff --git a/settings/solargraph.vim b/settings/solargraph.vim
index 9373975..3fc17e8 100644
--- a/settings/solargraph.vim
+++ b/settings/solargraph.vim
@@ -7,7 +7,7 @@ augroup vimlsp_settings_solargraph
\ 'initialization_options': lsp_settings#get('solargraph', 'initialization_options', {"diagnostics": "true"}),
\ 'whitelist': lsp_settings#get('solargraph', 'whitelist', ['ruby']),
\ 'blacklist': lsp_settings#get('solargraph', 'blacklist', []),
- \ 'config': lsp_settings#get('solargraph', 'config', {}),
+ \ 'config': lsp_settings#get('solargraph', 'config', {'typed_pattern': '\([$@]\k*\|\k\+\)$'}),
\ 'workspace_config': lsp_settings#get('solargraph', 'workspace_config', {}),
\ }
augroup END