remove a useless comment

This commit is contained in:
Martin Grenfell 2009-03-30 18:34:08 +13:00
parent 88d6cc97a9
commit 8176930f17

View File

@ -718,15 +718,13 @@ function s:SetUpForNewFiletype(filetype, forceReset)
elseif a:filetype ==? "z8a"
call s:MapDelimiters(';', '')
"we have not hardcoded the comment delimiters to use for this filetype so
"get them from &commentstring.
else
"extract the delims from &commentstring
let left= substitute(&commentstring, '\([^ \t]*\)\s*%s.*', '\1', '')
let right= substitute(&commentstring, '.*%s\s*\(.*\)', '\1', 'g')
call s:MapDelimiters(left,right)
endif
endfunction