From 6ecde9bda1dfbb9be6916474bcb8028eb4177204 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Mon, 22 Apr 2024 13:12:54 +0200 Subject: [PATCH] Import vim indent settings --- init.lua | 1 + lua/core/settings.lua | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 lua/core/settings.lua diff --git a/init.lua b/init.lua index e06fcbd..db0605d 100644 --- a/init.lua +++ b/init.lua @@ -1 +1,2 @@ require("core.mappings") +require("core.settings") diff --git a/lua/core/settings.lua b/lua/core/settings.lua new file mode 100644 index 0000000..9028a21 --- /dev/null +++ b/lua/core/settings.lua @@ -0,0 +1,6 @@ +-- how many spaces large a TAB character is +vim.o.tabstop=2 +-- when indenting with '>', use space width +vim.o.shiftwidth=2 +-- insert spaces instead of TAB character +vim.o.expandtab=true