feat(defaults): popupmenu "Open in browser", "Go to definition" #30261

- Use the popup to expose more features such as LSP and gx.
- Move the copy/paste items lower in the menu, they are lower priority.
This commit is contained in:
Justin M. Keyes
2024-09-05 05:56:00 -07:00
committed by GitHub
parent f9108378b7
commit 76aa3e52be
11 changed files with 191 additions and 49 deletions

View File

@@ -18,12 +18,16 @@ local function clear_serverlist()
end
end
describe('server', function()
after_each(function()
check_close()
os.remove(testlog)
end)
after_each(function()
check_close()
os.remove(testlog)
end)
before_each(function()
os.remove(testlog)
end)
describe('server', function()
it('serverstart() stores sockets in $XDG_RUNTIME_DIR', function()
local dir = 'Xtest_xdg_run'
mkdir(dir)
@@ -172,7 +176,6 @@ end)
describe('startup --listen', function()
it('validates', function()
os.remove(testlog)
clear { env = { NVIM_LOG_FILE = testlog } }
-- Tests args with and without "--headless".