Vim has the option to automatically continue comments when a new line is entered as described here. This currently works perfectly for //
and #
in .cpp and .python files respectively.
I tried to add the following line to the .vimrc for lisp
autocmd filetype lisp,clojure setlocal comments+=:;;
I also tried to set it manually in a file via :set comments=:;;
. All to no avail.
I have checked that vim is compiled with the comments
flag set.