Files
vim-polyglot/ftplugin/swift.vim

9 lines
240 B
VimL

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