This layer provides support for the Rust language with the following packages:
Add the +lang/rust
layer in your configuration file,
function! Layers()
" ...
Layer '+lang/rust'
" ...
endfunction
This assumes that you have rust installed via rustup. The rust-analyzer language server will take care of managing the binaries for you.
You can configure the indentation by setting g:sp_rust_indentation
in your user-init block (i.e. before loading the plugin). By default it is set to 4
.
This layer sets up the rust-analyzer
language server for usage with coc.nvim.
Key Binding | Description |
---|
|