diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2022-04-18 12:08:27 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2022-04-18 12:08:27 +0200 |
commit | db7bb8ba22f5798bf3abe9f786bc6e6d002725f8 (patch) | |
tree | c9d2fd8bead22a93f2c0eb0bd8abe14efe32f509 /autoload/fish.vim | |
parent | aae85fe8c2a5878aee89ff8025306f3142962b5f (diff) | |
download | vim-polyglot-db7bb8ba22f5798bf3abe9f786bc6e6d002725f8.tar.gz vim-polyglot-db7bb8ba22f5798bf3abe9f786bc6e6d002725f8.zip |
Update
Diffstat (limited to 'autoload/fish.vim')
-rw-r--r-- | autoload/fish.vim | 4 |
1 files changed, 1 insertions, 3 deletions
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)>' |