This commit is contained in:
2025-05-18 17:49:42 +02:00
parent e51df8c732
commit 44613b53ef
6 changed files with 119 additions and 70 deletions

View File

@ -1,3 +1,3 @@
vim.g.mapleader = " "
vim.keymap.set("n", "<leader>pv", vim.cmd.NvimTreeToggle)
vim.keymap.set("t", "<C-w>h", "<C-\\><C-n>", { silent = true })
vim.keymap.set("t", "<Esc>", "<C-\\><C-n>", { silent = true })

View File

@ -34,5 +34,8 @@ vim.g.mapleader = " "
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.clipboard = "osc52"
vim.opt.clipboard = "unnamedplus"
vim.filetype.add({
pattern = {
[".*/compose.*%.yaml"] = "yaml.docker-compose",
},
})

View File

@ -116,7 +116,9 @@ return {
opts = {
formatters_by_ft = {
typescript = { "prettier" },
jsx = { "prettier" },
javascript = { "prettier" },
typescriptreact = { "prettier" },
javascriptreact = { "prettier" },
lua = { "stylua" },
rust = { "rustfmt", lsp_format = "fallback" },
},
@ -132,4 +134,9 @@ return {
config = true,
opts = {},
},
{
"rcarriga/nvim-dap-ui",
dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" },
opts = {},
},
}

View File

@ -18,4 +18,18 @@ return {
},
opts = { ensure_installed = { "prettier", "stylua" } },
},
{
"jay-babu/mason-nvim-dap.nvim",
dependencies = {
"mason-org/mason.nvim",
"mfussenegger/nvim-dap",
},
opts = {
ensure_installed = {
"netcoredbg",
"codelldb",
},
handlers = {},
},
},
}