Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aerail show_guides desn't work in golang #194

Closed
3Xpl0it3r opened this issue Dec 17, 2022 · 3 comments
Closed

Aerail show_guides desn't work in golang #194

3Xpl0it3r opened this issue Dec 17, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@3Xpl0it3r
Copy link

Describe the bug
When I trigger aerial in golang, "show_guide" config may doesn't work

System information

  • OS: [windows/linux/mac]
  • Neovim version:
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Big-Sur

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.8.1/share/nvim"

Run :checkhealth for more info
  • AerialInfo: [output of :AerialInfo]
Aerial Info
-----------
Filetype: lua
Configured backends:
  treesitter (supported)
  lsp (supported)
  markdown (not supported) [Filetype is not markdown]
  man (not supported) [Filetype is not man]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct
  • Aerial config:
                show_guides = true,

                -- Customize the characters used when show_guides = true
                guides = {
                        -- When the child item has a sibling below it
                        mid_item = "├─",
                        -- When the child item is the last in the list
                        last_item = "└─",
                        -- When there are nested child guides to the right
                        nested_top = "",
                        -- Raw indentation
                        whitespace = "  ",
                },

To Reproduce
Steps to reproduce the behavior:
1.
2.
3.

If possible, provide a minimal file that will trigger the issue:

AerialOpen

Screenshots
image

Additional context
Add any other context about the problem here.

@3Xpl0it3r 3Xpl0it3r added the bug Something isn't working label Dec 17, 2022
@stevearc
Copy link
Owner

That's a byproduct of the structure of Go code. It's very flat; not much nesting. If there's no nesting, then there's no guides.

@3Xpl0it3r
Copy link
Author

@stevearc
image

Is aerial can support display methods of receiver like the picture in golang?

@stevearc
Copy link
Owner

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants