Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

how to show souce code line number? #212

Open
asaning opened this issue Mar 28, 2023 · 3 comments
Open

how to show souce code line number? #212

asaning opened this issue Mar 28, 2023 · 3 comments

Comments

@asaning
Copy link

asaning commented Mar 28, 2023

image

it will be great to show souce code line number which location before the method of the name so that we can use number + G to locate it. @simrat39

@gennaro-tedesco
Copy link

Are you sure you need line numbers for that? You can use the in-built method focus_location (usually mapped to o) to focus indeed on the correspondent line number.

@antonkesy
Copy link

+1 for this feature

Would be really convenient!
If you have the outline buffer always open and edit some code.
You won't need to change the focus to the outline to jump to the function in the current buffer.

hedyhli added a commit to hedyhli/outline.nvim that referenced this issue Nov 8, 2023
See reasoning in:
simrat39/symbols-outline.nvim#212

This feature is turned off by default to avoid clutter, and many users
might not want this feature on by default.
@hedyhli
Copy link

hedyhli commented Nov 8, 2023

Hi everyone,

Unfortunately, it seems like simrat39 isn't very active in this plugin lately, so a few days ago I've decided to fork the repo to implement a lot of features people have asked for and fixes users reported from this repo.

I recently also added this feature, which I thought could in fact be useful -- although it's turned off by default:

image

It's entirely up to you if you want to try it out, because for now it's still experimental I have to test it more heavily to be completely stable. That said, all the other extra features and fixes are listed in the readme.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants