51 lines
1.2 KiB
Lua
51 lines
1.2 KiB
Lua
return {
|
||
'lilydjwg/colorizer', -- 颜色识别
|
||
-- "rest-nvim/rest.nvim",
|
||
-- dependencies = { { "nvim-lua/plenary.nvim" } },
|
||
-- config = function()
|
||
-- require("rest-nvim").setup({
|
||
-- --- Get the same options from Packer setup
|
||
-- })
|
||
-- end
|
||
-- },
|
||
{
|
||
-- go 开发:只对 go/gomod 文件加载,build 时检测是否装了 Go(无 Go 环境静默跳过)
|
||
"ray-x/go.nvim",
|
||
dependencies = {
|
||
"ray-x/guihua.lua",
|
||
"neovim/nvim-lspconfig",
|
||
"nvim-treesitter/nvim-treesitter",
|
||
},
|
||
ft = { "go", 'gomod' },
|
||
build = function()
|
||
if vim.fn.executable('go') == 1 then
|
||
require("go.install").update_all_sync()
|
||
end
|
||
end,
|
||
config = function()
|
||
require("go").setup()
|
||
end,
|
||
},
|
||
{
|
||
-- conda 环境
|
||
"kmontocam/nvim-conda",
|
||
dependencies = { "nvim-lua/plenary.nvim" },
|
||
},
|
||
{
|
||
-- toggleterm:被 addons/QQdock 使用的底层终端
|
||
'akinsho/toggleterm.nvim',
|
||
version = "*",
|
||
config = function()
|
||
require("toggleterm").setup {
|
||
size = 10,
|
||
hide_numbers = true,
|
||
shade_filetypes = {},
|
||
shade_terminals = true,
|
||
shading_factor = 1,
|
||
start_in_insert = true,
|
||
persist_size = true,
|
||
}
|
||
end
|
||
}
|
||
}
|