From 84d61aa1d21df368385c9e4aac4229ddb84f2a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Wed, 8 Jun 2022 09:50:23 +0200 Subject: [PATCH] Enable backup and swapfile --- symlinks/config/nvim/lua/esensar/init/options.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/symlinks/config/nvim/lua/esensar/init/options.lua b/symlinks/config/nvim/lua/esensar/init/options.lua index 88b2f3f..392dfeb 100644 --- a/symlinks/config/nvim/lua/esensar/init/options.lua +++ b/symlinks/config/nvim/lua/esensar/init/options.lua @@ -1,11 +1,11 @@ local opt = vim.opt +-- Not needed? opt.wildignore = "__pycache__" opt.wildignore = opt.wildignore + { "*.o", "*~", "*.pyc", "*pycache*" } -- Indentation config opt.tabstop = 2 -opt.tabstop = 2 opt.shiftwidth = 2 opt.autoindent = true @@ -16,11 +16,9 @@ opt.relativenumber = true -- Misc opt.backspace = "indent,eol,start" -- Allow backspacing over everything in insert mode opt.ttimeoutlen = 50 -opt.backup = false -- do not keep a backup file, use versions instead opt.history = 50 -- Keep 50 lines of command line history opt.ruler = true -- Show the cursor position all the time opt.laststatus = 2 -- Always display the status line -opt.swapfile = false -- Disable swapfile opt.undofile = true -- Enable undofile (auto supported in NeoVim) opt.showcmd = true -- Display incomplete commands opt.incsearch = true -- Do incremental searching