This file contains 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
// Log | |
// === | |
// 140607 - cloned from demo keybindings.ftplugin | |
define(function(require, exports, module) { | |
'use strict'; | |
var Extensions = require('ft/core/extensions').Extensions; | |
Extensions.addInit(function (editor) { |
This file contains 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
// try and handle labels over-writing by altering the label position | |
// pos_gap is a variable that controls how close two labels must be before the position is changed | |
// it can only handle a series of 3 overlapping labels | |
// the first is assigned up a clock position | |
// the second is assigned down a clock positon | |
local pos_gap 0.1 | |
bys this_icode (percent): replace pos = pos + 1 /// | |
if abs(percent[_n] - percent[_n+1]) < `pos_gap' /// | |
& pos[_n] == pos[_n+1] | |
bys this_icode (percent): replace pos = pos - 1 /// |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Solarized (dark)</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |
NewerOlder