aboutsummaryrefslogtreecommitdiff
path: root/test/lsp_settings.vimspec
diff options
context:
space:
mode:
Diffstat (limited to 'test/lsp_settings.vimspec')
-rw-r--r--test/lsp_settings.vimspec2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lsp_settings.vimspec b/test/lsp_settings.vimspec
index 30995f6..529187e 100644
--- a/test/lsp_settings.vimspec
+++ b/test/lsp_settings.vimspec
@@ -4,6 +4,8 @@ Describe lsp_settings
Assert Equals(lsp_settings#get('pyls', 'cmd', 'bad'), 'bad')
let g:lsp_settings = {'pyls': {'cmd': 'good'}}
Assert Equals(lsp_settings#get('pyls', 'cmd', 'bad'), 'good')
+ let g:lsp_settings = {'pyls': {'cmd': {key,name->'good'}}}
+ Assert Equals(lsp_settings#get('pyls', 'cmd', 'bad'), 'good')
unlet g:lsp_settings
End