This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * gtk4.js | |
| */ | |
| const gi = require('.') | |
| const GLib = gi.require('GLib', '2.0') | |
| const Gtk = gi.require('Gtk', '4.0') | |
| gi.startLoop() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # License: MIT | |
| # ported from: https://github.com/jhawthorn/fzy.js | |
| # | |
| from typing import List | |
| SCORE_MIN = -100 | |
| SCORE_MAX = +1.0 * 99999999999999999999 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // npm i estree-walker@2 | |
| const { walk } = require('estree-walker') | |
| // These node types will not get any comments attached to them | |
| const skipNodes = new Set([ | |
| 'Identifier', | |
| ]) | |
| /** | |
| * Attach comments to the next node after the comment's location |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if $NVIM_IN_ROXTERM != '1' | |
| finish | |
| end | |
| augroup roxterm | |
| au VimLeave * :call roxterm#save_dimensions() | |
| augroup end | |
| function! roxterm#save_dimensions () abort |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/windows/window-manager.ts b/src/windows/window-manager.ts | |
| index be87fe9..8e5538b 100644 | |
| --- a/src/windows/window-manager.ts | |
| +++ b/src/windows/window-manager.ts | |
| @@ -32,7 +32,16 @@ const getWindowById = (windowId: number) => { | |
| const getInstanceWindows = (id = instances.current) => | |
| [...windows.values()].filter((win) => win.id.startsWith(`i${id}`)) | |
| +let webglTimeout: any; | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir -p build | |
| touch build/.ran-third-party-cmake | |
| ninja -C .deps | |
| ninja: Entering directory `.deps' | |
| [3/3] cd /home/romgrk/github/neovim/.deps && /usr/bin/cmake -E touch .third-party | |
| ninja -C build | |
| ninja: Entering directory `build' | |
| [1/6] cd /home/romgrk/github/neovim && /home/romgrk/github/neovim/.deps/usr/bin/luajit scripts/update_version_stamp.lua build/config/auto/versiondef_git.h v0.5.0 | |
| ninja -C build functionaltest | |
| ninja: Entering directory `build' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * fzy.js | |
| */ | |
| var SCORE_MIN = -Infinity; | |
| var SCORE_MAX = Infinity; | |
| var SCORE_GAP_LEADING = -0.005 | |
| var SCORE_GAP_TRAILING = -0.005 | |
| var SCORE_GAP_INNER = -0.01 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INFO 2020-10-22T02:49:35.049 1148971 channel_create_event:204: new channel 56 (function gitgutter#process_buffer[10]..<SNR>226_setup_path[3]..gitgutter#utility#set_repo_path[12]..gitgutter#async#execute:11) : {"id": 56, "mode": "bytes", "stream": "job"} | |
| INFO 2020-10-22T02:49:35.058 1148971 on_process_exit:392: exited: pid=1149221 status=128 stoptime=0 | |
| INFO 2020-10-22T02:49:35.983 1148971 channel_create_event:204: new channel 57 (function <SNR>191_on_refresh_event[4]..hexokinase#v2#scraper#on:43) : {"id": 57, "mode": "bytes", "stream": "job"} | |
| INFO 2020-10-22T02:49:36.039 1148971 channel_create_event:204: new channel 58 (function <SNR>192_on_bufenter[9]..gitgutter#process_buffer[10]..<SNR>226_setup_path[3]..gitgutter#utility#set_repo_path[12]..gitgutter#async#execute:11) : {"id": 58, "mode": "bytes", "stream": "job"} | |
| INFO 2020-10-22T02:49:36.040 1148971 on_process_exit:392: exited: pid=1149222 status=0 stoptime=0 | |
| INFO 2020-10-22T02:49:36.047 1148971 on_process_exit:392: exited: pid=1149227 status=128 stop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * event-memory-leak.js | |
| */ | |
| const gi = require('.') | |
| const Gtk = gi.require('Gtk', '3.0') | |
| const Cairo = gi.require('cairo') | |
| const Pango = gi.require('Pango') | |
| const PangoCairo = gi.require('PangoCairo') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * convert-datahub-to-experiments.js | |
| */ | |
| const fs = require('fs') | |
| const resolveTerm = require('./resolve-term') | |
| const util = require('util') | |
| util.inspect.defaultOptions = { depth: 4 } | |
| if (process.argv.length < 3) { |