aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-05 19:31:28 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-05 19:31:28 +0900
commitd8559bc8d6ccc4879c34801b3c7512800d853659 (patch)
tree25ea28454741e19d492648806af8fc148d7e6a67
parent9ee12f79f184102d56ff3ee731aee202b3e5d8fa (diff)
downloadvim-lsp-settings-d8559bc8d6ccc4879c34801b3c7512800d853659.tar.gz
vim-lsp-settings-d8559bc8d6ccc4879c34801b3c7512800d853659.tar.bz2
vim-lsp-settings-d8559bc8d6ccc4879c34801b3c7512800d853659.zip
Fix typed_pattern
-rw-r--r--settings/html-languageserver.vim2
-rw-r--r--settings/metals.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/html-languageserver.vim b/settings/html-languageserver.vim
index 3cbd485..edecd24 100644
--- a/settings/html-languageserver.vim
+++ b/settings/html-languageserver.vim
@@ -7,7 +7,7 @@ augroup vimlsp_settings_html_languageserver
\ 'initialization_options': lsp_settings#get('html-languageserver', 'initialization_options', {'embeddedLanguages': {'css': v:true, 'javascript': v:true}}),
\ 'whitelist': lsp_settings#get('html-languageserver', 'whitelist', ['html']),
\ 'blacklist': lsp_settings#get('html-languageserver', 'blacklist', []),
- \ 'config': lsp_settings#get('html-languageserver', 'config', {'typed_pattern': '/$\|\k\+$'}),
+ \ 'config': lsp_settings#get('html-languageserver', 'config', {'typed_pattern': '\(/\|k\+\)$'}),
\ 'workspace_config': lsp_settings#get('html-languageserver', 'workspace_config', {}),
\ }
augroup END
diff --git a/settings/metals.vim b/settings/metals.vim
index 376d5f5..d0cdd53 100644
--- a/settings/metals.vim
+++ b/settings/metals.vim
@@ -7,7 +7,7 @@ augroup vimlsp_settings_metals
\ 'initialization_options': lsp_settings#get('metals', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('metals', 'whitelist', ['scala', 'sbt']),
\ 'blacklist': lsp_settings#get('metals', 'blacklist', []),
- \ 'config': lsp_settings#get('metals', 'config', {}),
+ \ 'config': lsp_settings#get('metals', 'config', {'typed_pattern': '\k\zs'}),
\ 'workspace_config': lsp_settings#get('metals', 'workspace_config', {}),
\ }
augroup END