diff --git a/autoload/nvim-maximize-window-toggle.vim b/autoload/nvim_maximize_window_toggle.vim similarity index 93% rename from autoload/nvim-maximize-window-toggle.vim rename to autoload/nvim_maximize_window_toggle.vim index e284ee3..12890c8 100644 --- a/autoload/nvim-maximize-window-toggle.vim +++ b/autoload/nvim_maximize_window_toggle.vim @@ -5,7 +5,7 @@ " Calling this function again in the new window will " close the tab and go back to the original window "" -function! nvim-maximize-window-toggle#ToggleOnly() +function! nvim_maximize_window_toggle#ToggleOnly() if winnr("$") > 1 " There are more than one window in this tab if exists("b:maximized_window_id") diff --git a/plugin/nvim-maximize-window-toggle.vim b/plugin/nvim-maximize-window-toggle.vim index c591721..5d73ef7 100644 --- a/plugin/nvim-maximize-window-toggle.vim +++ b/plugin/nvim-maximize-window-toggle.vim @@ -1,4 +1,4 @@ "" " Maximize the current buffer as a toggle "" -command! ToggleOnly call nvim-maximize-window-toggle#ToggleOnly() +command! ToggleOnly call nvim_maximize_window_toggle#ToggleOnly()