From 881eec4e0274de13f98266705160625908ac8422 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 6 Jun 2024 14:31:41 -0500 Subject: [PATCH] updates --- .cspell/words.txt | 171 ++++++++++++++++++++++++++++++++++++++++++++++ .nvimrc | 47 +++++++++++++ cspell.json | 16 ----- 3 files changed, 218 insertions(+), 16 deletions(-) create mode 100644 .cspell/words.txt create mode 100644 .nvimrc delete mode 100644 cspell.json diff --git a/.cspell/words.txt b/.cspell/words.txt new file mode 100644 index 00000000..8d8257be --- /dev/null +++ b/.cspell/words.txt @@ -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 \ No newline at end of file diff --git a/.nvimrc b/.nvimrc new file mode 100644 index 00000000..5bb56269 --- /dev/null +++ b/.nvimrc @@ -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 diff --git a/cspell.json b/cspell.json deleted file mode 100644 index bc10eeb4..00000000 --- a/cspell.json +++ /dev/null @@ -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 - } - ] -} \ No newline at end of file