From 7f27bec8876b0acc8b8adc8a8b7098ea53b2bc3f Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Wed, 1 Jul 2026 14:07:23 -0500 Subject: [PATCH] include smoketests for settings --- doc/smoketest.md | 11 +++++++++++ init.lua | 13 +++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/doc/smoketest.md b/doc/smoketest.md index 239737d0..3ef6c8ce 100644 --- a/doc/smoketest.md +++ b/doc/smoketest.md @@ -31,3 +31,14 @@ Custom plugins should be working ### Themes - [ ] Catppuccin Theme - [ ] Rose Pine Theme + +## Settings +- [ ] Nerd fonts should be enabled +- [ ] Line numbers should be relative +- [ ] Virtual Diagnostic Lines (errors/warnings) should be beneath the applicable line +- [ ] Arrow key navigation should be disabled +- [ ] Should connect to godot server when running + +## LSP + +### Formatting diff --git a/init.lua b/init.lua index 3ba1301b..ff4b22c5 100644 --- a/init.lua +++ b/init.lua @@ -194,8 +194,8 @@ do underline = { severity = { min = vim.diagnostic.severity.WARN } }, -- Can switch between these as you prefer - virtual_text = true, -- Text shows up at the end of the line - virtual_lines = false, -- Text shows up underneath the line, with virtual lines + virtual_text = false, -- Text shows up at the end of the line + virtual_lines = true, -- Text shows up underneath the line, with virtual lines -- Auto open the float, so you can easily read the errors when jumping with `[d` and `]d` jump = { @@ -220,10 +220,10 @@ do vim.keymap.set('t', '', '', { desc = 'Exit terminal mode' }) -- TIP: Disable arrow keys in normal mode - -- vim.keymap.set('n', '', 'echo "Use h to move!!"') - -- vim.keymap.set('n', '', 'echo "Use l to move!!"') - -- vim.keymap.set('n', '', 'echo "Use k to move!!"') - -- vim.keymap.set('n', '', 'echo "Use j to move!!"') + vim.keymap.set('n', '', 'echo "Use h to move!!"') + vim.keymap.set('n', '', 'echo "Use l to move!!"') + vim.keymap.set('n', '', 'echo "Use k to move!!"') + vim.keymap.set('n', '', 'echo "Use j to move!!"') -- Keybinds to make split navigation easier. -- Use CTRL+ to switch between windows @@ -372,6 +372,7 @@ do { 's', group = '[S]earch', mode = { 'n', 'v' } }, { 't', group = '[T]oggle' }, { 'h', group = 'Git [H]unk', mode = { 'n', 'v' } }, -- Enable gitsigns recommended keymaps first + -- TODO: LSP actions should be with the leader key { 'gr', group = 'LSP Actions', mode = { 'n' } }, }, }