summaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-06-07 17:37:15 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-06-07 17:37:15 +0200
commitff066ee9f001ee7c35bd78cc00fa253a238aacda (patch)
tree6068b72491c2a48082c2d428316ad68752d5f13f /autoload
parent5b3866302755da9e5a917ca42a38a4a03fb5f3e5 (diff)
downloadvim-polyglot-ff066ee9f001ee7c35bd78cc00fa253a238aacda.tar.gz
vim-polyglot-ff066ee9f001ee7c35bd78cc00fa253a238aacda.zip
Update
Diffstat (limited to 'autoload')
-rw-r--r--autoload/crystal/indent.vim2
-rw-r--r--autoload/go/config.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/autoload/crystal/indent.vim b/autoload/crystal/indent.vim
index 63908254..d5a02de9 100644
--- a/autoload/crystal/indent.vim
+++ b/autoload/crystal/indent.vim
@@ -89,7 +89,7 @@ let g:crystal#indent#non_bracket_continuation_regex =
\ '\|' .
\ '\%(\%(\<do\>\|%\@1<!{\)\s*|[^|]*\)\@<!|' .
\ '\|' .
- \ '\W?' .
+ \ '\%(]\|\w\)\@1<!?' .
\ '\|' .
\ '\<\%(if\|unless\)\>' .
\ '\|' .
diff --git a/autoload/go/config.vim b/autoload/go/config.vim
index 9ab85637..62b86372 100644
--- a/autoload/go/config.vim
+++ b/autoload/go/config.vim
@@ -553,7 +553,7 @@ function! go#config#DiagnosticsEnabled() abort
endfunction
function! go#config#GoplsOptions() abort
- return get(g:, 'go_gopls_options', [])
+ return get(g:, 'go_gopls_options', ['-remote=auto'])
endfunction
" Set the default value. A value of "1" is a shortcut for this, for