2024-05-15 10:04:27 +08:00
|
|
|
return {
|
2024-05-25 23:27:46 +08:00
|
|
|
-- Overall
|
|
|
|
{
|
|
|
|
"Zeioth/compiler.nvim",
|
|
|
|
cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
|
|
|
|
dependencies = {
|
|
|
|
"stevearc/overseer.nvim",
|
|
|
|
},
|
|
|
|
opts = {},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"stevearc/overseer.nvim",
|
|
|
|
cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
|
|
|
|
opts = {
|
|
|
|
task_list = {
|
|
|
|
direction = "bottom",
|
|
|
|
min_height = 25,
|
|
|
|
max_height = 25,
|
|
|
|
default_detail = 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-06-01 11:28:26 +08:00
|
|
|
{
|
|
|
|
"zeioth/garbage-day.nvim",
|
|
|
|
event = "LspAttach",
|
|
|
|
dependencies = "neovim/nvim-lspconfig",
|
|
|
|
opts = {},
|
|
|
|
},
|
2024-06-11 10:38:40 +08:00
|
|
|
{
|
|
|
|
"piersolenski/telescope-import.nvim",
|
|
|
|
dependencies = { "nvim-telescope/telescope.nvim" },
|
|
|
|
config = function()
|
|
|
|
require("telescope").load_extension("import")
|
|
|
|
end,
|
|
|
|
},
|
2024-05-25 23:27:46 +08:00
|
|
|
-- TS / JS
|
|
|
|
{
|
|
|
|
"dmmulroy/tsc.nvim",
|
|
|
|
cmd = "TSC",
|
|
|
|
opts = {
|
|
|
|
use_trouble_qflist = true,
|
|
|
|
},
|
2024-05-30 12:45:23 +08:00
|
|
|
ft = {
|
|
|
|
"typescript",
|
|
|
|
"typescriptreact",
|
|
|
|
},
|
2024-05-25 23:27:46 +08:00
|
|
|
},
|
2024-05-30 11:05:20 +08:00
|
|
|
{
|
|
|
|
"Redoxahmii/json-to-types.nvim",
|
|
|
|
cmd = { "ConvertJSONtoTS", "ConvertJSONtoTSBuffer" },
|
2024-05-30 12:45:23 +08:00
|
|
|
build = "sh install.sh bun",
|
|
|
|
ft = {
|
|
|
|
"typescript",
|
|
|
|
"typescriptreact",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"barrett-ruth/import-cost.nvim",
|
|
|
|
build = "sh install.sh bun",
|
|
|
|
ft = {
|
|
|
|
"javascript",
|
|
|
|
"javascriptreact",
|
|
|
|
"typescript",
|
|
|
|
"typescriptreact",
|
|
|
|
},
|
2024-05-30 11:05:20 +08:00
|
|
|
},
|
2024-05-25 23:27:46 +08:00
|
|
|
{
|
|
|
|
"dmmulroy/ts-error-translator.nvim",
|
2024-05-30 12:45:23 +08:00
|
|
|
ft = {
|
|
|
|
"typescript",
|
|
|
|
"typescriptreact",
|
|
|
|
},
|
2024-05-25 23:27:46 +08:00
|
|
|
},
|
2024-06-20 17:49:01 +08:00
|
|
|
-- LSP config
|
|
|
|
{
|
|
|
|
"mfussenegger/nvim-dap",
|
|
|
|
opts = {
|
|
|
|
adapters = {
|
|
|
|
godot = {
|
|
|
|
type = "server",
|
|
|
|
host = "127.0.0.1",
|
|
|
|
port = 6006,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
configurations = {
|
|
|
|
cs = {
|
|
|
|
{
|
|
|
|
type = "godot",
|
|
|
|
request = "launch",
|
|
|
|
name = "Launch Scene",
|
|
|
|
project = "${workspaceFolder}",
|
|
|
|
launch_scene = true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-05-15 10:04:27 +08:00
|
|
|
}
|