summaryrefslogtreecommitdiffstats
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-01 14:26:37 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-01 14:26:37 +0200
commit11abd095210fc84e5dcee87b9baed86061caefe4 (patch)
tree5c8dcbdb357df1d9e8d2ae9142fb05f4f768151b /src/option.c
parent4cfde1d273ec5fca68a983805af48ea37d3d94e5 (diff)
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.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/option.c b/src/option.c
index 504ddf489d..3f97c3cd15 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.
*/