use crate::cli::Cli;
pub fn static_kak() -> &'static str {
include_str!("../../rc/static.kak")
}
pub fn text_objects_kak() -> &'static str {
include_str!("../../rc/text-objects.kak")
}
pub fn cli_args_opt_kak(cli: &Cli) -> String {
let mut opt = "set-option global tree_sitter_cli_args".to_owned();
if cli.verbose > 0 {
opt.push_str(&format!(" -{}", "v".repeat(cli.verbose as _)));
}
if let Some(path) = &cli.config {
opt.push_str(&format!(" --config={}", path.display()));
}
opt
}