Skip to content

Instantly share code, notes, and snippets.

@Layzie
Created November 30, 2011 01:37
Show Gist options
  • Save Layzie/1407562 to your computer and use it in GitHub Desktop.
Save Layzie/1407562 to your computer and use it in GitHub Desktop.
for less file comment
function EnhCommentifyCallback(ft)
if a:ft == 'coffee'
let b:ECcommentOpen = '#'
let b:ECcommentClose = ''
elseif a:ft == 'less'
let b:ECcommentOpen = '/*'
let b:ECcommentMiddle = ''
let b:ECcommentClose = '*/'
endif
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment