julia.vim
julia.vim copied to clipboard
Vim plugin for Julia.
julia.vim
A vim plugin for Julia.
functions:
-
Automatic docstring generation.
-
Automatic code formatter.
Requirements
-
vim v8.x for +job
Install
- NeoBundle
NeoBundle 'AtsushiSakai/julia.vim'
Plug 'AtsushiSakai/julia.vim'
git clone https://github.com/AtsushiSakai/julia.vim.git ~/.vim/pack/plugins/start/julia.vim`
Usage
Automatic docstring generation
This fuction is for generating docsting automatically.
Docstrings for function can be generated currently.
When you are writing a function in Julia, you put cursor on the function line, and just command:
:JuliaDocstring
Then, a docsting for the function will be generated. (see the upper movie).
Asynchronous automatic code format for julia code
This is an asynchronous automatic code formatter using JuliaFormatter.jl.
When you are writing Julia code, you just command:
:JuliaFmt
Then, the auto formatter is running asynchronously. (it is powered by vim +job)
License
MIT
Author
Atsushi Sakai (@Atsushi_twi)