Comments (7)
Yes, and that's not a bug. You should learn some Lua to customize your configuration to your needs. You need to remove the corresponding Lualine component that you don't want. Both of the plugins trouble
and navic
provide their own Lualine component.
PS: Just remembered that there's an option that you can set in your /lua/config/options.lua
to disable trouble Lualine component as you can see here when you have other Extras with similar functionality enabled.
from lazyvim.
Yes, and that's not a bug. You should learn some Lua to customize your configuration to your needs. You need to remove the corresponding Lualine component that you don't want. Both of the plugins
trouble
andnavic
provide their own Lualine component.PS: Just remembered that there's an option that you can set in your
/lua/config/options.lua
to disable trouble Lualine component as you can see here when you have other Extras with similar functionality enabled.
OK,at first, I really didn't notice that there has an trouble
option, that's my fault.
But did you really think this should require manual settings by the user? not automatically?
When I enable navic
by lazy Extras
,that means I want to use it,right? And Lazy Extras
was created for let user can quickly enable/disable a new extra without modifying the configuration file, right?
So If I have to modify the configuration file anyway, then why do I still need to use Lazy Extras
to manage the extra plugin? why don't I just import navic
directly in the configuration file?
PS. I know how to write configurations in Lua, so I suggest you mind your own business and try to learn how to accept different opinions.
from lazyvim.
@leisurelicht I sincerely apologize because I jumped the gun. I regret what I said and that's why I submitted the PR to take into consideration what you suggested, that the user shouldn't be seeing 2 Lualine components for symbols.
from lazyvim.
@dpetka2001 OK, maybe I also got a bit worked up.
I have seen your pr。 No offense intended。I don't think it's a best solution. Just like I said above, when user enable navic
or aerial
by Lazy extras
, they still need to modify configuration file and set vim.g.trouble_lualine
. If user forget to set vim.g.trouble_lualine = false
after enable navic
or aerial
by Lazy Extras
. they will never show。Users might not even realize that the current content displayed in lualine
does not come from the extra plugins they added。This may go against the original intention of LazyExtra
.
So I thought the best way is if user enable navic
or aerial
, disable the trouble
lualine
component. Not first check thetroubel_lualine
, if it's true, then doesn't load extra lualine
component.
Since I still use configuration file to manage extra except language plugins. trouble_lualine
has been enough to solve my problem. So it just a suggestion.
Finally, thank you for the effort you've made to this project.
from lazyvim.
The way it works right now is how it should work. Enabling outline or aerial should NOT replace the default symbols in lualine. Only if the user disables the trouble lualine it should do that.
PS. I know how to write configurations in Lua, so I suggest you mind your own business and try to learn how to accept different opinions.
And I really won't allow this type of language in the LazyVim community. You have been warned.
from lazyvim.
@folke It was my fault to begin with. I wasn't in the right frame of mind when I first replied to OP (it had nothing to do with the OP, it was just personal factors). I should have waited and given a proper response at a later time.
@leisurelicht is not at fault here. He just responded based on my wrong behavior of my first reply. If you want to give someone a warning please give it to me. I will gladly accept it and strive to do better in the future. I'm really sorry you have to deal with such situations when you give your best effort to keep so many users happy with all of your work. Again, I apologize both to you and @leisurelicht.
@leisurelicht I had prepared a PR to do what you suggested, but after seeing the maintainer's response as to what the preferred behavior of the plugins should be, I won't submit it.
from lazyvim.
@dpetka2001 Never mind, It is just a suggestion。
@folke Seriously? Fine,好きにしよう。
from lazyvim.
Related Issues (20)
- bug: Error executing vim.schedule lua callback: vim/keymap.lua:0: E31: No such mapping HOT 1
- bug:Prettier not working again. HOT 16
- bug: The plugin `lazyvim.plugins.extras.lang.sql` doesn't work for new implementations HOT 4
- bug: LazyGit does not inherit colorscheme
- bug:
- bug: angular treesitter not enabled for telescope previews HOT 2
- bug: neotest rustacean does not work with `lazyvim.plugins.extras.test.core` HOT 1
- bug: snippet result is displayed twice with LuaSnip extra
- bug: cannot use `<C-j>` and `<C-k>` in fzf-lua to navigate the results HOT 17
- feature: add mason-tool-installer for auto updating packages HOT 5
- bug: Attempt to index field 'foldupdate_range' (a nil value) HOT 1
- bug: codelldb does not find localhost because it resolves to ipv6 address HOT 1
- bug: fzflua opens file inside picker window HOT 6
- bug: clearjumps on VimEnter doesn't take affect
- bug: Searching Workspace symbols dont work with fzf-lua extra
- bug: fzf & noice history
- bug: yanky plugin error HOT 2
- bug: can not disable lap signature help in insert mode HOT 1
- bug: fzf-lua conflicts with project.nvim
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 lazyvim.