mirror of
https://github.com/ivuorinen/nvim-shellspec.git
synced 2026-01-26 03:24:00 +00:00
chore: bump version to 2.0.2
This commit is contained in:
@@ -17,7 +17,7 @@ STATE_HEREDOC=2
|
|||||||
# Usage information
|
# Usage information
|
||||||
usage() {
|
usage() {
|
||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
Usage: shellspec-format [OPTIONS] [FILE...]
|
Usage: shellspec-format 2.0.2[OPTIONS] [FILE...]
|
||||||
|
|
||||||
Enhanced ShellSpec DSL formatter with HEREDOC preservation and smart comment indentation.
|
Enhanced ShellSpec DSL formatter with HEREDOC preservation and smart comment indentation.
|
||||||
|
|
||||||
@@ -33,15 +33,15 @@ If no files are specified, reads from stdin and writes to stdout.
|
|||||||
If files are specified, formats them in place.
|
If files are specified, formats them in place.
|
||||||
|
|
||||||
EXAMPLES:
|
EXAMPLES:
|
||||||
shellspec-format < input.spec.sh > output.spec.sh
|
shellspec-format 2.0.2< input.spec.sh > output.spec.sh
|
||||||
shellspec-format file1.spec.sh file2.spec.sh
|
shellspec-format 2.0.2file1.spec.sh file2.spec.sh
|
||||||
cat file.spec.sh | shellspec-format --indent-size 4 --tabs
|
cat file.spec.sh | shellspec-format 2.0.2--indent-size 4 --tabs
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
version() {
|
version() {
|
||||||
echo "shellspec-format 2.0.1"
|
echo "shellspec-format 2.0.2"
|
||||||
echo "Part of nvim-shellspec plugin"
|
echo "Part of nvim-shellspec plugin"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ local format = require("shellspec.format")
|
|||||||
local autocmds = require("shellspec.autocmds")
|
local autocmds = require("shellspec.autocmds")
|
||||||
|
|
||||||
-- Version info
|
-- Version info
|
||||||
M._VERSION = "2.0.1"
|
M._VERSION = "2.0.2"
|
||||||
|
|
||||||
-- Setup function for Lua configuration
|
-- Setup function for Lua configuration
|
||||||
function M.setup(opts)
|
function M.setup(opts)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ endif
|
|||||||
let g:loaded_shellspec = 1
|
let g:loaded_shellspec = 1
|
||||||
|
|
||||||
" Version information
|
" Version information
|
||||||
let g:shellspec_version = '2.0.1'
|
let g:shellspec_version = '2.0.2'
|
||||||
|
|
||||||
" Detect Neovim and use appropriate implementation
|
" Detect Neovim and use appropriate implementation
|
||||||
if has('nvim-0.7')
|
if has('nvim-0.7')
|
||||||
|
|||||||
Reference in New Issue
Block a user