Comments (2)
Thanks for so quickly reply!
Yes, folding is working after adding above configs, cool! The code folding on each method is the best feature I just like.
The 1st point does cause none problem actually, though the aerial info shows like that. So maybe we can think it as an "egg" now.)
from aerial.nvim.
So there are two problems in this report:
- The LSP backend appears to not be attaching properly
- Code folding isn't working
2 is easier so let's start with that. I made a change recently (240888e) to disable the code folding behavior by default. To enable it, you should call setup() with the desired options. These should be explained in the README and in :help aerial
require("aerial").setup({
-- This must be true (or potentially 'auto') for any folding features
manage_folds = true,
-- When you fold code with za, zo, or zc, update the aerial tree as well.
link_folds_to_tree = true,
-- Fold code when you open/collapse symbols in the tree.
link_tree_to_folds = true,
})
Problem 1 is a lot trickier. I tried replicating your config on my computer and
could not reproduce the issue. Seeing as the treesitter backend is active and
working, this may not cause any actual problems. If you do still want to debug
what's happening with the LSP, let me know and I'll give you some code pointers
where you can log debug information and we can hopefully figure out what's going
on.
from aerial.nvim.
Related Issues (20)
- bug: empty telescope preview if users don't call `AerialXXX` command first HOT 1
- Can I write query files for a custom language myself? HOT 3
- feature: change markdown header icons HOT 2
- bug: can't update filter_kind by calling setup() HOT 7
- bug: AerialLine should take precedence over other highlights HOT 1
- bug: "AerialOpen float" is always empty, but "left" and "right" work HOT 11
- bug: :bdelete will crash or close nvim when an inactive Aerial buffer is open HOT 1
- Help with xml query HOT 1
- Question HOT 1
- bug: Floating window is closed when jump even with `close_on_select = false` HOT 2
- bug: Missing symbols when using treesitter as backend HOT 1
- Missing treesitter symbols for javascript HOT 1
- feature request: same method in sub- and/or in super-class; display all the methods of a class including inherited ones HOT 3
- bug: lua/aerial/util.lua:236: attempt to index local 'ignore' (a nil value) HOT 1
- bug: PHP Symbol Outline Not Hierarchical when using LSP HOT 4
- bug: golang missing variables, constants, fields if functions or structs are enabled
- bug: telescope aerial stays at mid HOT 2
- bug: `:AerialToggle` does nothing while the cursor in inside `:Neotree` HOT 1
- Support for filtering by tags in the telescope
- feature request: add option to not ignore diff windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aerial.nvim.