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

Commit

Permalink
Assume ~/.config/nvim rather than ~/.config/doom-nvim in lua code
Browse files Browse the repository at this point in the history
  • Loading branch information
junkblocker committed Jul 12, 2021
1 parent 8994725 commit 0c82a23
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lua/doom/core/functions/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ M.quit_doom = function(write, force)
.. config.doom.colorscheme
.. "'/'"
.. target_colorscheme
.. '\'/" $HOME/.config/doom-nvim/doom_config.lua'
.. '\'/" $HOME/.config/nvim/doom_config.lua'
)
log.info(
'Colorscheme successfully changed to ' .. target_colorscheme
Expand All @@ -105,7 +105,7 @@ M.quit_doom = function(write, force)
.. config.doom.colorscheme_bg
.. "'/'"
.. target_background
.. '\'/" $HOME/.config/doom-nvim/doom_config.lua'
.. '\'/" $HOME/.config/nvim/doom_config.lua'
)
log.info('Background successfully changed to ' .. target_background)
end
Expand Down
2 changes: 1 addition & 1 deletion lua/doom/core/keybindings/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ utils.map('n', '<leader>bf', '<cmd>FormatWrite<CR>', opts)
utils.map(
'n',
'<leader>dc',
'<cmd>e ~/.config/doom-nvim/doom_config.lua<CR>',
'<cmd>e ~/.config/nvim/doom_config.lua<CR>',
opts
)
utils.map('n', '<leader>dd', '<cmd>help doom_nvim<CR>', opts)
Expand Down
2 changes: 1 addition & 1 deletion lua/doom/modules/config/doom-dashboard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ return function()
},
f = {
description = { ' Open Private Configuration SPC d c' },
command = ':e ~/.config/doom-nvim/doomrc',
command = ':e ~/.config/nvim/doomrc',
},
g = {
description = { ' Open Documentation SPC d d' },
Expand Down
2 changes: 1 addition & 1 deletion lua/doom/utils/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local M = {}
M.doom_version = '3.0.0'

-- Local files
M.doom_root = vim.fn.expand('$HOME/.config/doom-nvim')
M.doom_root = vim.fn.expand('$HOME/.config/nvim')
M.doom_logs = vim.fn.stdpath('data') .. '/doom.log'
M.doom_report = vim.fn.stdpath('data') .. '/doom_report.md'

Expand Down

0 comments on commit 0c82a23

Please sign in to comment.