Skip to content

Commit

Permalink
issue #17: cleaner tab and window relation
Browse files Browse the repository at this point in the history
also remove some print command
  • Loading branch information
tuanbass committed Apr 6, 2023
1 parent 8a59ab1 commit 8559264
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion lua/doom/modules/features/tabline/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,20 @@ tabline.packages = {
"akinsho/bufferline.nvim",
branch = "main",
commit = "2d5266d14b7b5dbc54923469b4599f0349f7cedc",
event = "BufAdd",
},
["scope.nvim"] = {
"tiagovla/scope.nvim",
},
}

tabline.configs = {}
tabline.configs["bufferline.nvim"] = function()
print("bufferline.nvim setup")
require("bufferline").setup(doom.features.tabline.settings)
end
tabline.configs["scope.nvim"] = function()
require("scope").setup()
end

tabline.binds = {
"<leader>",
Expand Down
1 change: 0 additions & 1 deletion lua/user/modules/features/hydra/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ M.autocmds = {}
-- code for binding: ddom.services.keymaps.applyKeymaps
M.window_hydra = function()
local Hydra = require("hydra")
print("window_hydra")
Hydra({
name = "Windows",
mode = "n",
Expand Down

0 comments on commit 8559264

Please sign in to comment.