[Emacs] Better settings for `lsp' layer, switch LSP server for Rust
`lsp-ui' and `lsp-lens' now enabled by default Rust will now use as its LSP server rust-analyser rather than rls.
This commit is contained in:
		
							parent
							
								
									78efbc027a
								
							
						
					
					
						commit
						c6329ba8d8
					
				@ -559,11 +559,16 @@ enabled support for the ~cmake-ide~ package.
 | 
			
		||||
#+END_SRC
 | 
			
		||||
 | 
			
		||||
Next, we have the Docker, Nginx, Pass (the standard Unix password manager),
 | 
			
		||||
Prettier, Systemd, Meson, Imenu-list, Web-beautify, Dap, Helpful, and LSP layers
 | 
			
		||||
enabled.
 | 
			
		||||
Prettier, Systemd, Meson, Imenu-list, Web-beautify, Dap, and Helpful.
 | 
			
		||||
#+BEGIN_SRC emacs-lisp
 | 
			
		||||
  dap docker helpful imenu-list lsp meson nginx pass prettier systemd
 | 
			
		||||
  web-beautify
 | 
			
		||||
  dap docker helpful imenu-list meson nginx pass prettier systemd web-beautify
 | 
			
		||||
#+END_SRC
 | 
			
		||||
 | 
			
		||||
Of course, let’s not forget about the awesome LSP layer:
 | 
			
		||||
#+BEGIN_SRC emacs-lisp
 | 
			
		||||
  (lsp :variables lsp-lens-enable t
 | 
			
		||||
                  lsp-use-lsp-ui t
 | 
			
		||||
                  lsp-rust-server 'rust-analyzer)
 | 
			
		||||
#+END_SRC
 | 
			
		||||
 | 
			
		||||
We also have the RestClient layer enabled for which I enabled the Org
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user