aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/options.lua
diff options
context:
space:
mode:
authordelta <darkussdelta@gmail.com>2025-10-29 16:35:38 +0100
committerdelta <darkussdelta@gmail.com>2025-10-29 16:35:38 +0100
commitd7c66522cf365f516babcfeb1d4a2d36c3ea41af (patch)
tree30c7d6103037b31170ae6d8fd58e3849e3cea823 /.config/nvim/lua/options.lua
parentdf418700b7d776f03ee5b58daa2d497cddb45aca (diff)
a small refactor
Diffstat (limited to '.config/nvim/lua/options.lua')
-rw-r--r--.config/nvim/lua/options.lua55
1 files changed, 33 insertions, 22 deletions
diff --git a/.config/nvim/lua/options.lua b/.config/nvim/lua/options.lua
index 6153825..19e2b4c 100644
--- a/.config/nvim/lua/options.lua
+++ b/.config/nvim/lua/options.lua
@@ -1,28 +1,39 @@
-local o = vim.o
local opt = vim.opt
-o.smarttab = true
-o.exrc = true
-o.clipboard = "unnamedplus"
-o.termguicolors = true
-o.list = true
-o.autochdir = true
-o.wrap = false
-o.number = true
-o.relativenumber = true
-o.expandtab = true
-o.tabstop = 4
-o.smartindent = true
-o.shiftwidth = 4
-o.sidescroll = 5
-o.timeout= false
-o.scrolloff = 4
-o.sidescrolloff = 4
-o.sidescroll = 1
-o.cursorline = true
-o.mouse = ""
-o.fillchars = 'eob: '
+opt.smarttab = true
+opt.exrc = true
+opt.clipboard = "unnamedplus"
+opt.termguicolors = true
+opt.list = true
+opt.autochdir = true
+opt.wrap = false
+opt.number = true
+opt.relativenumber = true
+opt.expandtab = true
+opt.tabstop = 4
+opt.smartindent = true
+opt.shiftwidth = 4
+opt.sidescroll = 5
+opt.timeout = false
+opt.scrolloff = 4
+opt.sidescrolloff = 4
+opt.sidescroll = 1
+opt.cursorline = true
+opt.mouse = ""
+opt.ignorecase = true
+opt.smartcase = true
+opt.foldtext = ""
+opt.foldlevel = 99
+opt.foldcolumn = "auto:1"
vim.g.mapleader = " "
vim.g.maplocalleader = vim.g.mapleader
opt.listchars = { space = "⋅", tab = "--", precedes = "…", extends = "…" }
+opt.fillchars = {
+ -- foldopen = "-",
+ -- foldclose = "+",
+ fold = " ",
+ foldsep = " ",
+ diff = "╱",
+ eob = " ",
+}