File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- *fff.nvim.txt* For Neovim >= 0.10.0 Last change: 2025 September 17
1+ *fff.nvim.txt* For Neovim >= 0.10.0 Last change: 2025 October 04
22
33==============================================================================
44Table of Contents *fff.nvim-table-of-contents*
Original file line number Diff line number Diff line change @@ -187,4 +187,11 @@ function M.get_binary_path()
187187 return get_binary_path (plugin_dir )
188188end
189189
190+ function M .get_binary_cpath_component ()
191+ local plugin_dir = vim .fn .fnamemodify (debug.getinfo (1 , ' S' ).source :sub (2 ), ' :h:h' )
192+ local binary_dir = get_binary_dir (plugin_dir )
193+ local extension = system .get_lib_extension ()
194+ return binary_dir .. ' /lib?.' .. extension
195+ end
196+
190197return M
Original file line number Diff line number Diff line change 1212local base_path = debug.getinfo (1 ).source :match (' @?(.*/)' )
1313
1414local paths = {
15- download .get_binary_path (),
15+ download .get_binary_cpath_component (),
1616 base_path .. ' ../../../target/release/lib?' .. get_lib_extension (),
1717 base_path .. ' ../../../target/release/?' .. get_lib_extension (),
1818}
You can’t perform that action at this time.
0 commit comments