From 80ffc336046e91fa9856717c03bdb85b61209d8d Mon Sep 17 00:00:00 2001 From: Tilo K Date: Mon, 9 Jun 2025 11:45:17 +0200 Subject: [PATCH] some basics --- init.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/init.lua b/init.lua index 091054f..a5d4057 100644 --- a/init.lua +++ b/init.lua @@ -1015,6 +1015,15 @@ require('lazy').setup({ -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et +vim.o.tabstop = 4 -- A TAB character looks like 4 spaces +vim.o.expandtab = true -- Pressing the TAB key will insert spaces instead of a TAB character +vim.o.softtabstop = 4 -- Number of spaces inserted instead of a TAB character +vim.o.shiftwidth = 4 -- Number of spaces inserted when indenting + +vim.keymap.set('n', 'ca', function() + vim.lsp.buf.code_action() +end, { desc = 'Code Action' }) + local harpoon = require 'harpoon' harpoon:setup { settings = {