Browse Source

fix: lazy loading for toggleterm

my-config
Vhyrro 4 years ago
parent
commit
b775023d35
  1. 2
      lua/plugins/configs/nvim-toggleterm.lua
  2. 2
      lua/plugins/init.lua

2
lua/plugins/configs/nvim-toggleterm.lua

@ -1,7 +1,7 @@
return function()
require('toggleterm').setup({
size = Doom.terminal_height,
open_mapping = [[<c-t>]],
open_mapping = [[<F4>]],
hide_numbers = true,
shade_filetypes = {},
shade_terminals = true,

2
lua/plugins/init.lua

@ -119,6 +119,8 @@ return packer.startup(function(use)
config = require('plugins.configs.nvim-toggleterm'),
disable = disabled_terminal,
module = 'toggleterm.terminal',
cmd = { 'ToggleTerm', 'TermExec' },
keys = { { 'n', '<C-t>' }, { 'n', '<F4>' } }
})
-- Viewer & finder for LSP symbols and tags

Loading…
Cancel
Save