Skip to content

Commit

Permalink
chore: update which-key.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
loctvl842 committed Jul 21, 2024
1 parent 71a5254 commit 77689b2
Show file tree
Hide file tree
Showing 25 changed files with 406 additions and 226 deletions.
15 changes: 15 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ignore = {
"631", -- max_line_length
}
read_globals = {
"vim",
"describe",
"it",
"assert"
}
files['tests'] = {
ignore = {
'121', -- Setting a read-only global variable.
'122', -- Setting a read-only field of a global variable.
}
}
67 changes: 34 additions & 33 deletions lazy-lock.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,69 @@
{
"ChatGPT.nvim": { "branch": "main", "commit": "df53728e05129278d6ea26271ec086aa013bed90" },
"ChatGPT.nvim": { "branch": "main", "commit": "f081338f07216a46d3915ce46c1fcb083bcb5016" },
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
"animation.nvim": { "branch": "main", "commit": "fb77091ab72ec9971aee0562e7081182527aaa6a" },
"barbecue.nvim": { "branch": "main", "commit": "cd7e7da622d68136e13721865b4d919efd6325ed" },
"bufferline.nvim": { "branch": "main", "commit": "99337f63f0a3c3ab9519f3d1da7618ca4f91cffe" },
"bufferline.nvim": { "branch": "main", "commit": "2e3c8cc5a57ddd32f1edd2ffd2ccb10c09421f6c" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" },
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"codeium.nvim": { "branch": "main", "commit": "d3b88eb3aa1de6da33d325c196b8a41da2bcc825" },
"conform.nvim": { "branch": "master", "commit": "9b26e81c4292106e68dda3e7b64473434fd5b3e0" },
"copilot-cmp": { "branch": "master", "commit": "72fbaa03695779f8349be3ac54fa8bd77eed3ee3" },
"copilot.lua": { "branch": "master", "commit": "f7612f5af4a7d7615babf43ab1e67a2d790c13a6" },
"dashboard-nvim": { "branch": "master", "commit": "5346d023afc4bfc7ff63d05c70bcdb0784bb657a" },
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
"emmet-vim": { "branch": "master", "commit": "def5d57a1ae5afb1b96ebe83c4652d1c03640f4d" },
"friendly-snippets": { "branch": "main", "commit": "e11b09bf10706bb74e16e4c3d11b2274d62e687f" },
"gitsigns.nvim": { "branch": "main", "commit": "76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
"codeium.nvim": { "branch": "main", "commit": "f6a2ef32a9e923cb0104a19d3e426b0e40e49505" },
"conform.nvim": { "branch": "master", "commit": "ae213f5169d5d0c6abbe76e1438d932772fc1657" },
"copilot-cmp": { "branch": "master", "commit": "b6e5286b3d74b04256d0a7e3bd2908eabec34b44" },
"copilot.lua": { "branch": "master", "commit": "86537b286f18783f8b67bccd78a4ef4345679625" },
"dashboard-nvim": { "branch": "master", "commit": "fabf5feec96185817c732d47d363f34034212685" },
"dressing.nvim": { "branch": "master", "commit": "71349f24c6e07b39f33600985843c289ca735308" },
"emmet-vim": { "branch": "master", "commit": "3fb2f63799e1922f7647ed9ff3b32154031a76ee" },
"friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" },
"gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" },
"heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },
"img-clip.nvim": { "branch": "main", "commit": "fc30500c35663aa1762697f5aba31d43b86028f0" },
"indent-blankline.nvim": { "branch": "master", "commit": "d98f537c3492e87b6dc6c2e3f66ac517528f406f" },
"lazy.nvim": { "branch": "main", "commit": "b0ba3f9399bf48c86abaa4db1a40bd0b681d5018" },
"llm.nvim": { "branch": "main", "commit": "6a90755cfabb56ab99c919b1323e26b5c429f6fb" },
"indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" },
"lazy.nvim": { "branch": "main", "commit": "9a374a0fb4d3ac42dac4a129d4bead7252473c77" },
"llm.nvim": { "branch": "main", "commit": "9832a149bdcf0709433ca9c2c3a1c87460e98d13" },
"lsp_signature.nvim": { "branch": "master", "commit": "e92b4e7073345b2a30a56b20db3d541a9aa2771e" },
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
"lualine.nvim": { "branch": "master", "commit": "544dd1583f9bb27b393f598475c89809c4d5e86b" },
"markdown-preview.nvim": { "branch": "master", "commit": "9becceee5740b7db6914da87358a183ad11b2049" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "9ae570e206360e47d30b4c35a4550c165f4ea7b7" },
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
"middleclass": { "branch": "master", "commit": "9fab4d5bca67262614960960ca35c4740eb2be2c" },
"mini.comment": { "branch": "main", "commit": "a4b7e46deb9ad2feb8902cc5dbf087eced112ee5" },
"mini.hipatterns": { "branch": "main", "commit": "0a72439dbded766af753a3e7ec0a5b21d0f8ada0" },
"mini.pairs": { "branch": "main", "commit": "04f58f2545ed80ac3b52dd4826e93f33e15b2af6" },
"mini.comment": { "branch": "main", "commit": "c8406379987c321ecdef9f53e1ca741a55002104" },
"mini.hipatterns": { "branch": "main", "commit": "427712c754bfdccd8da7073576cd8e2586c0fe93" },
"mini.pairs": { "branch": "main", "commit": "40261dfcec7623cd57be3c3beb50fa73f2650cdf" },
"monokai-pro.nvim": { "branch": "master", "commit": "2bad2a92fe0ff6c8581d33a853a1b17592b83239" },
"neo-tree-diagnostics.nvim": { "branch": "main", "commit": "e00434c3cf8637bcaf70f65c2b9d82b0cc9bd7dc" },
"neo-tree.nvim": { "branch": "main", "commit": "8c75e8a2949cd6cd35525799200a8d34471ee9eb" },
"noice.nvim": { "branch": "main", "commit": "29c7f030b0920e2f17263a9ab8742cde144b9140" },
"none-ls.nvim": { "branch": "main", "commit": "8691504118b252d64fc5023a104aedd100ab754a" },
"noice.nvim": { "branch": "main", "commit": "29b63a8fac55efe31bc2e03318012ed222e87212" },
"none-ls.nvim": { "branch": "main", "commit": "2cde745aadc2c36f6860a77a556494870675771a" },
"nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" },
"nvim": { "branch": "main", "commit": "a1439ad7c584efb3d0ce14ccb835967f030450fe" },
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
"nvim-cmp": { "branch": "main", "commit": "d818fd0624205b34e14888358037fb6f5dc51234" },
"nvim-jdtls": { "branch": "master", "commit": "a5c6f38f8151d7b4f5b32c005a95022fa66f4c9d" },
"nvim-lightbulb": { "branch": "master", "commit": "02aacd93b9b2367e6dbdd20f43b525f701faf834" },
"nvim-lint": { "branch": "master", "commit": "1a3a8d047bc01f1760ae4a0f5e80f111ea222e67" },
"nvim-lspconfig": { "branch": "master", "commit": "d1ab6b6051976b04948e127b0f302a465b1394d6" },
"nvim-lint": { "branch": "master", "commit": "efc6fc83f0772283e064c53a8f9fb5645bde0bc0" },
"nvim-lspconfig": { "branch": "master", "commit": "1ea7c6126a1aa0121098e4f16c04d5dde1a4ba22" },
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
"nvim-scrollbar": { "branch": "main", "commit": "d09f14aa16c9f2748e77008f9da7b1f76e4e7b85" },
"nvim-treesitter": { "branch": "master", "commit": "fc9ee79f64b18bf431e862c2462d4f76d488492a" },
"nvim-treesitter-context": { "branch": "master", "commit": "5efba33af0f39942e426340da7bc15d7dec16474" },
"nvim-ts-autotag": { "branch": "main", "commit": "6eb4120a1aadef07ac312f1c4bc6456712220007" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
"nvim-treesitter": { "branch": "master", "commit": "667b9dbbfa2d0071c5677c429ddcf89fb931b53f" },
"nvim-treesitter-context": { "branch": "master", "commit": "2aba92ceb1479485953007f4d5adf34d0b66917e" },
"nvim-ts-autotag": { "branch": "main", "commit": "1624866a1379fc1861797f0ed05899a9c1d2ff61" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "6b5f95aa4d24f2c629a74f2c935c702b08dbde62" },
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
"nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" },
"persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" },
"persistence.nvim": { "branch": "main", "commit": "c45ff862b53ce07a853a753fb0b33e148dbb99d2" },
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
"rainbow-delimiters.nvim": { "branch": "master", "commit": "12b1a1e095d968887a17ef791c2edb78d7595d46" },
"render-markdown": { "branch": "main", "commit": "3578523f497a8ad3b4a356d1e54e609838ce0922" },
"statuscol.nvim": { "branch": "main", "commit": "483b9a596dfd63d541db1aa51ee6ee9a1441c4cc" },
"telescope.nvim": { "branch": "master", "commit": "dfa230be84a044e7f546a6c2b0a403c739732b86" },
"tokyonight.nvim": { "branch": "main", "commit": "67c6050e1ca41260c919236a098ba278472c7520" },
"tailwindcss-colorizer-cmp.nvim": { "branch": "main", "commit": "3d3cd95e4a4135c250faf83dd5ed61b8e5502b86" },
"telescope.nvim": { "branch": "master", "commit": "79552ef8488cb492e0f9d2bf3b4e808f57515e35" },
"tokyonight.nvim": { "branch": "main", "commit": "1471dab694ad88351185758bb4275624d8b798ec" },
"vim-bbye": { "branch": "master", "commit": "903f5eb17f72ebf7b0b1524bbb792c0b36761af6" },
"vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" },
"vim-visual-multi": { "branch": "master", "commit": "1c9207b28c8898ab01b54e6d6b61b0b820a814bc" },
"which-key.nvim": { "branch": "main", "commit": "4b7167f8fb2dba3d01980735e3509e172c024c29" },
"which-key.nvim": { "branch": "main", "commit": "c4689ab39c1f51cac447893b05bb0266a7af1ed7" },
"windows.nvim": { "branch": "main", "commit": "c7492552b23d0ab30325e90b56066ec51242adc8" }
}
}
28 changes: 28 additions & 0 deletions lua/beastvim/features/lsp/codelens.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
local Utils = require("beastvim.utils")

---@class LspCodeLensOptions
---@field enabled boolean

---@class beastvim.features.lsp.codelens
local M = {}

setmetatable(M, {
__call = function(m, ...)
return m.setup(...)
end,
})

---@param opts LspCodeLensOptions
function M.setup(opts)
if opts.enabled then
Utils.lsp.on_support_methods("textDocument/codeLens", function(client, buffer)
vim.lsp.codelens.refresh()
vim.api.nvim_create_autocmd({ "BufEnter", "CursorHold", "InsertLeave" }, {
buffer = buffer,
callback = vim.lsp.codelens.refresh,
})
end)
end
end

return M
2 changes: 1 addition & 1 deletion lua/beastvim/features/lsp/diagnostics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function M.setup(opts)
local map = Utils.safe_keymap_set
map("n", "<leader>td", function()
M.toggle()
end, { desc = "Toggle LSP inlay hints" })
end, { desc = "Toggle LSP diagnostics" })
end

function M.toggle(value)
Expand Down
16 changes: 12 additions & 4 deletions lua/beastvim/features/lsp/init.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
local Utils = require("beastvim.utils")

---@class LspServer
---@field enabled? boolean
---@field keys? LazyKeysSpec
---@field capabilities? table
---@field on_attach? fun(client, bufnr)
Expand All @@ -11,12 +12,14 @@ local Utils = require("beastvim.utils")
---@field capabilities? table
---@field diagnostics? LspDiagnosticsOptions
---@field inlay_hints? LspInlayHintsOptions
---@field codelens? LspCodeLensOptions

---@class Lsp
---@field keymaps beastvim.features.lsp.keymaps
---@field navic beastvim.features.lsp.navic
---@field diagnostics beastvim.features.lsp.diagnostics
---@field inlay_hints beastvim.features.lsp.inlay_hints
---@field codelens beastvim.features.lsp.codelens
---@field ui beastvim.features.lsp.ui
local M = {}

Expand Down Expand Up @@ -44,6 +47,9 @@ function M.setup(opts)
-- Inlay Hints
M.inlay_hints.setup(opts.inlay_hints)

-- Codelens
M.codelens.setup(opts.codelens)

-- Keymaps
Utils.lsp.on_attach(function(client, bufnr)
M.keymaps(client, bufnr)
Expand Down Expand Up @@ -107,10 +113,12 @@ function M.setup(opts)
local ensure_installed = {}
for server, server_opts in pairs(servers) do
if server_opts then
if not vim.tbl_contains(available, server) then
setup(server)
else
ensure_installed[#ensure_installed + 1] = server
if server_opts.enabled ~= false then
if not vim.tbl_contains(available, server) then
setup(server)
else
ensure_installed[#ensure_installed + 1] = server
end
end
end
end
Expand Down
20 changes: 11 additions & 9 deletions lua/beastvim/features/lsp/inlay_hints.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ setmetatable(M, {

---@param opts LspInlayHintsOptions
function M.setup(opts)
Utils.lsp.on_support_methods("textDocument/inlayHint", function(client, buffer)
if vim.api.nvim_buf_is_valid(buffer) and vim.bo[buffer].buftype == "" then
M.toggle(buffer, true)
end
end)
if opts.enabled then
Utils.lsp.on_support_methods("textDocument/inlayHint", function(_, buffer)
if vim.api.nvim_buf_is_valid(buffer) and vim.bo[buffer].buftype == "" then
M.toggle(buffer, true)
end
end)

local map = Utils.safe_keymap_set
map("n", "<leader>th", function()
M.toggle()
end, { desc = "Toggle LSP inlay hints" })
local map = Utils.safe_keymap_set
map("n", "<leader>th", function()
M.toggle()
end, { desc = "Toggle LSP inlay hints" })
end
end

function M.toggle(buf, value)
Expand Down
20 changes: 10 additions & 10 deletions lua/beastvim/features/lsp/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ function M.get()
{ "<leader>ld", "<cmd>Telescope lsp_document_diagnostics<cr>", desc = "Document Diagnostics" },
{ "<leader>lw", "<cmd>Telescope lsp_workspace_diagnostics<cr>", desc = "Workspace Diagnostics" },
-- stylua: ignore
{ "<leader>lh", function() vim.lsp.inlay_hint(0, nil) end,desc = "Toggle inlay hints"},
{ "<leader>li", "<cmd>LspInfo<cr>", desc = "Info" },
{ "<leader>lI", "<cmd>LspInstallInfo<cr>", desc = "Installer Info" },
{ "<leader>lj", "<cmd>lua vim.lsp.diagnostic.goto_next()<CR>", desc = "Next Diagnostic" },
{ "<leader>lk", "<cmd>lua vim.lsp.diagnostic.goto_prev()<cr>", desc = "Prev Diagnostic" },
{ "<leader>ll", "<cmd>lua vim.lsp.codelens.run()<cr>", desc = "CodeLens Action" },
{ "<leader>ll", vim.lsp.codelens.run, desc = "Run CodeLens" },
{ "<leader>lc", vim.lsp.codelens.refresh, desc = "Refresh & Display Codelens", mode = { "n" } },
{ "<leader>lq", "<cmd>lua vim.lsp.diagnostic.set_loclist()<cr>", desc = "Quickfix" },
{ "<leader>lr", "<cmd>lua vim.lsp.buf.rename()<cr>", desc = "Rename" },
{ "<leader>ls", "<cmd>Telescope lsp_document_symbols<cr>", desc = "Document Symbols" },
{ "<leader>lS", "<cmd>Telescope lsp_dynamic_workspace_symbols<cr>", desc = "Workspace Symbols" },
-- Goto
{ "gd", "<cmd>Telescope lsp_definitions<cr>", desc = "Go to definition" },
{ "gr", "<cmd>Telescope lsp_references<cr>", desc = "Go to references" },
{ "gi", "<cmd>Telescope lsp_implementations<cr>", desc = "Go to implementations" },
{ "gd", "<cmd>Telescope lsp_definitions<cr>", desc = "Definition" },
{ "gr", "<cmd>Telescope lsp_references<cr>", desc = "References" },
{ "gi", "<cmd>Telescope lsp_implementations<cr>", desc = "Implementations" },
{ "K", "<cmd>lua vim.lsp.buf.hover()<CR>", desc = "Hover" },
{ "<c-k>", "<cmd>lua vim.lsp.buf.signature_help()<CR>", mode = "i", desc = "Signature Help" },
{ "gl", "<cmd>lua vim.diagnostic.open_float()<CR>", desc = "Show diagnostics" },
{ "]d", "<cmd>lua vim.diagnostic.goto_prev({buffer=0})<cr>", desc = "Prev Diagnostic" },
{ "[d", "<cmd>lua vim.diagnostic.goto_next({buffer=0})<CR>", desc = "Next Diagnostic" },
{ "<c-k>", vim.lsp.buf.signature_help, mode = "i", desc = "Signature Help" },
{ "gl", vim.diagnostic.open_float, desc = "Show diagnostics" },
{ "[d", vim.diagnostic.goto_prev, desc = "Prev Diagnostic" },
{ "]d", vim.diagnostic.goto_next, desc = "Next Diagnostic" },
{ "<leader>lq", "<cmd>lua vim.diagnostic.setloclist()<CR>", desc = "Quickfix" },
}
end
Expand All @@ -46,7 +46,7 @@ function M.resolve(bufnr)
local opts = Utils.plugin.opts("nvim-lspconfig")
local clients
if vim.fn.has("nvim-0.11") == 1 then
clients = vim.lsp.get_clients({bufnr = bufnr})
clients = vim.lsp.get_clients({ bufnr = bufnr })
else
clients = vim.lsp.get_active_clients({ bufnr = bufnr })
end
Expand Down
9 changes: 9 additions & 0 deletions lua/beastvim/features/lsp/lang/docker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,13 @@ return {
})
end,
},

{
"mfussenegger/nvim-lint",
opts = {
linters_by_ft = {
dockerfile = { "hadolint" },
},
},
},
}
42 changes: 42 additions & 0 deletions lua/beastvim/features/lsp/lang/python.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ return {
opts = {
servers = {
pyright = {
enabled = false,
capabilities = function()
-- Disable the hint of pyright as it coincides with ruff_lsp.
local capabilities = vim.lsp.protocol.make_client_capabilities()
Expand Down Expand Up @@ -57,6 +58,47 @@ return {
},
},
},
basedpyright = {
enabled = true,
settings = {
basedpyright = {
analysis = {
autoImportCompletions = true,
autoSearchPaths = true,
diagnosticMode = "workspace",
-- These diagnostics are useless, therefore disable them.
diagnosticSeverityOverrides = {
reportArgumentType = "none",
reportAttributeAccessIssue = "none",
reportCallIssue = "none",
reportFunctionMemberAccess = "none",
reportGeneralTypeIssues = "none",
reportIncompatibleMethodOverride = "none",
reportIncompatibleVariableOverride = "none",
reportIndexIssue = "none",
reportOptionalMemberAccess = "none",
reportOptionalSubscript = "none",
reportPrivateImportUsage = "none",
},
indexing = true,
inlayHints = {
functionReturnTypes = true,
variableTypes = true,
},
typeCheckingMode = "off", -- Pyright diagnostics is bloody slow
useLibraryCodeForTypes = true,
},
},
},
root_dir = {
"pyproject.toml",
"setup.py",
"setup.cfg",
"requirements.txt",
"Pipfile",
"pyrightconfig.json",
},
},
ruff_lsp = {
keys = {
{
Expand Down
11 changes: 11 additions & 0 deletions lua/beastvim/features/lsp/lang/typescript.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,17 @@ return {
["graphql"] = { "prettier" },
["handlebars"] = { "prettier" },
},
formatters = {
prettier = {
command = "prettier",
args = {
"--print-width",
"150",
"--stdin-filepath",
"$FILENAME",
},
},
},
},
},
}
2 changes: 2 additions & 0 deletions lua/beastvim/features/neo-tree/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ local config = {
mappings = {
["<1-LeftMouse>"] = "open",
["l"] = "open",
["<space>"] = "none",
["P"] = { "toggle_preview", config = { use_float = false } },
},
},
filesystem = {
Expand Down
4 changes: 2 additions & 2 deletions lua/beastvim/lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ require("lazy").setup({
{ import = "beastvim.features.lsp.lang.go", enabled = true },
{ import = "beastvim.features.lsp.lang.docker", enabled = true },
{ import = "beastvim.features.lsp.lang.dotnet", enabled = false },
{ import = "beastvim.features.lsp.lang.tailwind", enabled = false },
{ import = "beastvim.features.lsp.lang.dot", enabled = true },
{ import = "beastvim.features.lsp.lang.tailwind", enabled = true },
{ import = "beastvim.features.lsp.lang.dot", enabled = false },
},
defaults = {
lazy = true,
Expand Down
2 changes: 1 addition & 1 deletion lua/beastvim/plugins/aisync.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ return {
"jackMort/ChatGPT.nvim",
cmd = { "ChatGPTActAs", "ChatGPT" },
opts = {
api_key_cmd = "pass show OpenAI/SignalLab",
api_key_cmd = "pass show OpenAI/Rockship",
openai_edit_params = {
-- model = "gpt-4-1106-preview",
model = "gpt-3.5-turbo",
Expand Down
Loading

0 comments on commit 77689b2

Please sign in to comment.