tabby localai config

master
blob42 2 months ago
parent 02bb9b6658
commit 55a7dc6a38

@ -0,0 +1,22 @@
local M = {}
M.setup = function()
vim.g.tabby_keybinding_accept = '<M-j>'
vim.g.tabby_filetype_dict = {
bash = "shellscript",
sh = "shellscript",
cs = "csharp",
objc = "objective-c",
objcpp = "objective-cpp",
make = "makefile",
cuda = "cuda-cpp",
text = "plaintext",
rust = "rust",
go = "go",
javascript = "javascript"
}
end
return M

@ -207,6 +207,34 @@ return {
}
},
["TabbyML/vim-tabby"] = {
keys = {"<leader>tb"},
-- event = "BufRead",
cmd = {"Tabby*"},
config = function()
require("custom.plugins.configs.tabby").setup()
vim.fn["tabby#OnVimEnter"]()
end
},
-- ["jackMort/ChatGPT.nvim"] = {
-- -- lock = true,
-- opt = true,
-- keys = {"<leader>gpt"},
-- module_pattern = {"chatgpt*"},
-- after = {"nui.nvim", "telescope.nvim"},
-- setup = function()
-- require("custom.plugins.configs.chat-gpt").load_api_key()
-- end,
-- config = function()
-- require("custom.plugins.configs.chat-gpt").setup()
-- end,
-- requires = {
-- "MunifTanjim/nui.nvim",
-- "nvim-lua/plenary.nvim",
-- "nvim-telescope/telescope.nvim"
-- }
-- },
-- snippets
["honza/vim-snippets"] = { -- {{{
module = { "cmp", "cmp_nvim_lsp" },

Loading…
Cancel
Save