zig.vim icon indicating copy to clipboard operation
zig.vim copied to clipboard

Invalid comment syntax with vim-licenses

Open perillo opened this issue 3 years ago • 0 comments

I'm using https://github.com/antoyo/vim-licenses with vim, and when I try to add the license notice at the top of the file, vim uses the incorrect \\ used for multiline strings, instead of //.

Looking at the source code, the problem seems to be in

setlocal comments=:///,://!,://,:\\\\

Removing the last comment resolves the issue.

perillo avatar Mar 23 '22 21:03 perillo