fix: use :TSInstall on build with nvim-treesitter (#261)
This commit is contained in:
		
							parent
							
								
									7cecf4fcb1
								
							
						
					
					
						commit
						9451e1db71
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		
							
								
								
									
										4
									
								
								init.lua
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								init.lua
									
										
									
									
									
								
							|  | @ -167,9 +167,7 @@ require('lazy').setup({ | ||||||
|     dependencies = { |     dependencies = { | ||||||
|       'nvim-treesitter/nvim-treesitter-textobjects', |       'nvim-treesitter/nvim-treesitter-textobjects', | ||||||
|     }, |     }, | ||||||
|     config = function() |     build = ":TSUpdate", | ||||||
|       pcall(require('nvim-treesitter.install').update { with_sync = true }) |  | ||||||
|     end, |  | ||||||
|   }, |   }, | ||||||
| 
 | 
 | ||||||
|   -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart |   -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sebastian Lyng Johansen
						Sebastian Lyng Johansen