pub-solar-os/profiles/develop/kakoune/lsp/rust.kak

11 lines
359 B
Plaintext
Raw Normal View History

2019-12-15 07:03:57 +00:00
hook -group lsp global WinSetOption filetype=rust %{
# racer.kak conflicts with rls completion; keep before lsp-enable
racer-disable-autocomplete
# remove apostrophe from auto closing pairs; annoying for rust lifetimes
set buffer auto_pairs ( ) { } [ ] '"' '"' ` `
lsp-enable-window
set buffer lsp_server_configuration rust.clippy_preference="on"
}