This commit is contained in:
2023-07-31 17:35:26 +02:00
commit c285dd40be
9 changed files with 839 additions and 0 deletions

14
lua/tools.lua Normal file
View File

@@ -0,0 +1,14 @@
-- in tools.lua
local api = vim.api
local M = {};
function M.makeScratch()
vim.bo[0].buftype=nofile -- set the current buffer's (buffer 0) buftype to nofile
vim.bo[0].bufhidden=hide
vim.bo[0].swapfile=false
end;
return M;