File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ local buf_matchers = {
4040--- @param patterns table<BufMatcherKinds , BufMatcherPatterns> the table of patterns to match
4141--- @param bufnr integer ? of the buffer to match (Default : 0 [current] )
4242--- @param op " and" | " or" ? whether or not to require all pattern types to match or any (Default : " or" )
43- --- @return boolean # whether or not LSP is attached
43+ --- @return boolean # whether or not the buffer filetype,buftype,bufname match a pattern
4444-- @usage local heirline_component = { provider = "Example Provider", condition = function() return require("astroui.status").condition.buffer_matches { buftype = { "terminal" } } end }
4545function M .buffer_matches (patterns , bufnr , op )
4646 if not op then op = " or" end
You can’t perform that action at this time.
0 commit comments