mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 15:34:53 +01:00
feat: add toggle command for window
This commit is contained in:
parent
b505033bc4
commit
36f997b42e
1 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,7 @@ local state = require('codemp.state')
|
|||
local buffers = require('codemp.buffers')
|
||||
local workspace = require('codemp.workspace')
|
||||
local utils = require('codemp.utils')
|
||||
local window = require('codemp.window')
|
||||
|
||||
local native = require('codemp.loader').load()
|
||||
|
||||
|
@ -29,7 +30,11 @@ local base_actions = {
|
|||
-- only available if state.client is not nil
|
||||
local connected_actions = {
|
||||
id = function()
|
||||
print(" ::codemp#" .. state.client.id)
|
||||
print("> codemp::" .. state.client.id)
|
||||
end,
|
||||
|
||||
toggle = function()
|
||||
window.toggle()
|
||||
end,
|
||||
|
||||
join = function(ws)
|
||||
|
|
Loading…
Reference in a new issue