From 05dfc9cc6df365f4ff67f6cea4c4303ccbe25774 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Sun, 4 May 2025 17:34:30 +0800 Subject: [PATCH] .chezmoiexternal.toml nvim --- .chezmoiexternal.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index a9bc56b..2e7f4e1 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -25,6 +25,25 @@ path = "./eza" {{/* 手動安裝 neovim */ -}} +{{ $nvimVersion := "v0.11.1" -}} +[".local/bin/nvim"] + type = "archive-file" + url = "https://github.com/neovim/neovim/releases/download/{{ $nvimVersion }}/nvim-{{ .chezmoi.os }}-x86_64.tar.gz" + stripComponents = 1 + path = "bin/nvim" +[".local/lib/nvim"] + type = "archive" + url = "https://github.com/neovim/neovim/releases/download/{{ $nvimVersion }}/nvim-{{ .chezmoi.os }}-x86_64.tar.gz" + exact = true + stripComponents = 1 + include = ["lib/nvim/**"] +[".local/share/nvim"] + type = "archive" + url = "https://github.com/neovim/neovim/releases/download/{{ $nvimVersion }}/nvim-{{ .chezmoi.os }}-x86_64.tar.gz" + exact = true + stripComponents = 1 + include = ["share/nvim/**"] + {{/* 手動安裝 zsh */ -}} {{/* 手動安裝 lazygit */ -}} {{ end }}