Skip to content

Commit

Permalink
Fix automatic fzflua files function
Browse files Browse the repository at this point in the history
  • Loading branch information
semanser committed Jan 18, 2024
1 parent d42d86d commit 49f759b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ require("lsp")
-- Check if any files were provided as command line arguments
if vim.fn.argc() == 0 then
-- If no files are provided, run the FzfLua command
vim.cmd("autocmd VimEnter * FzfLua live_grep_native | wincmd p")
vim.cmd("autocmd VimEnter * FzfLua files | wincmd p")
end

0 comments on commit 49f759b

Please sign in to comment.