diff --git a/ftplugin/swift.vim b/ftplugin/swift.vim index 0945a75..20cce0e 100644 --- a/ftplugin/swift.vim +++ b/ftplugin/swift.vim @@ -2,3 +2,4 @@ setlocal commentstring=//\ %s " @-@ adds the literal @ to iskeyword for @IBAction and similar setlocal iskeyword+=@-@,# setlocal completefunc=syntaxcomplete#Complete +setlocal comments=s1:/*,mb:*,ex:*/,:///,://