initial changes

This commit is contained in:
2025-02-18 14:31:57 -06:00
parent 7a3028c7fc
commit 474e3c43a7
157 changed files with 23776 additions and 0 deletions

47
.nvimrc Normal file
View File

@@ -0,0 +1,47 @@
if has('win32') || has('win64')
let &makeprg=".\\scripts\\make_win32.cmd"
let g:nmakeprg=".\\scripts\\make_win32.cmd"
" let g:gtest#gtest_command = "cd build2 && .\\unittests"
else
let &makeprg="./scripts/make_unix.sh"
let g:nmakeprg="./scripts/make_unix.sh"
" let g:gtest#gtest_command = "cd build && ./unittests"
endif
set path+=.,monitarr/**
lua << EOF
if vim.env.NV_DARCULA_ENABLE_DAP then
local dap = require("dap")
local g = require("nvim-goodies")
local gos = require("nvim-goodies.os")
local gpath = require("nvim-goodies.path")
local externalConsole = gos.is_windows
local type = "cppdbg"
local cwd = gpath.create_path("./build")
dap.configurations.cpp = {
{
name = "Main",
type = type,
request = "launch",
program = function()
return gpath.create_path(cwd, "monitarr")
end,
cwd = cwd,
stopAtEntry = true,
externalConsole=externalConsole,
},
{
name = "Test",
type = type,
request = "launch",
program = function()
return gpath.create_path(cwd, "monitarr_tests")
end,
cwd = cwd,
stopAtEntry = true,
externalConsole=externalConsole,
}
}
end
EOF