diff options
| author | delta <darkussdelta@gmail.com> | 2023-08-27 20:50:32 +0200 |
|---|---|---|
| committer | delta <darkussdelta@gmail.com> | 2023-08-27 20:50:32 +0200 |
| commit | 2f7af27c28a68d633f736d3281ed5a6041624c31 (patch) | |
| tree | bd3d01314d96fa637d9ad32b7ecf16cfcd4efa0d /.config/nvim/lua/options.lua | |
| parent | f42a3a2cc941e34dd938b1e6bc24785a44781db2 (diff) | |
add nvim config
Signed-off-by: delta <darkussdelta@gmail.com>
Diffstat (limited to '.config/nvim/lua/options.lua')
| -rw-r--r-- | .config/nvim/lua/options.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/nvim/lua/options.lua b/.config/nvim/lua/options.lua new file mode 100644 index 0000000..94ded94 --- /dev/null +++ b/.config/nvim/lua/options.lua @@ -0,0 +1,23 @@ +local o = vim.o +local opt = vim.opt +local wo = vim.wo +local bo = vim.bo + +-- Global options -- +o.smarttab = true +o.clipboard = "unnamedplus" +o.termguicolors = 24 +o.list = true +opt.listchars = { space = "⋅", tab = " " } +o.autochdir = true + +-- 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 |
