diff options
Diffstat (limited to 'ftplugin/swift.vim')
-rw-r--r-- | ftplugin/swift.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ftplugin/swift.vim b/ftplugin/swift.vim new file mode 100644 index 00000000..f24535e2 --- /dev/null +++ b/ftplugin/swift.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'swift') == -1 + +setlocal commentstring=//\ %s +" @-@ adds the literal @ to iskeyword for @IBAction and similar +setlocal iskeyword+=@-@,# +setlocal completefunc=syntaxcomplete#Complete + +endif |