kotlin-vim

by udalov

udalov / kotlin-vim

Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support

446 Stars 36 Forks Last release: Not found Apache License 2.0 75 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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 run
      PluginInstall
      .
  • Pathogen
    • git clone https://github.com/udalov/kotlin-vim ~/.vim/bundle/kotlin-vim

Manual (for older versions of Vim)

  1. mkdir -p ~/.vim/{syntax,indent,ftdetect,ftplugin}
  2. cp syntax/kotlin.vim ~/.vim/syntax/kotlin.vim
  3. cp indent/kotlin.vim ~/.vim/indent/kotlin.vim
  4. cp ftdetect/kotlin.vim ~/.vim/ftdetect/kotlin.vim
  5. cp ftplugin/kotlin.vim ~/.vim/ftplugin/kotlin.vim
  6. If you use Syntastic:
    cp -r syntax_checkers/kotlin ~/.vim/syntax_checkers/
  7. Restart Vim
Enjoy!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.