Skip to content

Add support for commenting  #75

Closed

Description

@dmtrKovalenko

Neovim v10 has a built-in commenting support based on the treesitter. But rescript files can not be commented, and failing with the following error:

Option 'commentstring' is empty.

Activity

  1. aspeddro commented on Jul 25, 2024

    @aspeddro
    Collaborator

    I think this should be done in https://github.com/rescript-lang/vim-rescript

    Or create a file at ~/.config/nvim/after/ftplugin/rescript.lua

    vim.opt_local.commentstring = '// %s'
  2. added a commit that references this issue on Jul 28, 2024
    c7b9249
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions