
162

GitHub - udalov/kotlin-vim: Kotlin plugin for Vim. Featuring: syntax highlightin...
source link: https://github.com/udalov/kotlin-vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

kotlin-vim
Installation
If you use Vim 8 or later, the recommended way is using Vim's built-in package manager:
git clone https://github.com/udalov/kotlin-vim.git ~/.vim/pack/plugins/start/kotlin-vim
Other plugin managers:
- Vundle
- add
Plugin 'udalov/kotlin-vim'
to your~/.vimrc
and runPluginInstall
.
- add
- Pathogen
git clone https://github.com/udalov/kotlin-vim ~/.vim/bundle/kotlin-vim
Manual (for older versions of Vim)
mkdir -p ~/.vim/{syntax,indent,ftdetect,ftplugin}
cp syntax/kotlin.vim ~/.vim/syntax/kotlin.vim
cp indent/kotlin.vim ~/.vim/indent/kotlin.vim
cp ftdetect/kotlin.vim ~/.vim/ftdetect/kotlin.vim
cp ftplugin/kotlin.vim ~/.vim/ftplugin/kotlin.vim
- If you use Syntastic:
cp -r syntax_checkers/kotlin ~/.vim/syntax_checkers/
- Restart Vim
Enjoy!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK