Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Format lua files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 20, 2021
1 parent e24ef2f commit 74fca1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/doom/core/default/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ M.load_default_options = function()

-- Checks to see if undo_dir does not exist. If it doesn't, it will create a undo folder
local undo_dir = vim.fn.stdpath('config') .. config.doom.undo_dir
if config.doom.backup and vim.fn.empty(vim.fn.glob(undo_dir)) >= 0 then
if vim.fn.isdirectory(undo_dir) ~= 1 then
vim.api.nvim_command("!mkdir -p " .. undo_dir)
end
if config.doom.backup and vim.fn.empty(vim.fn.glob(undo_dir)) >= 0 then
if vim.fn.isdirectory(undo_dir) ~= 1 then
vim.api.nvim_command('!mkdir -p ' .. undo_dir)
end
vim.opt.undofile = true
end

Expand Down

0 comments on commit 74fca1a

Please sign in to comment.