mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 8.1.2096: too many #ifdefs
Problem: Too many #ifdefs. Solution: Graduate FEAT_COMMENTS.
This commit is contained in:
@@ -1773,10 +1773,8 @@ foldAddMarker(linenr_T lnum, char_u *marker, int markerlen)
|
||||
|
||||
if (u_save(lnum - 1, lnum + 1) == OK)
|
||||
{
|
||||
#if defined(FEAT_COMMENTS)
|
||||
/* Check if the line ends with an unclosed comment */
|
||||
(void)skip_comment(line, FALSE, FALSE, &line_is_comment);
|
||||
#endif
|
||||
newline = alloc(line_len + markerlen + STRLEN(cms) + 1);
|
||||
if (newline == NULL)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user