mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	enable lua function calls in cmd definition
This commit is contained in:
		
					parent
					
						
							
								96f3524a4d
							
						
					
				
			
			
				commit
				
					
						59f89ff96f
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| {lib}: let | ||||
|   inherit (builtins) isString getAttr; | ||||
|   inherit (lib.options) mkOption; | ||||
|   inherit (lib.types) listOf bool str submodule attrsOf anything either nullOr; | ||||
|   inherit (lib.types) listOf bool str submodule attrsOf anything either nullOr oneOf; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (lib.nvim.types) luaInline; | ||||
| in { | ||||
|  | @ -62,7 +62,7 @@ in { | |||
|       }; | ||||
| 
 | ||||
|       cmd = mkOption { | ||||
|         type = nullOr (listOf str); | ||||
|         type = nullOr (listOf (oneOf [str luaInline])); | ||||
|         default = null; | ||||
|         description = "Command used to start the LSP server"; | ||||
|       }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 sjcobb
				sjcobb