This commit is contained in:
Scott E. Graves 2024-06-06 14:31:41 -05:00
parent bcdfc73767
commit 881eec4e02
3 changed files with 218 additions and 16 deletions

171
.cspell/words.txt Normal file
View File

@ -0,0 +1,171 @@
aarch64
advapi32
armv8
autogen
backwardcpp_project
bcrypt
binutils_version
bitcoinsystem
boost_asio_has_std_string_view
bugprone
cflags
chrono
cmake_current_source_dir
comdlg32
cppcoreguidelines
cppdbg
cppflags
cpphttplib
cppvsdbg
cstdint
cxxflags
cxxstd
d_ndebug
dbackward_shared
dbghelp
dboost_root
dbuild_shared_libs
dcli11_warnings_as_errors
dcmake_cxx_flags
dcpphttplib_openssl_support
dcpphttplib_tcp_nodelay
dcurl_ca_bundle
dcurl_ca_fallback
dcurl_disable_ldap
dcurl_staticlib
dcurl_use_libpsl
dcurl_use_libssh2
dcurl_zlib
ddebug
decmult_gen_prec_bits
decmult_window_size
degl
denable_threaded_resolver
devent__disable_openssl
devent__disable_tests
devent__library_type
dfail_on_warnings
dfuse_use_version
dgles1
dgles2
dhas_setxattr
dhttplib_require_brotli
dhttplib_require_openssl
dhttplib_require_zlib
dinstall_manpages
djson_buildtests
dndebug
dopengl
dopenssl_root_dir
dopenssl_use_static_libs
dportable
dproject_static_link
drocksdb_install_on_windows
dshared
dspdlog_fmt_external
dthreads_prefer_pthread_flag
duse_libidn2
duuid_build_tests
dwith_benchmark
dwith_gflags
dwith_iostats_context
dwxuse_opengl
dzlib_use_static_libs
ecdh
endforeach
endfunction
eventlib
fext
flac_version
flarge
fontconfig_version
freetype2_version
glapi
gmock
googletest
gpath
gtest_version
has_setxattr
httpapi
httplib
icudata
icui18n
icuuc
iostreams
iphlpapi
libbitcoin
libbitcoinsystem
libcurl
libevent
libexample
libfuse3
libgmock
libgtest
libpcre2_version
librocksdb
libsecp256k1
libsfml
libsodium_type
libuuid
libuuid_include_dirs
linkflags
mbig
msvc
msvcr120
mtune
ncrypt
nlohmann_json
nmakeprg
nuspell_version
oleaut32
openal_version
openssldir
pkgconfig
project_enable_fontconfig
project_enable_gtkmm
propgrid
pugi
pugixml_project
richtext
rocksdb_library
rpcrt4
secp256k1
secur32
sfml_project
shlwapi
source_subdir
spdlog
spdlog_project
static-libgcc
static-libstdc++
stduuid_project
strequal
uring
userenv
vorbis_version
wall
wcast-align
wconversion
wdouble-promotion
wduplicated-branches
wduplicated-cond
wextra
wformat=2
winfsp
winhttp
wininet
winspool
wlogical-op
wmisleading-indentation
wno-useless-cast
wnon-virtual-dtor
wnull-dereference
wold-style-cast
woverloaded-virtual
wpedantic
wserialization
wshadow
wsign-conversion
wunused
wxwidgets_version
xattr

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+=.,repertory2/**
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 = "Mount",
type = type,
request = "launch",
program = function()
return gpath.create_path(cwd, "repertory2")
end,
cwd = cwd,
stopAtEntry = true,
externalConsole=externalConsole,
},
{
name = "Test",
type = type,
request = "launch",
program = function()
return gpath.create_path(cwd, "repertory2_tests")
end,
cwd = cwd,
stopAtEntry = true,
externalConsole=externalConsole,
}
}
end
EOF

View File

@ -1,16 +0,0 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"dictionaries": ["workspace-words", "user-words"],
"dictionaryDefinitions": [{
"name": "workspace-words",
"path": "./.cspell/words.txt",
"addWords": true
},
{
"name": "user-words",
"path": "//home//sgraves//.desktop//.cspell//user_words.txt",
"addWords": true
}
]
}