Filetype: go
Configured backends:
treesitter (supported)
lsp (supported)
markdown (not supported) [Filetype is not markdown]
man (not supported) [Filetype is not man]
Show symbols: Function, Method, Struct, Field, Variable, Constant
Describe the bug
This bug is related to this setting in the config:
I would expect that it shows the fields, variables and constants also when method function and struct is enabled.
I have no tested this for Enum or other kinds. This also happens for filter_kind = false
Neovim version (nvim -v)
NVIM v0.9.1 Build type: Release LuaJIT 2.1.0-beta3
Operating system/version
MacOS 12.1
Output of :AerialInfo
Aerial Info
Filetype: go
Configured backends:
treesitter (supported)
lsp (supported)
markdown (not supported) [Filetype is not markdown]
man (not supported) [Filetype is not man]
Show symbols: Function, Method, Struct, Field, Variable, Constant
Describe the bug
This bug is related to this setting in the config:
It displays this for those settings:
And if I disable method, function and struct:
I used this file to test it: https://gist.github.com/0xmycf/aa44b2f94db1bcf90d630666dea816ad
I would expect that it shows the fields, variables and constants also when method function and struct is enabled. I have no tested this for Enum or other kinds. This also happens for
filter_kind = false
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
Expected Behavior
There is no difference between
and
besides more or less fields.
Minimal example file
Minimal init.lua
Additional context
Edit: also
type newtype strc
is not recognized as a struct.