From 629d263e1d86a9a7a59f7365f82bda7fc99f96b6 Mon Sep 17 00:00:00 2001 From: amolinae Date: Tue, 14 Jan 2025 22:20:51 -0600 Subject: [PATCH] add more settings --- lua/config/settings.lua | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/lua/config/settings.lua b/lua/config/settings.lua index eeb93c8..4075310 100644 --- a/lua/config/settings.lua +++ b/lua/config/settings.lua @@ -1,13 +1,19 @@ -local global = vim.g -local o = vim.opt +local opt = vim.opt +local o = vim.o +local g = vim.g + +o.expandtab = true +o.autoindent = true +o.shiftwidth = 2 +o.smartindent = true +o.tabstop = 2 +o.softtabstop = 2 o.number = true o.syntax = "on" -o.autoindent = true o.cursorline = true o.expandtab = true o.shiftwidth = 2 -o.tabstop = 2 o.encoding = "UTF-8" o.ruler = true o.hidden = true @@ -18,3 +24,14 @@ o.inccommand = "split" o.splitright = true o.splitbelow = true o.termguicolors = true + +opt.shortmess:append "sI" + +o.updatetime = 250 + +opt.whichwrap:append "<>[]hl" + +g.loaded_node_provider = 0 +g.loaded_python3_provider = 0 +g.loaded_perl_provider = 0 +g.loaded_ruby_provider = 0