Skip to content

Commit 595b9eb

Browse files
committed
fix: make menu handler parameters optional, this fixes Ctrl-Alt-Shift-v shortcut to show the settings window.
1 parent 0824d16 commit 595b9eb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/vim_check.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
this.Vim := Vim
44
}
55

6-
CheckMenu(ItemName, ItemPos, MyMenu) {
6+
CheckMenu(ItemName:="", ItemPos:="", MyMenu:="") {
77
; Additional message is necessary before checking current window.
88
; Otherwise process name cannot be retrieved...?
99
MsgBox("Checking current window...", "Vim Ahk")

lib/vim_gui.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class VimGui{
3131
UpdateGui(){
3232
}
3333

34-
ShowGui(ItemName, ItemPos, MyMenu){
34+
ShowGui(ItemName:="", ItemPos:="", MyMenu:=""){
3535
if(this.Obj == 0){
3636
this.Obj := Gui("", this.Title)
3737
this.MakeGui()

lib/vim_state.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
this.Vim.VimToolTip.SetRemoveToolTip(1000)
4444
}
4545

46-
FullStatus(ItemName, ItemPos, MyMenu){
46+
FullStatus(ItemName:="", ItemPos:="", MyMenu:=""){
4747
this.CheckMode(4, , , , 1)
4848
}
4949

0 commit comments

Comments
 (0)