From db7bb8ba22f5798bf3abe9f786bc6e6d002725f8 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 18 Apr 2022 12:08:27 +0200 Subject: Update --- autoload/fish.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'autoload/fish.vim') diff --git a/autoload/fish.vim b/autoload/fish.vim index d495f7db..924f38b7 100644 --- a/autoload/fish.vim +++ b/autoload/fish.vim @@ -71,8 +71,6 @@ function! fish#Indent() let l:prevline = getline(l:prevlnum) let l:previndent = indent(l:prevlnum) if s:IsContinuedLine(v:lnum) - " It is customary to increment indentation of continued lines by three - " or a custom value defined by the user if available. let l:previndent = indent(v:lnum - 1) if s:IsContinuedLine(v:lnum - 1) return l:previndent @@ -81,7 +79,7 @@ function! fish#Indent() elseif exists('g:indent_cont') return l:previndent + g:indent_cont else - return l:previndent + 3 + return l:previndent + l:shiftwidth endif endif if l:prevline =~# '\v^\s*%(begin|if|else|while|for|function|case|switch)>' -- cgit v1.2.3