mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	fix tree-sitter packages
This commit is contained in:
		
					parent
					
						
							
								74ba4d9559
							
						
					
				
			
			
				commit
				
					
						7e169ea408
					
				
			
		
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -25,14 +25,14 @@ in { | ||||||
|       type = listOf package; |       type = listOf package; | ||||||
|       default = []; |       default = []; | ||||||
|       example = literalExpression '' |       example = literalExpression '' | ||||||
|         pkgs.vimPlugins.nvim-treesitter.builtGrammars; [ |         pkgs.tree-sitter-grammars; [ | ||||||
|           regex |           tree-sitter-regex | ||||||
|           kdl |           tree-sitter-kdl | ||||||
|         ]; |         ]; | ||||||
|       ''; |       ''; | ||||||
|       description = '' |       description = '' | ||||||
|         List of treesitter grammars to install. For grammars to be installed properly, |         List of treesitter grammars to install. For grammars to be installed properly, | ||||||
|         you must use grammars from `pkgs.vimPlugins.nvim-treesitter.builtGrammars`. |         you must use grammars from `pkgs.tree-sitter-grammars`. | ||||||
| 
 | 
 | ||||||
|         For languages already supported by nvf, you may use |         For languages already supported by nvf, you may use | ||||||
|         {option}`vim.language.<lang>.treesitter` options, which will automatically add |         {option}`vim.language.<lang>.treesitter` options, which will automatically add | ||||||
|  | @ -55,7 +55,7 @@ in { | ||||||
|       internal = true; |       internal = true; | ||||||
|       readOnly = true; |       readOnly = true; | ||||||
|       type = listOf package; |       type = listOf package; | ||||||
|       default = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [c lua vim vimdoc query]; |       default = with pkgs.tree-sitter-grammars; [tree-sitter-c tree-sitter-lua tree-sitter-vim tree-sitter-query]; | ||||||
|       description = '' |       description = '' | ||||||
|         A list of treesitter grammars that will be installed by default |         A list of treesitter grammars that will be installed by default | ||||||
|         if treesitter has been enabled and  {option}`vim.treeesitter.addDefaultGrammars` |         if treesitter has been enabled and  {option}`vim.treeesitter.addDefaultGrammars` | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 BarryLabs
				BarryLabs