summaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
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