Skip to content

Commit b6dc09c

Browse files
committed
chore(nvim): remove plugin version pinning system
1 parent 1618eaf commit b6dc09c

8 files changed

Lines changed: 4 additions & 431 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
.nvim.env
21
.todo.txt
2+
lazy-lock.json

.nvim.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BLINK_FUZZY_IMPLEMENTATION=
66
CLAUDE_CODE_OAUTH_TOKEN=
77
COPILOT_PROXY=
88
FORMAT_ON_SAVE=true
9-
GREP_EXCLUDE_FILES=package-lock.json,lazy-lock.json
9+
GREP_EXCLUDE_FILES=package-lock.json
1010
LSP_DISABLED_SERVERS=
1111
MASON_DISABLED_PACKAGES=
1212
OPENCODE_API_KEY=

init.lua

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,9 @@ local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
1313
if not (vim.uv or vim.loop).fs_stat(lazypath) then
1414
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
1515
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
16-
local step = "clone"
17-
if vim.v.shell_error == 0 then
18-
out = vim.fn.system({ "git", "-C", lazypath, "checkout", "306a05526ada86a7b30af95c5cc81ffba93fef97" })
19-
step = "checkout"
20-
end
2116
if vim.v.shell_error ~= 0 then
2217
vim.api.nvim_echo({
23-
{ "Failed to " .. step .. " lazy.nvim:\n", "ErrorMsg" },
18+
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
2419
{ out, "WarningMsg" },
2520
{ "\nPress any key to exit..." },
2621
}, true, {})
@@ -33,6 +28,7 @@ end
3328
vim.opt.rtp:prepend(lazypath)
3429

3530
require("lazy").setup("plugins", {
31+
lockfile = false,
3632
change_detection = {
3733
enabled = false,
3834
notify = false,

lazy-lock.json

Lines changed: 0 additions & 68 deletions
This file was deleted.

lua/lib/init.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
local env = require("lib/env")
22
local fn = require("lib/fn")
33
local git = require("lib/git")
4-
local pin = require("lib/pin")
54
local spinner = require("lib/spinner")
65
local tailwindcss = require("lib/tailwindcss")
76
local ui = require("lib/ui")
@@ -10,7 +9,6 @@ local M = {
109
env = env,
1110
fn = fn,
1211
git = git,
13-
pin = pin,
1412
spinner = spinner,
1513
tailwindcss = tailwindcss,
1614
ui = ui,

lua/lib/pin.lua

Lines changed: 0 additions & 258 deletions
This file was deleted.

0 commit comments

Comments
 (0)