Mercurial > vim
view src/proto/beval.pro @ 19693:9fbeb3bdf49e v8.2.0403
patch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check
Commit: https://github.com/vim/vim/commit/a3a9c8ef697bbf6f640cde99710b6f534f29f77d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 19 12:38:34 2020 +0100
patch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check
Problem: When 'buftype' is "nofile" there is no overwrite check.
Solution: Also check for existing file when 'buftype' is set.
(closes #5807)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 19 Mar 2020 12:45:04 +0100 |
parents | 8813e1626e0a |
children |
line wrap: on
line source
/* beval.c */ int find_word_under_cursor(int mouserow, int mousecol, int getword, int flags, win_T **winp, linenr_T *lnump, char_u **textp, int *colp, int *startcolp); int get_beval_info(BalloonEval *beval, int getword, win_T **winp, linenr_T *lnump, char_u **textp, int *colp); void post_balloon(BalloonEval *beval, char_u *mesg, list_T *list); int can_use_beval(void); void general_beval_cb(BalloonEval *beval, int state); /* vim: set ft=c : */