Mercurial > vim
view src/proto/bufwrite.pro @ 23444:7278e86c2f70 v8.2.2265
patch 8.2.2265: error message for missing endfunc/enddef is last line
Commit: https://github.com/vim/vim/commit/b8ba9b919708f44b718c17f1fec85b1df8050a17
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 1 18:54:34 2021 +0100
patch 8.2.2265: error message for missing endfunc/enddef is last line
Problem: Error message for missing endfunc/enddef is last line.
Solution: Report the line where the function starts. (closes https://github.com/vim/vim/issues/7582)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 Jan 2021 19:00:04 +0100 |
parents | db18625d8134 |
children |
line wrap: on
line source
/* bufwrite.c */ char *new_file_message(void); int buf_write(buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering); /* vim: set ft=c : */