Skip to content

Commit

Permalink
chore: updated issue template with mini.sh, deprecated
Browse files Browse the repository at this point in the history
`minimal_init.lua` and moved under `scripts` folder
  • Loading branch information
ibhagwan committed Aug 26, 2022
1 parent b0bd4a5 commit 867557e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
<!--
Check if your problem is reproducible with minimal init, by running:
nvim -u <((echo "lua << EOF") && (curl -s https://raw.githubusercontent.com/ibhagwan/fzf-lua/main/minimal_init.lua) && (echo "EOF"))
sh -c "$(curl -s https://raw.githubusercontent.com/ibhagwan/fzf-lua/main/scripts/mini.sh)"
For more minimal init testing options see:
https://github.com/ibhagwan/fzf-lua/wiki#minimal-init
Change '[ ]' to '[x]' below if the issue is reproducible.
-->
- [ ] The issue is reproducible with `minimal_init.lua`
- [ ] The issue is reproducible with `mini.sh`

<!-- Delete this section if the issue is reproducible with minimal init -->
<details>
Expand Down
2 changes: 1 addition & 1 deletion minimal_init.lua → scripts/minimal_init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- Download this file and run `nvim -u /path/to/minimal_init.lua` or exec directly with:
-- nvim -u <((echo "lua << EOF") && (curl -s https://raw.githubusercontent.com/ibhagwan/fzf-lua/main/minimal_init.lua) && (echo "EOF"))
-- nvim -u <((echo "lua << EOF") && (curl -s https://raw.githubusercontent.com/ibhagwan/fzf-lua/main/scripts/minimal_init.lua) && (echo "EOF"))
if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then
vim.api.nvim_command('echohl WarningMsg | echom "Fzf-lua requires neovim > v0.5 | echohl None"')
return
Expand Down

0 comments on commit 867557e

Please sign in to comment.