diff options
| author | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-05-03 01:24:29 +0300 | 
|---|---|---|
| committer | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-05-03 01:24:29 +0300 | 
| commit | 1caad46f40e1965e4bf0cc68d98f341bc4310d8c (patch) | |
| tree | 622cab831bb5354cbb7be72ab213617652199818 /lua/cmake/commandline.lua | |
| parent | bbe3a27633002d9eb37c98603e34a00e9ea9d962 (diff) | |
docs: lua documentation for most used tables and functions
Diffstat (limited to 'lua/cmake/commandline.lua')
| -rw-r--r-- | lua/cmake/commandline.lua | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/lua/cmake/commandline.lua b/lua/cmake/commandline.lua index 55c671c..c3d0ef1 100644 --- a/lua/cmake/commandline.lua +++ b/lua/cmake/commandline.lua @@ -67,7 +67,10 @@ end  local build_options = {  	clean = true, -	targets = complete_value(project.current_targets, {}, "name"), +	j = function() +		return {} +	end, +	target = complete_value(project.current_targets, {}, "name"),  }  local install_options = { @@ -128,7 +131,7 @@ function M.parse(args)  			if not value then  				result[key] = true  			else -				if key == "targets" then +				if key == "target" then  					result[key] = vim.split(value, ",")  				else  					result[key] = value  | 
