vim-polyglot/ftplugin/swift.vim
2019-03-04 09:28:35 +01:00

9 lines
260 B
VimL

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