Is it possible to show only line values and skip column values ?
collegeimprovements opened this issue ยท 2 comments
Hello!
I'm glad you like the plugin. If you want to change the part that display line and columns numbers, you need to either edit that file: line.lua or create a new file in that directory and add it to the sections
options of the configuration table.
If you choose the first option, in line.lua you could just change that line:
nvim-hardline/lua/hardline/parts/line.lua
Line 29 in 17634e8
to:
return table.concat({get_line(), get_percent()}, ' ')
and to remove the dots, change this line:
to:
local padch = ''
I'm not willing to add these changes to the plugin since I prefer to have a part that display both lines/columns and because it would affect all users, so I encourage you to fork the plugin instead :)
Sure thing. If it's possible to get new config options, it would be great.
But like you said and have mentioned in Readme file, I'll fork the plugin until there is a real demand for this config options from more users.
Thanks again for pointers.