madskjeldgaard / faust-nvim

NeoVim plugin for writing Faust DSP code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Commentstring falls back to #

kflak opened this issue · comments

I am struggling with the commentstring here. For some reason I am getting # when using Comment.nvim, and have tried every possible way I can think of to set the commentstring, even issuing the command :set commentstring=//\ %s directly in the faust buffer I am editing doesn't work.

Output of :verbose set commentstring is

  commentstring=/*%s*/
        Last set from /usr/share/nvim/runtime/ftplugin.vim line 16

So the comments should theoretically look like this...

/* stuff */

but even this doesn't happen.

:echo did_load_filetypes and :echo did_load_ftplugin both return 1.

EDIT: this issue does not happen with vim-commentary, so it seems to be exclusive to Comment.nvim.

Closing this as it seems not to be related to faust-nvim, but rather to comment.nvim.