mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
fix: loading status when first opening aerial win
This commit is contained in:
parent
1676b4e535
commit
0f65dc41e2
2 changed files with 5 additions and 0 deletions
1
doc/tags
1
doc/tags
|
@ -20,6 +20,7 @@
|
|||
Aerial aerial.txt /*Aerial*
|
||||
SymbolKind aerial.txt /*SymbolKind*
|
||||
aerial aerial.txt /*aerial*
|
||||
aerial-close-behavior aerial.txt /*aerial-close-behavior*
|
||||
aerial-commands aerial.txt /*aerial-commands*
|
||||
aerial-contents aerial.txt /*aerial-contents*
|
||||
aerial-filetype-map aerial.txt /*aerial-filetype-map*
|
||||
|
|
|
@ -3,6 +3,7 @@ local bindings = require("aerial.bindings")
|
|||
local config = require("aerial.config")
|
||||
local data = require("aerial.data")
|
||||
local layout = require("aerial.layout")
|
||||
local loading = require("aerial.loading")
|
||||
local render = require("aerial.render")
|
||||
local util = require("aerial.util")
|
||||
|
||||
|
@ -49,6 +50,9 @@ local function create_aerial_buffer(bufnr)
|
|||
aer_bufnr,
|
||||
aer_bufnr
|
||||
))
|
||||
if not data:has_symbols(bufnr) then
|
||||
loading.set_loading(aer_bufnr, true)
|
||||
end
|
||||
return aer_bufnr
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue