From c130f7285f250077336d0930898dbbeddb00b9f7 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Wed, 15 Mar 2023 15:03:55 +0100 Subject: chnaged tlast to 'user' to be more generic --- config/essentials/nvim/lua/user/set.lua | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 config/essentials/nvim/lua/user/set.lua (limited to 'config/essentials/nvim/lua/user/set.lua') diff --git a/config/essentials/nvim/lua/user/set.lua b/config/essentials/nvim/lua/user/set.lua new file mode 100644 index 0000000..69ee4ae --- /dev/null +++ b/config/essentials/nvim/lua/user/set.lua @@ -0,0 +1,43 @@ +local opt = vim.opt + +opt.clipboard = "unnamed" + +opt.termguicolors = true + +opt.number = true +opt.relativenumber = true +opt.showmatch = true +opt.matchtime = 0 +opt.showcmd = true +opt.cursorline = true +opt.ruler = true + +opt.path:append("**") + +opt.wildmenu = true +opt.incsearch = true +opt.hlsearch = false + +opt.mouse = "" + +opt.tabstop = 4 +opt.shiftwidth = 4 +opt.backspace = "indent,eol,start" + +opt.signcolumn = "yes" +opt.updatetime = 100 +opt.laststatus = 2 +opt.history = 200 +opt.encoding = "utf-8" + +opt.smartindent = true +opt.scrolloff = 8 + +opt.ignorecase = true +opt.smartcase = true + +opt.swapfile = false +opt.backup = false + +opt.spelllang = "en_us,nl" +opt.formatoptions = "cqrnj" -- cgit v1.2.3