vim-polyglot/ftplugin/swift.vim

9 lines
260 B
VimL
Raw Normal View History

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