Skip to content

Commit c13e317

Browse files
committed
justfile: add recipes to preview with stock Vim/Neovim configuration
1 parent 3deeee5 commit c13e317

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ gpreview JUSTFILE='': (_preview_common 'gvim -f' JUSTFILE)
3434
[no-cd]
3535
npreview JUSTFILE='': (_preview_common 'nvim' JUSTFILE)
3636

37+
# preview JUSTFILE in Vim with stock config + syntax file from this repository
38+
[no-cd]
39+
stock-preview JUSTFILE='': (_preview_common 'vim --clean' JUSTFILE)
40+
41+
# preview JUSTFILE in Neovim with stock config + syntax file from this repository
42+
[no-cd]
43+
stock-npreview JUSTFILE='': (_preview_common 'nvim --clean' JUSTFILE)
44+
3745
[no-cd]
3846
_preview_common vimcmd JUSTFILE:
3947
{{vimcmd}} \

0 commit comments

Comments
 (0)