summaryrefslogtreecommitdiffstats
path: root/ftplugin/swift.vim
blob: 0d3eaafd2ac838043dc21bf04185699784f597a4 (plain) (blame)
1
2
3
4
5
6
7
8
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'swift') != -1
  finish
endif

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