mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +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 | {lib}: let | ||||||
|   inherit (builtins) isString getAttr; |   inherit (builtins) isString getAttr; | ||||||
|   inherit (lib.options) mkOption; |   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.attrsets) mapListToAttrs; | ||||||
|   inherit (lib.nvim.types) luaInline; |   inherit (lib.nvim.types) luaInline; | ||||||
| in { | in { | ||||||
|  | @ -62,7 +62,7 @@ in { | ||||||
|       }; |       }; | ||||||
| 
 | 
 | ||||||
|       cmd = mkOption { |       cmd = mkOption { | ||||||
|         type = nullOr (listOf str); |         type = nullOr (listOf (oneOf [str luaInline])); | ||||||
|         default = null; |         default = null; | ||||||
|         description = "Command used to start the LSP server"; |         description = "Command used to start the LSP server"; | ||||||
|       }; |       }; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 sjcobb
				sjcobb