From 4b971d4199b112719505783954f64f1390bcdf54 Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Thu, 27 Jul 2023 22:12:20 +0200 Subject: [PATCH] created testing gameplan --- init.lua | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index c32146f..d72e876 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,3 @@ -local TAB_WIDTH = 4 - local keymap = { leader_key = ';', @@ -16,9 +14,19 @@ local keymap = { lsp_show_references = 'gr', lsp_hovering_documentation = 'K', + --TODO implement test functionality for + -- [ ] python + -- [ ] lua + -- [ ] c + -- [ ] c++ + + --TODO find good keybindings test_execute_file = 'e', test_debug_file = 'd', test_toggle_breakpoint = 'b', + test_step_over = nil, + test_step_into = nil, + test_inspect_state = nil, navigation_toggle_file_explorer ='', @@ -40,12 +48,14 @@ local keymap = { --> Follow the printed instructions on failure. } +local TAB_WIDTH = 4 + ---@type { [string]: 'gruvbox'|'vscode'|false } local color_scheme_settings = { default = 'gruvbox', markdown = 'vscode', } -assert(color_scheme_settings.default ~= nil, 'A default color scheme must be set.') +assert(color_scheme_settings.default ~= nil, 'The default color scheme must be either false or a valid string.') --> set color to false for ugly default colors vim.g.mapleader = keymap.leader_key @@ -159,10 +169,10 @@ local function packer_startup(use) if theme then vim.o.termguicolors = true - --vim.o.background = "dark" vim.cmd(" colorscheme " .. theme .. " ") else vim.o.termguicolors = false + vim.cmd(" colorscheme default ") end end }