Andres Monge
Andres Monge
This is now working :rocket: ``` local M = { 'Exafunction/codeium.vim', config = function() -- Change '' here to any keycode you like. vim.keymap.set('i', '', function() return vim.fn['codeium#Accept']() end, {...
Well yeah, but that emacs style tough =/
Wouldn't it be easier to change https://github.com/AckslD/swenv.nvim/blob/main/lua/swenv/api.lua#L200 : ](https://github.com/AckslD/swenv.nvim/blob/main/lua/swenv/api.lua#L188 : from: ```lua M.auto_venv = function() -- the function tries to activate in-project venvs, if present. Otherwise it tries to activate...
Basically using $VIRTUAL_ENV ``` local virtual_env = os.getenv("VIRTUAL_ENV") if virtual_env then -- Extract the last part of the $VIRTUAL_ENV path local venv_name = virtual_env:match("([^/]+)$") if venv_name then local venv =...
You're right !
You need the request interceptor: ``` javascript // ....... proxy = hoxy.createServer({ reverse: proxyHost }).listen(program.port); // ....... proxy.intercept({ phase: 'request', as: 'json', method: 'POST' }, requestInterceptor); // ....... function requestInterceptor(request,...
I'm not getting any statusCode..... is their a timeOut setting to make it shorter. Or why am I not getting the statusCode ? ``` javascript function responseInterceptor(request, response) { console.log('+++++++++++++++++++...
``` javascript '1': Response { domain: null, _events: { log: [Function] }, _eventsCount: 1, _maxListeners: undefined, _data: { statusCode: 200, headers: {}, slow: {} }, phase: 'request' }, '2': Cycle...
Nothing is been logged. I've managed to resolve this issues by login in the 'response-sent' phase. Yeah, I've trim the request part of the argument cause I didn't tough it...
console.log() never reached, as if the timeOut is way to big, or something like that