fix luasnip jumping back to snippet with tab after snippet exit
This commit is contained in:
@ -1,11 +1,18 @@
|
||||
return {
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
event = "VeryLazy",
|
||||
config = true,
|
||||
lazy = false,
|
||||
opts = {
|
||||
region_check_events = "CursorHold,InsertLeave,InsertEnter",
|
||||
-- those are for removing deleted snippets, also a common problem
|
||||
delete_check_events = "TextChanged,InsertEnter",
|
||||
},
|
||||
config = function(_, opts)
|
||||
local luasnip = require("luasnip")
|
||||
luasnip.setup(opts)
|
||||
end,
|
||||
dependencies = {
|
||||
"rafamadriz/friendly-snippets",
|
||||
-- "dsznajder/vscode-es7-javascript-react-snippets",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@ function FindProxyForURL(url, host) {
|
||||
// Proxy server (customize this line)
|
||||
var proxy = "PROXY 91.199.147.158:3128";
|
||||
|
||||
// Domains related to ChatGPT/OpenAI
|
||||
var proxy_domains = [
|
||||
// Domains related to ChatGPT/OpenAI
|
||||
"chatgpt.com",
|
||||
"chat.openai.com",
|
||||
"openai.com",
|
||||
@ -11,13 +11,13 @@ function FindProxyForURL(url, host) {
|
||||
"platform.openai.com",
|
||||
"auth0.openai.com",
|
||||
|
||||
// Youtube related domains
|
||||
"*.youtube.com",
|
||||
"youtube.com",
|
||||
"*.googlevideo.com",
|
||||
"googlevideo.com",
|
||||
"ytimg.com",
|
||||
"*.ytimg.com",
|
||||
"*.rs",
|
||||
];
|
||||
|
||||
for (var i = 0; i < proxy_domains.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user