fix(mappings): load nvim tree mappings always
This commit is contained in:
parent
57915adac7
commit
988b14ec9e
2 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
|||
local map = require('cosmic.utils').map
|
||||
local user_plugins = require('cosmic.config.plugins')
|
||||
|
||||
-- Mappings for plugins that need to be lazy loaded
|
||||
if not vim.tbl_contains(user_plugins.disable, 'nvim-tree') then
|
||||
require('cosmic.plugins.nvim-tree.mappings')
|
||||
end
|
||||
|
||||
-- Quickfix mappings
|
||||
map('n', '<leader>ck', ':cexpr []<cr>')
|
||||
|
|
|
@ -61,7 +61,6 @@ return packer.startup(function()
|
|||
'kyazdani42/nvim-tree.lua',
|
||||
config = function()
|
||||
require('cosmic.plugins.nvim-tree')
|
||||
require('cosmic.plugins.nvim-tree.mappings')
|
||||
end,
|
||||
opt = true,
|
||||
cmd = {
|
||||
|
|
Loading…
Add table
Reference in a new issue