ziglang / zig.vim

Vim configuration for Zig
MIT License
448 stars 56 forks source link

Invalid comment syntax with vim-licenses #74

Closed perillo closed 1 year ago

perillo commented 2 years ago

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.