kakoune: fix installing kak-lsp and update sql highlighter
This commit is contained in:
		
							parent
							
								
									ba90b2a1ce
								
							
						
					
					
						commit
						aec09e49b7
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -67,7 +67,7 @@ hook global WinSetOption filetype=rust %[
 | 
			
		|||
  add-highlighter window/rust-custom/html region -recurse '\{' 'html!\s*\{\K' '(?=\})' ref html
 | 
			
		||||
 | 
			
		||||
  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/ ref sql
 | 
			
		||||
]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,7 +38,8 @@ plug "natasky/kakoune-multi-file"
 | 
			
		|||
plug "lelgenio/kakoune-colemak-neio"
 | 
			
		||||
 | 
			
		||||
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 %{
 | 
			
		||||
    map global normal <F2> ': lsp-rename-prompt<ret>'
 | 
			
		||||
    set global lsp_hover_max_lines 10
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue