kakoune: fix installing kak-lsp and update sql highlighter

This commit is contained in:
Leonardo Eugênio 2023-01-16 12:46:38 -03:00
parent ba90b2a1ce
commit aec09e49b7
2 changed files with 3 additions and 2 deletions

View file

@ -67,7 +67,7 @@ hook global WinSetOption filetype=rust %[
add-highlighter window/rust-custom/html region -recurse '\{' 'html!\s*\{\K' '(?=\})' ref html add-highlighter window/rust-custom/html region -recurse '\{' 'html!\s*\{\K' '(?=\})' ref html
require-module sql require-module sql
add-highlighter window/rust-custom/sql region '"\K--sql' '"' group add-highlighter window/rust-custom/sql region 'r#"\K--\s*sql' '"#' group
add-highlighter window/rust-custom/sql/ fill white add-highlighter window/rust-custom/sql/ fill white
add-highlighter window/rust-custom/sql/ ref sql add-highlighter window/rust-custom/sql/ ref sql
] ]

View file

@ -38,7 +38,8 @@ plug "natasky/kakoune-multi-file"
plug "lelgenio/kakoune-colemak-neio" plug "lelgenio/kakoune-colemak-neio"
plug 'kak-lsp/kak-lsp' do %{ plug 'kak-lsp/kak-lsp' do %{
cargo install --locked --force --path . rustup target add x86_64-unknown-linux-musl
cargo install --locked --force --path . --target x86_64-unknown-linux-musl
} config %{ } config %{
map global normal <F2> ': lsp-rename-prompt<ret>' map global normal <F2> ': lsp-rename-prompt<ret>'
set global lsp_hover_max_lines 10 set global lsp_hover_max_lines 10