Add new config for neovim

This commit is contained in:
2022-01-15 20:26:28 +03:00
parent e529f6745a
commit f6d155b93f
11 changed files with 526 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
local opt = vim.opt
-- 2 tabs converted to spaces + autoindentation
opt.tabstop = 2
opt.shiftwidth = 2
opt.expandtab = true
opt.autoindent = true
-- What the **** is this
opt.shortmess = "filnxtToOFc"
-- Create splits like a normal human being
opt.splitbelow = true
opt.splitright = true
-- Other settings
opt.number = true
opt.relativenumber = true
opt.wrap = true
opt.swapfile = false
opt.hidden = true
opt.writebackup = false
opt.encoding = "utf-8"
opt.updatetime = 300
opt.mouse = "a"
opt.cursorline = true
opt.clipboard = "unnamedplus"
opt.fillchars:append({ eob = " " })
-- TODO: Add settings for nvim-treesitter provided folding