feat(gs/emacs): Use semantic imenu in cpp buffers
Change-Id: Icec8ddb8230102286510d6af025bf19cdb33d0d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1542 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
		
							parent
							
								
									717d12f2f3
								
							
						
					
					
						commit
						be8c883673
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -26,6 +26,11 @@
 | 
				
			||||||
  :config
 | 
					  :config
 | 
				
			||||||
  (add-hook 'c-mode-common-hook #'clang-format+-mode))
 | 
					  (add-hook 'c-mode-common-hook #'clang-format+-mode))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(map!
 | 
				
			||||||
 | 
					 (:map c++-mode-map
 | 
				
			||||||
 | 
					  :leader
 | 
				
			||||||
 | 
					  (:n "/ i" #'counsel-semantic-or-imenu)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(comment
 | 
					(comment
 | 
				
			||||||
 (setq
 | 
					 (setq
 | 
				
			||||||
  lsp-clients-clangd-executable
 | 
					  lsp-clients-clangd-executable
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue