* feat(#2415): add :NvimTreeHiTest * feat(#2415): split out appearance diagnostics
This commit is contained in:
committed by
GitHub
parent
8cbb1db8e9
commit
b278fc25ae
@@ -2,6 +2,7 @@ local lib = require "nvim-tree.lib"
|
||||
local view = require "nvim-tree.view"
|
||||
local utils = require "nvim-tree.utils"
|
||||
local actions = require "nvim-tree.actions"
|
||||
local appearance_diagnostics = require "nvim-tree.appearance.diagnostics"
|
||||
local events = require "nvim-tree.events"
|
||||
local help = require "nvim-tree.help"
|
||||
local live_filter = require "nvim-tree.live-filter"
|
||||
@@ -39,6 +40,7 @@ local Api = {
|
||||
mappings = {},
|
||||
},
|
||||
commands = {},
|
||||
diagnostics = {},
|
||||
}
|
||||
|
||||
--- Do nothing when setup not called.
|
||||
@@ -245,6 +247,8 @@ Api.config.mappings.get_keymap = wrap(keymap.get_keymap)
|
||||
Api.config.mappings.get_keymap_default = wrap(keymap.get_keymap_default)
|
||||
Api.config.mappings.default_on_attach = keymap.default_on_attach
|
||||
|
||||
Api.diagnostics.hi_test = wrap(appearance_diagnostics.hi_test)
|
||||
|
||||
Api.commands.get = wrap(function()
|
||||
return require("nvim-tree.commands").get()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user