minor updates, mason v2 dropped and broke shit, chatgpt fun.

This commit is contained in:
Solomon Laing 2025-05-09 14:13:34 +09:30
parent ae25daf01c
commit 0eee62cfd5
4 changed files with 8 additions and 1 deletions

View File

@ -17,7 +17,10 @@ return {
}, },
}, },
"mason.nvim", "mason.nvim",
"williamboman/mason-lspconfig.nvim", {
"mason-org/mason-lspconfig.nvim",
version = "^1.0.0",
},
-- "hrsh7th/cmp-nvim-lsp", -- "hrsh7th/cmp-nvim-lsp",
}, },
opts = { opts = {
@ -197,6 +200,7 @@ return {
-- cmdline tools and lsp servers -- cmdline tools and lsp servers
{ {
"williamboman/mason.nvim", "williamboman/mason.nvim",
version = "^1.0.0",
enabled = true, enabled = true,
cmd = "Mason", cmd = "Mason",
keys = { { "<leader>lM", "<cmd>Mason<cr>", desc = "Mason" } }, keys = { { "<leader>lM", "<cmd>Mason<cr>", desc = "Mason" } },

1
.config/openai/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
KEY

1
.config/openai/install-chatgpt Executable file
View File

@ -0,0 +1 @@
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/latest/download/chatgpt-linux-amd64 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/

View File

@ -64,6 +64,7 @@ export REPOS="$HOME/repos"
export GITUSER="inkletblot" export GITUSER="inkletblot"
export NOTE_DIR="$HOME/notes/" export NOTE_DIR="$HOME/notes/"
export DWM_DIR="$REPOS/gitlab.inkletblot.com/inkletblot/dwm-inkletblot/" export DWM_DIR="$REPOS/gitlab.inkletblot.com/inkletblot/dwm-inkletblot/"
export OPENAI_API_KEY="$(cat "$HOME/.config/openai/KEY")"
# This is something luke smith has in his profile (which I have stolen, it's nice but # This is something luke smith has in his profile (which I have stolen, it's nice but
# doesn't work very nicely with my login manager, lightdm, and I prefer to just run # doesn't work very nicely with my login manager, lightdm, and I prefer to just run