From 3a9c76d44f5c60c0f66acad9cbfbc8f255aff0dc Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sun, 26 May 2024 21:38:43 +0200 Subject: fine-adjustments --- .config/nvim/lua/simenandre/set.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/simenandre/set.lua') diff --git a/.config/nvim/lua/simenandre/set.lua b/.config/nvim/lua/simenandre/set.lua index c1248ee..1bd1b6c 100644 --- a/.config/nvim/lua/simenandre/set.lua +++ b/.config/nvim/lua/simenandre/set.lua @@ -1,4 +1,3 @@ --- Set as the leader key -- See `:help mapleader` -- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used) vim.g.mapleader = " " @@ -65,8 +64,20 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 + +vim.opt.tabstop = 2 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 2 +vim.opt.expandtab = true + +vim.opt.smartindent = true + +vim.opt.colorcolumn = "80" +vim.opt.wrap = false + -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands` +-- -- Highlight when yanking (copying) text -- Try it with `yap` in normal mode -- cgit v1.2.3