Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/udalov/kotlin-vim
Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support
https://github.com/udalov/kotlin-vim
kotlin kotlin-vim syntastic vim viml
Last synced: 2 days ago
JSON representation
Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support
- Host: GitHub
- URL: https://github.com/udalov/kotlin-vim
- Owner: udalov
- License: apache-2.0
- Created: 2012-11-25T23:20:06.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T12:08:36.000Z (almost 2 years ago)
- Last Synced: 2024-12-13T18:08:19.810Z (9 days ago)
- Topics: kotlin, kotlin-vim, syntastic, vim, viml
- Language: Vim Script
- Homepage:
- Size: 79.1 KB
- Stars: 633
- Watchers: 10
- Forks: 51
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-kotlin-cn - kotlin-vim - Kotlin 语法高亮 for Vim (开源库和框架 / 编辑器)
README
# kotlin-vim
## Installation
If you use Vim 8 or later, the recommended way is using [Vim's built-in package manager](https://vimhelp.org/repeat.txt.html#packages):
git clone https://github.com/udalov/kotlin-vim.git ~/.vim/pack/plugins/start/kotlin-vim
#### Other plugin managers:
* [Vundle](https://github.com/gmarik/Vundle.vim)
* add `Plugin 'udalov/kotlin-vim'` to your `~/.vimrc` and run `PluginInstall`.
* [Pathogen](https://github.com/tpope/vim-pathogen)
* `git clone https://github.com/udalov/kotlin-vim ~/.vim/bundle/kotlin-vim`#### Manual (for older versions of Vim)
0. `mkdir -p ~/.vim/{syntax,indent,ftdetect,ftplugin}`
1. `cp syntax/kotlin.vim ~/.vim/syntax/kotlin.vim`
2. `cp indent/kotlin.vim ~/.vim/indent/kotlin.vim`
3. `cp ftdetect/kotlin.vim ~/.vim/ftdetect/kotlin.vim`
4. `cp ftplugin/kotlin.vim ~/.vim/ftplugin/kotlin.vim`
5. If you use [Syntastic](https://github.com/scrooloose/syntastic): `cp -r syntax_checkers/kotlin ~/.vim/syntax_checkers/`
6. Restart Vim##### Enjoy!