Compare commits
No commits in common. "ae42fa66746c3de447cd40d09f3da12f2891a209" and "22172d3522d17a8767bda4b1c6d2dc3bd0eee92d" have entirely different histories.
ae42fa6674
...
22172d3522
@ -75,8 +75,7 @@ local treesitter_config_setup = {
|
||||
}
|
||||
|
||||
local function treesitter_configs()
|
||||
require 'nvim-treesitter.configs'
|
||||
.setup(treesitter_config_setup)
|
||||
require('nvim-treesitter.configs').setup(treesitter_config_setup)
|
||||
end
|
||||
|
||||
local function config()
|
||||
|
||||
@ -20,13 +20,6 @@ make_scripts() (
|
||||
done
|
||||
)
|
||||
|
||||
go_deps() (
|
||||
GO_MOD=${1:-go.mod}
|
||||
START_AT=$(grep -n '^require ($' "${GO_MOD}" | awk -F : '{print $1}' | head -n 1)
|
||||
END_AT=$(grep -n '^)$' "${GO_MOD}" | awk -F : '{print $1}' | head -n 1)
|
||||
awk 'NR>'"${START_AT}"' && NR<'"${END_AT}"' {print $1}' "${GO_MOD}"
|
||||
)
|
||||
|
||||
make_script() (
|
||||
cat <<-EOF > "${1}"
|
||||
#!/usr/bin/env bash
|
||||
|
||||
@ -5,7 +5,7 @@ set -euo pipefail
|
||||
# shellcheck disable=SC1090
|
||||
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
||||
|
||||
VERSION=${VERSION:-v1.29.0}
|
||||
VERSION=${VERSION:-v1.26.1}
|
||||
DEST=${XDG_DATA_HOME}/apps/releases/buf
|
||||
CURRENT=${DEST}/current
|
||||
URL=https://github.com/bufbuild/buf/releases/download/${VERSION}/buf-$(uname)-$(uname -m).tar.gz
|
||||
|
||||
Loading…
Reference in New Issue
Block a user