当我回复包含补丁的邮件时,我想在跳过“>”引号后应用语法突出显示。具体来说,给出如下所示的 quoted 补丁:
> ---
> fs/kernfs/dir.c | 195 ++++++++++++++++++++++++++++++++++++++++++------
> include/linux/kernfs.h | 3 +
> 2 files changed,177 insertions(+),21 deletions(-)
>
> diff --git a/fs/kernfs/dir.c b/fs/kernfs/dir.c
> index 91e0045..dba0d42 100644
> --- a/fs/kernfs/dir.c
> +++ b/fs/kernfs/dir.c
> @@ -44,28 +44,159 @@ static int kernfs_name_locked(struct kernfs_node *kn,char *buf,size_t buflen)
> return strlcpy(buf,kn->parent ? kn->name : "/",buflen);
> }
>
> -static char * __must_check kernfs_path_locked(struct kernfs_node *kn,> - size_t buflen)
> +/**
> + * kernfs_node_depth - compute depth of the kernfs node from root.
> + * The root node itself is considered to be at depth 0.
> + */
> +static size_t kernfs_node_depth(struct kernfs_node *kn)
> {
> - char *p = buf + buflen;
> + size_t depth = 0;
> +
> + BUG_ON(!kn);
> + while (kn->parent) {
> + depth++;
> + kn = kn->parent;
> + }
> + return depth;
> +}
> +
我想要一种告诉neovim在行首忽略“>”并将其余部分当作补丁的方法。