diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-01 14:26:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-01 14:26:37 +0200 |
commit | 11abd095210fc84e5dcee87b9baed86061caefe4 (patch) | |
tree | 5c8dcbdb357df1d9e8d2ae9142fb05f4f768151b /src/option.c | |
parent | 4cfde1d273ec5fca68a983805af48ea37d3d94e5 (diff) | |
download | vim-git-11abd095210fc84e5dcee87b9baed86061caefe4.tar.gz |
patch 8.2.0674: some source files are too bigv8.2.0674
Problem: Some source files are too big.
Solution: Move text formatting functions to a new file. (Yegappan
Lakshmanan, closes #6021)
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/option.c b/src/option.c index 504ddf489..3f97c3cd1 100644 --- a/src/option.c +++ b/src/option.c @@ -6492,18 +6492,6 @@ wc_use_keyname(char_u *varp, long *wcp) } /* - * Return TRUE if format option 'x' is in effect. - * Take care of no formatting when 'paste' is set. - */ - int -has_format_option(int x) -{ - if (p_paste) - return FALSE; - return (vim_strchr(curbuf->b_p_fo, x) != NULL); -} - -/* * Return TRUE if "x" is present in 'shortmess' option, or * 'shortmess' contains 'a' and "x" is present in SHM_A. */ |