mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	treesitter: mention builtGrammars in grammars option
This commit is contained in:
		
					parent
					
						
							
								68346ebede
							
						
					
				
			
			
				commit
				
					
						072f7599ae
					
				
			
		
					 1 changed files with 11 additions and 4 deletions
				
			
		|  | @ -24,12 +24,19 @@ in { | |||
|     grammars = mkOption { | ||||
|       type = listOf package; | ||||
|       default = []; | ||||
|       example = literalExpression '' | ||||
|         pkgs.vimPlugins.nvim-treesitter.builtGrammars; [ | ||||
|           regex | ||||
|           kdl | ||||
|         ]; | ||||
|       ''; | ||||
|       description = '' | ||||
|         List of treesitter grammars to install. | ||||
|         List of treesitter grammars to install. For grammars to be installed properly, | ||||
|         you must use grammars from `pkgs.vimPlugins.nvim-treesitter.builtGrammars`. | ||||
| 
 | ||||
|         For languages already supported by nvf, you may | ||||
|         use the {option}`vim.language.<lang>.treesitter` options, which | ||||
|         will automatically add the required grammars to this. | ||||
|         For languages already supported by nvf, you may use | ||||
|         {option}`vim.language.<lang>.treesitter` options, which will automatically add | ||||
|         the required grammars to this. | ||||
|       ''; | ||||
|     }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue