Files
vim-polyglot/ftplugin/swift.vim
2021-01-01 22:30:41 +01:00

9 lines
263 B
VimL

if polyglot#init#is_disabled(expand('<sfile>:p'), 'swift', 'ftplugin/swift.vim')
finish
endif
setlocal commentstring=//\ %s
" @-@ adds the literal @ to iskeyword for @IBAction and similar
setlocal iskeyword+=@-@,#
setlocal completefunc=syntaxcomplete#Complete