tweaks to rustic
This commit is contained in:
		
							parent
							
								
									dd77b6808c
								
							
						
					
					
						commit
						24e83ba3d7
					
				
					 2 changed files with 14 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -3466,7 +3466,10 @@ I'd like to start learning and using rust if I can.
 | 
			
		|||
  (chris/leader-keys 'normal rustic-mode-map
 | 
			
		||||
    "gc" 'rustic-compile
 | 
			
		||||
    "gr" 'projectile-run-project
 | 
			
		||||
    "si" 'consult-imenu-multi))
 | 
			
		||||
    "si" 'consult-imenu-multi
 | 
			
		||||
    "ga" 'rustic-cargo-add
 | 
			
		||||
    "gC" 'rustic-cargo-clippy
 | 
			
		||||
    "gt" 'rustic-cargo-test))
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
#+begin_src emacs-lisp
 | 
			
		||||
| 
						 | 
				
			
			@ -3592,7 +3595,9 @@ Let's give eglot a try.
 | 
			
		|||
  :general
 | 
			
		||||
  (general-def 'normal eglot-mode-map
 | 
			
		||||
    "ga" 'eglot-code-actions
 | 
			
		||||
    "gi" 'eglot-find-implementation))
 | 
			
		||||
    "gi" 'eglot-find-implementation
 | 
			
		||||
    "gr" 'eglot-rename
 | 
			
		||||
    "gR" 'xref-find-references))
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
#+begin_src emacs-lisp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										9
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -2576,7 +2576,10 @@ targets."
 | 
			
		|||
  (chris/leader-keys 'normal rustic-mode-map
 | 
			
		||||
    "gc" 'rustic-compile
 | 
			
		||||
    "gr" 'projectile-run-project
 | 
			
		||||
    "si" 'consult-imenu-multi))
 | 
			
		||||
    "si" 'consult-imenu-multi
 | 
			
		||||
    "ga" 'rustic-cargo-add
 | 
			
		||||
    "gC" 'rustic-cargo-clippy
 | 
			
		||||
    "gt" 'rustic-cargo-test))
 | 
			
		||||
 | 
			
		||||
(use-package slint-mode
 | 
			
		||||
  :mode "\\.slint\\'")
 | 
			
		||||
| 
						 | 
				
			
			@ -2640,7 +2643,9 @@ targets."
 | 
			
		|||
  :general
 | 
			
		||||
  (general-def 'normal eglot-mode-map
 | 
			
		||||
    "ga" 'eglot-code-actions
 | 
			
		||||
    "gi" 'eglot-find-implementation))
 | 
			
		||||
    "gi" 'eglot-find-implementation
 | 
			
		||||
    "gr" 'eglot-rename
 | 
			
		||||
    "gR" 'xref-find-references))
 | 
			
		||||
 | 
			
		||||
(use-package consult-eglot
 | 
			
		||||
  :general
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue