feat(filetype): Make tabs two spaces wide for lua files
This commit is contained in:
		
							parent
							
								
									f073cca3b6
								
							
						
					
					
						commit
						0777b097c0
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,9 @@
 | 
			
		|||
vim.filetype.add({
 | 
			
		||||
	extension = {
 | 
			
		||||
		lua = function(_, bufnr)
 | 
			
		||||
				vim.bo[bufnr].shiftwidth = 2
 | 
			
		||||
				vim.bo[bufnr].tabstop = 2
 | 
			
		||||
		end,
 | 
			
		||||
		typ = function(_, bufnr)
 | 
			
		||||
			vim.bo[bufnr].shiftwidth = 2
 | 
			
		||||
			vim.bo[bufnr].tabstop = 2
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue