diff options
author | talha <talha@talhaamir.xyz> | 2023-12-14 11:49:47 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2023-12-14 11:49:47 +0500 |
commit | db929434fa2f29e5674a5f24d71901b4fa458363 (patch) | |
tree | 850a02a7c945a1a25040ae289a62385e6d0f47f8 /lua/talha/set.lua | |
parent | 27c1b5b9a5cadf1d1331e4cefeaa9c8a73707b26 (diff) |
Fix autoreload, added autocmd:
- Added autoreload to fix reloading when file changed externally
- Added autocmd to format python files on save
Diffstat (limited to 'lua/talha/set.lua')
-rw-r--r-- | lua/talha/set.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lua/talha/set.lua b/lua/talha/set.lua index 0366b03..814a837 100644 --- a/lua/talha/set.lua +++ b/lua/talha/set.lua @@ -24,9 +24,7 @@ op.cursorline = true op.scrolloff = 8 --- autoreload a file after inactivity op.autoread = true -vim.api.nvim_command([[au CursorHold * checktime]]) op.updatetime = 50 |