diff options
Diffstat (limited to '.config/nvim/lua/options.lua')
-rw-r--r-- | .config/nvim/lua/options.lua | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/.config/nvim/lua/options.lua b/.config/nvim/lua/options.lua index 94ded94..6153825 100644 --- a/.config/nvim/lua/options.lua +++ b/.config/nvim/lua/options.lua @@ -1,23 +1,28 @@ local o = vim.o local opt = vim.opt -local wo = vim.wo -local bo = vim.bo --- Global options -- o.smarttab = true +o.exrc = true o.clipboard = "unnamedplus" -o.termguicolors = 24 +o.termguicolors = true o.list = true -opt.listchars = { space = "⋅", tab = " " } 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: ' +vim.g.mapleader = " " +vim.g.maplocalleader = vim.g.mapleader --- Window options -- -wo.number = true -wo.relativenumber = true - --- Buffer options -- -bo.expandtab = true -bo.tabstop = 4 -bo.smartindent = true ---bo.softtabstop = 0 -bo.shiftwidth = 2 +opt.listchars = { space = "⋅", tab = "--", precedes = "…", extends = "…" } |