refactor: move polish to a separate file
				
					
				
			This commit is contained in:
		
							
								
								
									
										18
									
								
								lua/polish.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								lua/polish.lua
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
if true then return end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
 | 
			
		||||
 | 
			
		||||
-- This will run last in the setup process and is a good place to configure
 | 
			
		||||
-- things like custom filetypes. This just pure lua so anything that doesn't
 | 
			
		||||
-- fit in the normal config locations above can go here
 | 
			
		||||
 | 
			
		||||
-- Set up custom filetypes
 | 
			
		||||
vim.filetype.add {
 | 
			
		||||
  extension = {
 | 
			
		||||
    foo = "fooscript",
 | 
			
		||||
  },
 | 
			
		||||
  filename = {
 | 
			
		||||
    ["Foofile"] = "fooscript",
 | 
			
		||||
  },
 | 
			
		||||
  pattern = {
 | 
			
		||||
    ["~/%.config/foo/.*"] = "fooscript",
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user