summaryrefslogblamecommitdiffstats
path: root/ftplugin/swift.vim
blob: 830acfb7c5a94c241c0fa5e8f3778a292aceda0d (plain) (tree)
1
2
3
4
5
6
7
8
                                                         

        
 



                                                               
if !polyglot#util#IsEnabled('swift', expand('<sfile>:p'))
  finish
endif

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