[nvim] Treat files with a .make extension as Makefiles
This commit is contained in:
		
							parent
							
								
									329db6f6de
								
							
						
					
					
						commit
						f8c04599c5
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		
							
								
								
									
										7
									
								
								config/nvim/ftdetect/make.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								config/nvim/ftdetect/make.lua
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| -- Filetype detection for Makefiles | ||||
| -- Eryn Wells <eryn@erynwells.me> | ||||
| 
 | ||||
| vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, { | ||||
|     pattern = "*.make", | ||||
|     command = "setfiletype make", | ||||
| }) | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue