diff options
| author | cafebabe <77344710+yuzu-eva@users.noreply.github.com> | 2022-05-21 23:33:01 +0200 |
|---|---|---|
| committer | cafebabe <77344710+yuzu-eva@users.noreply.github.com> | 2022-05-21 23:33:01 +0200 |
| commit | 16d566da938b049dda8998beec43e3cd85c4ed47 (patch) | |
| tree | e138daaf0e6496f2f72659766f54544cda9c1245 /.config/nvim/lua/user/options.lua | |
| parent | 5825759403e9f316c03c771f64a89ac89547b4de (diff) | |
Add nvim configuration
Diffstat (limited to '.config/nvim/lua/user/options.lua')
| -rw-r--r-- | .config/nvim/lua/user/options.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/nvim/lua/user/options.lua b/.config/nvim/lua/user/options.lua new file mode 100644 index 0000000..69f0280 --- /dev/null +++ b/.config/nvim/lua/user/options.lua @@ -0,0 +1,23 @@ +vim.o.guicursor = 'a:block' +vim.o.expandtab = true +vim.o.shiftwidth = 4 +vim.o.tabstop = 4 +vim.o.signcolumn = 'yes:2' +vim.o.relativenumber = true +vim.o.number = true +vim.o.termguicolors = true +vim.o.ignorecase = true +vim.o.smartcase = true +vim.o.wildmode = 'longest:full,full' +vim.o.wrap = false +vim.o.scrolloff = 8 +vim.o.sidescrolloff = 8 +vim.o.cursorline = 1 +vim.o.splitright = 1 +vim.o.splitbelow = 1 +vim.o.clipboard = 'unnamedplus' -- Use Linux system clipboard +vim.o.updatetime = 250 -- Decrease CursorHold delay +vim.o.redrawtime = 10000 -- Allow more time for loading syntax on large files +vim.o.foldmethod = "expr" +vim.o.foldlevelstart = 10 +vim.o.foldexpr = "nvim_treesitter#foldexpr()" |
