Commit Graph

381 Commits

Author SHA1 Message Date
Anthony Sottile
c08557b6ca remove un-commenting as it's handled by bin/download-theme 2020-03-17 13:13:46 -07:00
Anthony Sottile
006c2bc8e4 Add script for downloading themes 2020-03-17 12:41:52 -07:00
Anthony Sottile
080f6e1d54 Add support for shorthand hex colors 2020-03-17 12:37:31 -07:00
Anthony Sottile
e77a660029 fix for internal extra commas in theme scopes 2020-03-17 12:13:36 -07:00
Anthony Sottile
e32e5b8c05 Fix one edge case with comma scopes 2020-03-17 11:53:23 -07:00
Anthony Sottile
08638f990c Add limited support for named colors
Resolves #41
2020-03-17 11:00:59 -07:00
Anthony Sottile
414adffa9b Fix highlighting edges and unify highlighting code 2020-03-16 15:19:21 -07:00
Anthony Sottile
8d77d5792a use a mapping interface for FileHL.regions 2020-03-15 20:10:44 -07:00
Anthony Sottile
c85c50c207 Move find/replace highlighting to a highlighter 2020-03-15 19:54:13 -07:00
Anthony Sottile
d5376ca6f2 properly detect hidden (.extension-only) files 2020-03-15 19:23:46 -07:00
Anthony Sottile
31e7c9345b Remove this cache, it is essentially a memory leak 2020-03-15 18:09:12 -07:00
Anthony Sottile
41543f8d6c Use default hash for some highlighting primitives
- this improves performance by ~13%
- a lot of time was spent in `tuple.__hash__` for these particular types
- the types that were changed are:
    - constructed once and then kept forever
    - act as "singletons"
2020-03-15 15:45:34 -07:00
Anthony Sottile
1be4e80edd Add syntax highlight for puppet 2020-03-14 15:39:10 -07:00
Anthony Sottile
4eafa3833d v0.0.1 v0.0.1 2020-03-14 14:18:02 -07:00
Anthony Sottile
3f751088db Merge pull request #40 from asottile/update_screenshots
Update screenshots
2020-03-14 14:10:47 -07:00
Anthony Sottile
7f53105e3d Update screenshots 2020-03-14 14:04:30 -07:00
Anthony Sottile
697b012027 Syntax highlighting 2020-03-13 21:07:58 -07:00
Anthony Sottile
1d06a77d44 Highlight trailing whitespace 2020-03-13 20:49:59 -07:00
Anthony Sottile
b52fb15368 Use clrtoeol to draw blank lines 2020-03-13 19:11:59 -07:00
Anthony Sottile
59946cad9a Improve Perf interface 2020-03-12 22:37:05 -07:00
Anthony Sottile
2066bed28e simpler TERM setting (and don't accidentally 256color in suspend) 2020-03-09 14:28:56 -07:00
Anthony Sottile
ec7fbba633 Fix race condition with multiple escape sequences in quick succession
Resolves #31
2020-03-06 16:58:50 -08:00
Anthony Sottile
b11575b998 Fix missing test coverage 2020-03-06 16:58:29 -08:00
Anthony Sottile
1e14929aec Improve performance of large pastes by batching text 2020-03-06 09:43:13 -08:00
Anthony Sottile
85af92537c Merge pull request #36 from asottile/all-repos_autofix_all-repos-manual
Use covdefaults to handle coveragerc
2020-02-29 21:30:46 -08:00
Anthony Sottile
a966aef72d Use covdefaults to handle coveragerc
[covdefaults](https://github.com/asottile/covdefaults)

Committed via https://github.com/asottile/all-repos
2020-02-29 21:11:36 -08:00
Anthony Sottile
ecee5ab1ab Use the default colors instead of the muted ones 2020-02-29 20:26:06 -08:00
Anthony Sottile
e365580985 Ensure PageUp and PageDown go to beginning of line 2020-02-29 16:09:34 -08:00
Anthony Sottile
c248fb2d50 Fix noop cut at end of file
Resolves #35
2020-02-27 16:11:27 -08:00
Anthony Sottile
21ada1750b make a module for typing-related things 2020-02-24 15:31:39 -08:00
Anthony Sottile
b02a6eeb29 Merge pull request #34 from asottile/require_3_6_1
babi: require 3.6.1+
2020-02-24 15:27:37 -08:00
Anthony Sottile
6dbad7791d babi: require 3.6.1+ 2020-02-24 15:24:38 -08:00
Anthony Sottile
bf8e26d4f6 Merge tag 'v0.0.0.post1' 2020-02-24 15:08:36 -08:00
Anthony Sottile
3edcbe621d v0.0.0.post1 2020-02-24 15:05:24 -08:00
Anthony Sottile
c4944669e9 Temporarily restore 3.6.0 support 2020-02-24 15:05:05 -08:00
Anthony Sottile
3c30b25238 Split XDG lookup to a function 2020-02-22 15:35:10 -08:00
Anthony Sottile
1b9114e050 Merge pull request #33 from asottile/split_file
Split babi.py into separate file
2020-02-22 15:17:58 -08:00
Anthony Sottile
a2ffbfd0de Move Screen to babi.screen 2020-02-22 15:11:08 -08:00
Anthony Sottile
babb024c51 move File into its own file 2020-02-22 14:47:14 -08:00
Anthony Sottile
a207ba6302 split out History 2020-02-22 14:33:55 -08:00
Anthony Sottile
9343805ad0 move Perf to its own module 2020-02-22 14:33:55 -08:00
Anthony Sottile
8693894fae Split out Status 2020-02-22 14:33:55 -08:00
Anthony Sottile
524dca9c7a move Prompt to a separate module 2020-02-22 14:33:55 -08:00
Anthony Sottile
b7bb28bd76 move Margin to its own module 2020-02-22 14:33:55 -08:00
Anthony Sottile
e2b5d533b6 Split ListSpy to its own module 2020-02-22 14:33:54 -08:00
Anthony Sottile
b7700b8588 convert babi into a package 2020-02-22 12:35:41 -08:00
Anthony Sottile
9683f15bcf Don't include the bottom line of selection if blank 2020-02-21 19:35:28 -08:00
Anthony Sottile
75151505a7 Add cProfile output to --perf-log 2020-02-19 18:46:25 -08:00
Anthony Sottile
e0b10e8b9c Remove --color-test 2020-02-17 17:08:26 -08:00
Anthony Sottile
a36ea5d1ed Set position at end when defaulting prompt 2020-01-08 22:20:01 -08:00