devos/profiles/develop/kakoune/lsp/rust.kak
2019-12-15 00:03:57 -07:00

10 lines
359 B
Text

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"
}