aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/server_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-09-05 05:56:00 -0700
committerGitHub <noreply@github.com>2024-09-05 05:56:00 -0700
commit76aa3e52be7a5a8b53b3775981c35313284230ac (patch)
tree87133e79c4b94d931bef113a234fee56bf1a8a09 /test/functional/vimscript/server_spec.lua
parentf9108378b7a7e08b48685f0a3ff4f7a3a14b56d6 (diff)
downloadrneovim-76aa3e52be7a5a8b53b3775981c35313284230ac.tar.gz
rneovim-76aa3e52be7a5a8b53b3775981c35313284230ac.tar.bz2
rneovim-76aa3e52be7a5a8b53b3775981c35313284230ac.zip
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.
Diffstat (limited to 'test/functional/vimscript/server_spec.lua')
-rw-r--r--test/functional/vimscript/server_spec.lua15
1 files changed, 9 insertions, 6 deletions
diff --git a/test/functional/vimscript/server_spec.lua b/test/functional/vimscript/server_spec.lua
index 8d2025e822..f3c72b7da8 100644
--- a/test/functional/vimscript/server_spec.lua
+++ b/test/functional/vimscript/server_spec.lua
@@ -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".