diff options
author | Franciszek Malinka <franciszek.malinka@gmail.com> | 2022-04-16 01:04:28 +0200 |
---|---|---|
committer | Franciszek Malinka <franciszek.malinka@gmail.com> | 2022-04-16 01:04:28 +0200 |
commit | 8d300886400d7257fb9be41d0b85464029539ecf (patch) | |
tree | decff62ab6ad87eb889e5600b1436f71ddd982ac /lua/user/options.lua | |
parent | 110947866c59a79567ff5d64c5b13323519a91e6 (diff) |
Big update, new plugins, new everything
Diffstat (limited to 'lua/user/options.lua')
-rw-r--r-- | lua/user/options.lua | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/lua/user/options.lua b/lua/user/options.lua index 293aa31..2b2b4f7 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -4,11 +4,25 @@ local options = { shiftwidth = 2, scrolloff = 5, number = true, - relativenumber = true, + relativenumber = true, wrap = false, cursorline = true, numberwidth = 4, undofile = true, + colorcolumn = { 80 }, + encoding = "UTF-8", + signcolumn = "yes", + updatetime = 300, + splitright = true, + splitbelow = true, + smartcase = true, + mouse = "a", + fileencoding = "utf-8", +} + +local gopts = { + NERDTreeDirArrowCollapsible = "", + NERDTreeDirArrowExpandable = "", } @@ -16,4 +30,8 @@ for k, v in pairs(options) do vim.opt[k] = v end -vim.cmd [[set matchpairs+=<:>]] +for k, v in pairs(gopts) do + vim.g[k] = v +end + +vim.cmd [[set matchpairs+=<:>]] |