Module nvimpam_lib::nocommentiter[][src]

This module holds NoCommentIter, the central datastructure for the folding functionality of nvimpam.

It returns enumerated Lines, but skips Comments (lines starting with $ or #). All skip functions, used by add_folds, work on a NoCommentIter.

Structs

NoCommentIter

The struct simply holds a type instance. Skipping comments is done in the Iterator implementation.

Traits

CommentLess

Designates that the comments have been removed.