[vim] Add a group to the ZSH path auto commands
This commit is contained in:
		
							parent
							
								
									148c79d7b2
								
							
						
					
					
						commit
						cd98e5d1d6
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -1,6 +1,8 @@ | |||
| -- Eryn Wells <eryn@erynwells.me> | ||||
| 
 | ||||
| local dotfilesZshGroup = vim.api.nvim_create_augroup("DotfilesZSH", {clear = true}) | ||||
| vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, { | ||||
|     pattern = {"*/zsh/*"}, | ||||
|     group = dotfilesZshGroup, | ||||
|     command = "setfiletype zsh", | ||||
| }) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue