travis fix

This commit is contained in:
Tyrel Souza 2024-09-28 22:36:43 -04:00
parent 4cdff74d2b
commit 427302795a
No known key found for this signature in database
GPG Key ID: F3614B02ACBE438E
2 changed files with 14 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"fzf.vim": { "branch": "master", "commit": "1e054c1d075d87903647db9320116d360eb8b024" },
"indent-blankline.nvim": { "branch": "master", "commit": "29be0919b91fb59eca9e90690d76014233392bef" },
"jellybeans.vim": { "branch": "master", "commit": "ef83bf4dc8b3eacffc97bf5c96ab2581b415c9fa" },
"lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" },
"lazy.nvim": { "branch": "main", "commit": "758bb5de98b805acc5eeed8cdc8ac7f0bc4b0b86" },
"logstash.vim": { "branch": "master", "commit": "531fe079e8c964d2b5786bcb5871c72f966adc2a" },
"lualine-lsp-progress": { "branch": "master", "commit": "56842d097245a08d77912edf5f2a69ba29f275d7" },
"lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" },

View File

@ -19,7 +19,7 @@ vim.opt.cursorline = true
vim.opt.cursorcolumn = true
-- Global settings
vim.opt.autochdir = true -- Keep vim's directory context same as the current buffer
vim.opt.autochdir = false -- Keep vim's directory context same as the current buffer
vim.opt.listchars = "tab:> ,trail:.,extends:$,nbsp:_"
vim.opt.fillchars = "fold:-"
@ -196,3 +196,15 @@ let g:vimspector_bottombar_height = 15
let g:vimspector_terminal_maxwidth = 70
]])
local cwd = vim.fn.getcwd()
-- Generate a server address based on the current directory
local server_address = "/tmp/nvim_" .. cwd:gsub("/", "_"):gsub("\\", "_")
local success = pcall(vim.fn.serverstart, server_address)
if not success then
-- print("Error: Unable to start Neovim server. The address '" .. server_address .. "' is already in use.")
else
print("Neovim is listening on: " .. server_address)
end