comparison runtime/indent/systemverilog.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 e2e2cc5d0856
children 6dd88e45d47d
comparison
equal deleted inserted replaced
25772:55753c17b73d 25773:11b656e74444
62 let vverb = 1 62 let vverb = 1
63 else 63 else
64 let vverb = 0 64 let vverb = 0
65 endif 65 endif
66 66
67 " Indent accoding to last line 67 " Indent according to last line
68 " End of multiple-line comment 68 " End of multiple-line comment
69 if last_line =~ '\*/\s*$' && last_line !~ '/\*.\{-}\*/' 69 if last_line =~ '\*/\s*$' && last_line !~ '/\*.\{-}\*/'
70 let ind = ind - offset_comment1 70 let ind = ind - offset_comment1
71 if vverb 71 if vverb
72 echo vverb_str "De-indent after a multiple-line comment." 72 echo vverb_str "De-indent after a multiple-line comment."
218 let ind = ind - offset 218 let ind = ind - offset
219 if vverb | echo vverb_str "De-indent `else and `endif statement." | endif 219 if vverb | echo vverb_str "De-indent `else and `endif statement." | endif
220 220
221 endif 221 endif
222 222
223 " Return the indention 223 " Return the indentation
224 return ind 224 return ind
225 endfunction 225 endfunction
226 226
227 let &cpo = s:cpo_save 227 let &cpo = s:cpo_save
228 unlet s:cpo_save 228 unlet s:cpo_save