From 077536ad09ffe81d67d879453c93180474f9ed32 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima <hugo.pl@gmail.com> Date: Wed, 22 Jan 2025 11:07:47 -0300 Subject: [PATCH] Report visibility of private methods to aerial nvim plugin. They are show fadeout in the sidebar. --- queries/nvim/aerial.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/queries/nvim/aerial.scm b/queries/nvim/aerial.scm index 330c641..4d9bb96 100644 --- a/queries/nvim/aerial.scm +++ b/queries/nvim/aerial.scm @@ -14,6 +14,12 @@ name: (constant) @name (#set! "kind" "Enum")) @symbol +(method_def + visibility: (private) + name: (identifier) @name + (#set! "kind" "Method") + (#set! "scope" "private")) @symbol + (method_def name: (identifier) @name (#set! "kind" "Method")) @symbol