Skip to content

Commit 1fbef2b

Browse files
committed
Add support for zsh
1 parent bd95501 commit 1fbef2b

File tree

5 files changed

+6
-1
lines changed

5 files changed

+6
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ Shell | :heavy_check_mark: | :heavy_check_mark:
9090
Swift | :x: | :x:
9191
Vim | :heavy_check_mark: | :heavy_check_mark:
9292
Visual Basic | :x: | :x:
93+
Zsh | :heavy_check_mark: | :heavy_check_mark:
9394

9495
For a more detailed description of `debugstring` check
9596
[doc/debugstring.txt](https://github.com/bergercookie/vim-debugstring/blob/master/doc/debugstring.txt)

ftplugin/sh.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function! s:DebugStringFun(desc, ...)
77
else
88
return DebugStringFunShellBase(a:desc, a:1)
99
endif
10-
1110
endfunc
1211

1312
command! -buffer -nargs=0 AddDebugString

ftplugin/zsh.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sh.vim

test/basic.vader

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ Execute (Ruby):
5858
:set filetype=ruby
5959
Execute (Shell):
6060
:set filetype=sh
61+
Execute (Zsh):
62+
:set filetype=zsh
6163
Execute (Vim):
6264
:set filetype=vim
6365
Execute (Fortran):

test/ft/a.zsh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
echo "[[Vader-workbench]:$1$] DEBUGGING STRING ==> $2$"
2+
echo "a**2 + b**2: ${a**2 + b**2}"

0 commit comments

Comments
 (0)