diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2015-12-06 11:31:38 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-12-06 11:31:38 +0100 |
commit | 303b3f1b434f26f936c241789c84dca6e2f50df2 (patch) | |
tree | 1507706b422e3ec29c0e5f30bcf14681e04ab374 /ftplugin/swift.vim | |
parent | bf849731731a7da008c891476b878735e8280bdc (diff) | |
download | vim-polyglot-303b3f1b434f26f936c241789c84dca6e2f50df2.tar.gz vim-polyglot-303b3f1b434f26f936c241789c84dca6e2f50df2.zip |
Update all bundles
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 |