This adds the option to pass an opts table to get_location() which overrides the default config that was set when calling setup(). This allows you to, for instance, call get_location() with a shorter depth as shown in the example config for feline.nvim that I added to README.md, with a truncated component version of nvim-gps.
The opts parameter allows you to override depth, separator and/or depth_limit_indicator.
This adds the option to pass an
opts
table toget_location()
which overrides the default config that was set when callingsetup()
. This allows you to, for instance, callget_location()
with a shorter depth as shown in the example config for feline.nvim that I added toREADME.md
, with a truncated component version of nvim-gps.The
opts
parameter allows you to overridedepth
,separator
and/ordepth_limit_indicator
.