kak: rust-analyzer now uses default inlay hints
This commit is contained in:
parent
8f15260d48
commit
23acfb1fde
|
@ -20,11 +20,8 @@ plug "andreyorst/plug.kak" noload config %{
|
|||
|
||||
plug 'eraserhd/kak-ansi'
|
||||
|
||||
plug 'alexherbo2/prelude.kak'
|
||||
plug 'alexherbo2/auto-pairs.kak' commit "fd735ec149ef0d9ca5f628a95b1e52858b5afbdc" config %{
|
||||
require-module 'prelude'
|
||||
require-module 'auto-pairs'
|
||||
auto-pairs-enable
|
||||
plug 'alexherbo2/auto-pairs.kak' config %{
|
||||
enable-auto-pairs
|
||||
}
|
||||
|
||||
plug 'lelgenio/kakoune-mirror-colemak' config %{
|
||||
|
@ -38,12 +35,11 @@ plug 'lelgenio/kak-crosshairs' config %{
|
|||
}
|
||||
|
||||
# Search and replace, for every buffer
|
||||
# plug 'occivink/kakoune-find'
|
||||
plug "natasky/kakoune-multi-file"
|
||||
|
||||
plug "lelgenio/kakoune-colemak-neio"
|
||||
|
||||
plug 'kak-lsp/kak-lsp' do %{
|
||||
plug 'kak-lsp/kak-lsp' tag 'v12.2.0' do %{
|
||||
cargo install --locked --force --path .
|
||||
} config %{
|
||||
map global normal <F2> ': lsp-rename-prompt<ret>'
|
||||
|
@ -55,13 +51,13 @@ plug 'kak-lsp/kak-lsp' do %{
|
|||
hook global BufCreate .* %{try lsp-enable}
|
||||
|
||||
define-command -override -hidden lsp-enable-decals %{
|
||||
try %{ lsp-inlay-diagnostics-enable global }
|
||||
try %{ lsp-experimental-inlay-hints-enable global }
|
||||
lsp-inlay-diagnostics-enable global
|
||||
lsp-inlay-hints-enable global
|
||||
}
|
||||
|
||||
define-command -override -hidden lsp-disable-decals %{
|
||||
try %{ lsp-inlay-diagnostics-disable global }
|
||||
try %{ lsp-experimental-inlay-hints-disable global }
|
||||
lsp-inlay-diagnostics-disable global
|
||||
lsp-inlay-hints-disable global
|
||||
}
|
||||
lsp-enable-decals
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set -ex
|
||||
|
||||
REPO="https://github.com/rust-analyzer/rust-analyzer"
|
||||
VERSION="2022-04-04"
|
||||
VERSION="2022-05-02"
|
||||
DLURL="$REPO/releases/download/$VERSION/rust-analyzer-x86_64-unknown-linux-gnu.gz"
|
||||
GZFILE="$HOME/.cache/rust-analyzer-$VERSION-x86_64-unknown-linux-gnu.gz"
|
||||
BINDIR="$HOME/.local/bin"
|
||||
|
|
Reference in New Issue