2019-03-04 09:28:35 +01:00
|
|
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'swift') != -1
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2015-12-06 11:31:38 +01:00
|
|
|
setlocal commentstring=//\ %s
|
|
|
|
" @-@ adds the literal @ to iskeyword for @IBAction and similar
|
|
|
|
setlocal iskeyword+=@-@,#
|
|
|
|
setlocal completefunc=syntaxcomplete#Complete
|