Skip to content

Can't use // line comments in C #489

@realh

Description

@realh

I want to use // for my C comments, but the plugin seems to be hardwired to use /* */ for C. This config has no effect:

local ft = require('Comment.ft')

ft.c = {'//%s', '//%s'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions