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