mirror of
https://github.com/powerline/powerline.git
synced 2025-07-24 22:36:01 +02:00
The segment tree seemed like a good idea at the time, but for the core code it's probably best to do a single-dimensional array and instead have some duplicated data (common segment attributes). By removing the tree structured segments the code is much simpler to understand and use, and probably quite a bit faster. If a tree structure is wanted for ease of configuration, it could easily be supported in the JSON config files for vim statuslines, and then letting the vim statusline code flatten the configuration into a single-dimensional array for rendering.
The file is empty.
Languages
Python
90.7%
Shell
7.1%
Vim Script
1.8%
C
0.4%