chore: exploring netcoredbg config
This commit is contained in:
@@ -178,9 +178,11 @@ return {
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local netcoredbgCommand = vim.fn.stdpath("data") .. "/mason/packages/netcoredbg/netcoredbg/netcoredbg.exe"
|
||||||
|
|
||||||
dap.adapters.coreclr = {
|
dap.adapters.coreclr = {
|
||||||
type = "executable",
|
type = "executable",
|
||||||
command = "C:/Users/sfree/AppData/Local/nvim-data/mason/packages/netcoredbg/netcoredbg/netcoredbg.exe",
|
command = netcoredbgCommand ,
|
||||||
args = { "--interpreter=vscode" },
|
args = { "--interpreter=vscode" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
|
lazy = false,
|
||||||
config = function()
|
config = function()
|
||||||
require("mason").setup()
|
require("mason").setup()
|
||||||
end,
|
end,
|
||||||
|
|||||||
+17
-13
@@ -1,13 +1,17 @@
|
|||||||
vim.cmd("set expandtab")
|
vim.opt.expandtab = true
|
||||||
vim.cmd("set tabstop=2")
|
vim.opt.tabstop = 2
|
||||||
vim.cmd("set softtabstop=2")
|
vim.opt.softtabstop = 2
|
||||||
vim.cmd("set shiftwidth=2")
|
vim.opt.shiftwidth = 2
|
||||||
vim.cmd("set number")
|
vim.opt.number = true
|
||||||
vim.cmd("set relativenumber")
|
vim.opt.relativenumber = true
|
||||||
vim.cmd("set shell=pwsh")
|
vim.opt.shell = "pwsh"
|
||||||
vim.cmd("set shellcmdflag=-Command")
|
vim.opt.shellcmdflag = "-NoLogo -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding"
|
||||||
vim.cmd("set shellquote=")
|
.. "=[System.Text.Encoding]::UTF8;$PSStyle.Formatting.Error = '';$PSStyle.Formatting.ErrorAccent = '';"
|
||||||
vim.cmd("set shellxquote=")
|
.. "$PSStyle.Formatting.Warning = '';$PSStyle.OutputRendering = 'PlainText';"
|
||||||
|
vim.opt.shellredir = "2>&1 | Out-File -Encoding utf8 %s; exit $LastExitCode"
|
||||||
|
vim.opt.shellpipe = "2>&1 | Out-File -Encoding utf8 %s; exit $LastExitCode"
|
||||||
|
vim.opt.shellquote = ""
|
||||||
|
vim.opt.shellxquote = ""
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
vim.g.maplocalleader = "\\"
|
vim.g.maplocalleader = "\\"
|
||||||
@@ -21,9 +25,9 @@ vim.keymap.set("v", "<leader>y", '"+y', { desc = "Yank to system clipboard" })
|
|||||||
vim.keymap.set("n", "<leader>ww", ":set wrap!<CR>", { desc = "Toggle word wrap" })
|
vim.keymap.set("n", "<leader>ww", ":set wrap!<CR>", { desc = "Toggle word wrap" })
|
||||||
|
|
||||||
vim.filetype.add({
|
vim.filetype.add({
|
||||||
extension = {
|
extension = {
|
||||||
props = "xml",
|
props = "xml",
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- if i am in insert mode and i spam one of these keys
|
-- if i am in insert mode and i spam one of these keys
|
||||||
|
|||||||
Reference in New Issue
Block a user