Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mosheavni committed Aug 14, 2024
1 parent 2773ab1 commit ea54a0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .config/nvim/lua/user/autocommands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ autocmd('User', {
}

local success, process = pcall(function()
return vim.system(cmd):wait()
return vim.system(cmd, {cwd = repo_dir}):wait()
end)

if process and process.code == 0 then
Expand Down
2 changes: 1 addition & 1 deletion .config/nvim/lua/user/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ map('n', 'mt', _G.__surround_with_interpolation)
-- Indent block
vim.cmd [[
function! g:__align_based_on_indent(_)
normal v%koj$>
normal! v%koj$>
endfunction
]]
map('n', '<leader>gt', function()
Expand Down

0 comments on commit ea54a0a

Please sign in to comment.