ray-x / navigator.lua

Code analysis & navigation plugin for Neovim. Navigate codes like a breeze🎐 Exploring LSP and 🌲Treesitter symbols a piece of 🍰 Take control like a boss 🦍

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to modify code action ui width

gxiaosong opened this issue · comments

The current width is full screen
image

commented

There is a setup:

require'navigator'.setup({
  width = 0.75, -- max width ratio (number of cols for the floating window) / (window width)

AFAIK, the default is 0.62 and it should not go to 1.00. Unless the calculation is not correct. E.g. failed to get the current windows size.

cc
my current configuration
image

seems to still have the same problem

commented

Ok, I see what issue is.
Seems the go code action is too long, need to truncate the size.

commented

Pushed a fix for this issue.

Thanks, the fix worked!