diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index af6b5e5..fd7aa3d 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -1272,7 +1272,7 @@ Vladimir Lomov asymptote Marco mrxvtrc, aap nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate, SVNdiff, gitAnnotate, gitdiff, dtrace - llvm + llvm, applescript Chen Xing Wikipedia Jacobo Diaz dakota, patran Li Jin gentoo-env-d, gentoo-init-d, diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 2e960af..0520a49 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -158,6 +158,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('#', '') elseif a:filetype == "apachestyle" call s:MapDelimiters('#', '') + elseif a:filetype == "applescript" + call s:MapDelimitersWithAlternative('--', '', '(*', '*)') elseif a:filetype == "asm68k" call s:MapDelimiters(';', '') elseif a:filetype == "asm"