發新話題
打印

Vim Advance tips

Vim Advance tips

TOP

Vim Swift Installation

Step A: install swift.vim
引用:
mkdir -p ~/.vim/bundle && cd ~/.vim/bundle/
git clone https://github.com/keith/swift.vim
Step B: Renew ~/.vimrc
Add swift.vim to runtimepath:
引用:
set runtimepath+=~/.vim/bundle/swift.vim
syntax on
Enable file-type based indentation:
引用:
if has("autocmd") filetype plugin indent on endif If
you want to add some comments, don’t forget that comment lines in .vimrc start with ", not # or //.

[ 本帖最後由 Net 於 2017-10-21 15:01 編輯 ]

TOP

發新話題