diff options
Diffstat (limited to 'tests/minimal_lsp.lua')
-rw-r--r-- | tests/minimal_lsp.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/minimal_lsp.lua b/tests/minimal_lsp.lua index 12a4a6a9..a4ecd4fb 100644 --- a/tests/minimal_lsp.lua +++ b/tests/minimal_lsp.lua @@ -8,12 +8,7 @@ end vim.cmd [[set runtimepath=$VIMRUNTIME]] -local temp_dir -if on_windows then - temp_dir = vim.loop.os_getenv "TEMP" -else - temp_dir = "/tmp" -end +local temp_dir = vim.loop.os_getenv "TEMP" or "/tmp" vim.cmd("set packpath=" .. join_paths(temp_dir, "nvim", "site")) |