From c0275625b10e83d55b1e4fdb66f67146c74f7dc1 Mon Sep 17 00:00:00 2001 From: "Lockszmith (@VAST)" Date: Mon, 17 Mar 2025 15:47:27 -0400 Subject: [PATCH] =Added nvim support --- ...ternal.yaml => .chezmoiexternal.yaml.tmpl} | 21 +++++++++++++++++++ .../private_dot_config/vim/empty__init | 0 2 files changed, 21 insertions(+) rename _home.macos/{.chezmoiexternal.yaml => .chezmoiexternal.yaml.tmpl} (87%) create mode 100644 _home.macos/private_dot_config/vim/empty__init diff --git a/_home.macos/.chezmoiexternal.yaml b/_home.macos/.chezmoiexternal.yaml.tmpl similarity index 87% rename from _home.macos/.chezmoiexternal.yaml rename to _home.macos/.chezmoiexternal.yaml.tmpl index 239f2aa..417e3d0 100644 --- a/_home.macos/.chezmoiexternal.yaml +++ b/_home.macos/.chezmoiexternal.yaml.tmpl @@ -111,6 +111,20 @@ {{- end -}} {{- end }} +{{ $myArch = "macos-arm64" }} + +{{- with $repo := "alexpasmantier/television" -}} +{{- with $version := (gitHubLatestRelease $repo).GetTagName -}} +{{- $_ := set $externals ".local/bin/tv" (dict + "type" "archive-file" + "url" (printf "https://github.com/%s/releases/download/%s/tv-%s-%s.tar.gz" $repo $version $version $myArch) + "path" "tv" + "executable" true + "refreshPeriod" $defaultRefresh +) -}} +{{- end -}} +{{- end }} + {{- $externals | toYaml }} ".config/sz.env/lib/delta.themes.gitconfig": @@ -118,6 +132,13 @@ url: "https://raw.githubusercontent.com/dandavison/delta/refs/heads/main/themes.gitconfig" refreshPeriod: "{{ $defaultRefresh }}" +".config/nvim": + type: "git-repo" + url: "https://code.lksz.me/szmedia/kickstart-modular.nvim.sz.git" + refreshPeriod: "{{ $defaultRefresh }}" + {{- else -}} # .chezmoiexternal is disabled because OFFLINE env is defined {{- end -}} + +# vim: set ft=go sw=2 sts=2 et: diff --git a/_home.macos/private_dot_config/vim/empty__init b/_home.macos/private_dot_config/vim/empty__init new file mode 100644 index 0000000..e69de29