mirror of https://github.com/LazyVim/starter
feat: add Compiler
parent
ab3e12c7d7
commit
85e08c6b40
|
@ -12,14 +12,13 @@
|
|||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"cmp-tabnine": { "branch": "main", "commit": "d52aae40ee86b62960c31a003352ddfc9e31c8d2" },
|
||||
"codesnap.nvim": { "branch": "main", "commit": "a223fd882953e56ae1a8747fdc44b8d6a2ff7a9b" },
|
||||
"compiler.nvim": { "branch": "main", "commit": "cb14acd32ba9ea09d01bbe3493aefdc59b68965c" },
|
||||
"conform.nvim": { "branch": "master", "commit": "00f9d91391b04b1935e2f15948bd96cc111e7d3a" },
|
||||
"csharp.nvim": { "branch": "main", "commit": "48d72dfad26177295744d6da958f1dc08046a9d9" },
|
||||
"dial.nvim": { "branch": "master", "commit": "7af2daaaf933b0617ded0f78b49f4d5fc45f9f64" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
|
||||
"edgy.nvim": { "branch": "main", "commit": "de79b7d92a5979cd71a9a1d8b6282515345e5055" },
|
||||
"everforest-nvim": { "branch": "main", "commit": "5e0e32a569fb464911342f0d421721cc1c94cf25" },
|
||||
"flit.nvim": { "branch": "main", "commit": "56490317983218b09698f8c960c3669958b12b32" },
|
||||
"flutter-tools.nvim": { "branch": "main", "commit": "990a1349c29f7d474a0cd51355aba773ccc9deea" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "dd2fd1281d4b22e7b4a5bfafa3e142d958e251f2" },
|
||||
"git-blame.nvim": { "branch": "master", "commit": "fb84fad97cd4b51caee3c865e8a33a0d413b77a8" },
|
||||
"gitpad.nvim": { "branch": "main", "commit": "0c06ade8876fac93369183341d6d7125b859071b" },
|
||||
|
@ -76,15 +75,15 @@
|
|||
"omnisharp-extended-lsp.nvim": { "branch": "main", "commit": "6e0aa6465f8fa8ac6c833f6ac4713adfee0202a0" },
|
||||
"one-small-step-for-vimkind": { "branch": "main", "commit": "0dd306e68bf79b38cc01b15c22047e6a867df7de" },
|
||||
"outline.nvim": { "branch": "main", "commit": "139e363dd5a44f66a51041264aabe3884df4dd98" },
|
||||
"overseer.nvim": { "branch": "master", "commit": "7a9b654df4b3b246d05fff857f32e9fb8ddfb013" },
|
||||
"persistence.nvim": { "branch": "main", "commit": "5fe077056c821aab41f87650bd6e1c48cd7dd047" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "b5c8de02a44ffeabff678090edd6a132ff8ab77d" },
|
||||
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
|
||||
"refactoring.nvim": { "branch": "master", "commit": "d2786877c91aa409c824f27b4ce8a9f560dda60a" },
|
||||
"semshi": { "branch": "master", "commit": "0182447e2ff4dfa04cd2dfe5f189e012c581ca45" },
|
||||
"structlog.nvim": { "branch": "main", "commit": "45b26a2b1036bb93c0e83f4225e85ab3cee8f476" },
|
||||
"tailwindcss-colorizer-cmp.nvim": { "branch": "main", "commit": "3d3cd95e4a4135c250faf83dd5ed61b8e5502b86" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "0c12735d5aff6a48ffd8111bf144dc2ff44e5975" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "4aed63995a69e343b068c7469491a8d1592c339f" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" },
|
||||
"toggle-checkbox.nvim": { "branch": "main", "commit": "58f958a2dcfb974963d4bb772ad8c3d8a1c62774" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "7fc18e82575f5b482b758b6dddfe97b606819a20" },
|
||||
|
|
|
@ -40,5 +40,6 @@ end, { desc = "Go to definition" })
|
|||
map({ "n", "i", "v" }, "<F12>", function()
|
||||
vim.lsp.buf.declaration()
|
||||
end, { desc = "Go to declaration" })
|
||||
map("n", "<leader>rcf", "<CMD>Telescope flutter commands<CR>", { desc = "Run flutter" })
|
||||
map("n", "<leader>rcs", "<CMD>lua require('csharp').debug_project()<CR>", { desc = "Debug C#" })
|
||||
map("n", "<F6>", "<CMD>CompilerOpen<CR>", { desc = "Open compiler" })
|
||||
map("n", "<S-F6>", "<CMD>CompilerRedo<CR>", { desc = "Compiler redo" })
|
||||
map("n", "<S-F7>", "<CMD>CompilerToggleResults<CR>", { desc = "Compiler results" })
|
||||
|
|
|
@ -1,4 +1,25 @@
|
|||
return {
|
||||
-- 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,
|
||||
},
|
||||
},
|
||||
},
|
||||
-- TS / JS
|
||||
{
|
||||
"dmmulroy/tsc.nvim",
|
||||
|
@ -15,27 +36,4 @@ return {
|
|||
event = "LazyFile",
|
||||
ft = { "ts", "tsx" },
|
||||
},
|
||||
-- C#
|
||||
{
|
||||
"iabdelkareem/csharp.nvim",
|
||||
lazy = true,
|
||||
event = "BufReadPre",
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
"mfussenegger/nvim-dap",
|
||||
"Tastyep/structlog.nvim",
|
||||
},
|
||||
},
|
||||
-- Flutter
|
||||
{
|
||||
"akinsho/flutter-tools.nvim",
|
||||
lazy = true,
|
||||
ft = "dart",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("telescope").load_extension("flutter")
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue