summaryrefslogtreecommitdiffstats
path: root/ftplugin/swift.vim
blob: f670b7c44ca8f40247a57a16f89cf21c7037c924 (plain) (blame)
1
2
3
4
5
6
7
8
if polyglot#init#is_disabled(expand('<sfile>:p'), 'swift', 'ftplugin/swift.vim')
  finish
endif

setlocal commentstring=//\ %s
" @-@ adds the literal @ to iskeyword for @IBAction and similar
setlocal iskeyword+=@-@,#
setlocal completefunc=syntaxcomplete#Complete