comparison runtime/indent/verilog.vim @ 25773:11b656e74444

Update runtime files Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 9 21:55:11 2021 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Sep 2021 22:00:10 +0200
parents 8d76a56861ec
children 5c220cf30f1f
comparison
equal deleted inserted replaced
25772:55753c17b73d 25773:11b656e74444
74 let vverb = 1 74 let vverb = 1
75 else 75 else
76 let vverb = 0 76 let vverb = 0
77 endif 77 endif
78 78
79 " Indent accoding to last line 79 " Indent according to last line
80 " End of multiple-line comment 80 " End of multiple-line comment
81 if last_line =~ '\*/\s*$' && last_line !~ '/\*.\{-}\*/' 81 if last_line =~ '\*/\s*$' && last_line !~ '/\*.\{-}\*/'
82 let ind = ind - offset_comment1 82 let ind = ind - offset_comment1
83 if vverb 83 if vverb
84 echo vverb_str "De-indent after a multiple-line comment." 84 echo vverb_str "De-indent after a multiple-line comment."
217 let ind = ind - offset 217 let ind = ind - offset
218 if vverb | echo vverb_str "De-indent `elsif or `else or `endif statement." | endif 218 if vverb | echo vverb_str "De-indent `elsif or `else or `endif statement." | endif
219 219
220 endif 220 endif
221 221
222 " Return the indention 222 " Return the indentation
223 return ind 223 return ind
224 endfunction 224 endfunction
225 225
226 let &cpo = s:cpo_save 226 let &cpo = s:cpo_save
227 unlet s:cpo_save 227 unlet s:cpo_save