Igor Chubin
90631847ab
renamed languages_data into fmt.comments in ansi.py
2019-02-23 22:21:30 +00:00
Igor Chubin
4fff68bfcb
Merge branch 'master' of https://github.com/chubin/cheat.sh
2019-02-23 21:49:56 +00:00
Igor Chubin
6d74567209
updated cheat paths
2019-02-23 21:45:18 +00:00
Igor Chubin
1d99037284
added lib/postprocessing.py
2019-02-23 20:57:36 +00:00
Igor Chubin
7f2bf6cd2a
minor html related fix
2019-02-23 20:51:23 +00:00
Igor Chubin
e83fd89c8a
routing refactoring (get_answer.py => routing.py + postprocessing.py)
2019-02-17 14:12:08 +01:00
Igor Chubin
f70b13ac34
frontent/ansi.py minor fix
2019-02-17 14:10:43 +01:00
Igor Chubin
94870b8192
searching separated into search.py
2019-02-17 14:10:00 +01:00
Igor Chubin
50f4abacb0
caching separated into cache.py
2019-02-17 14:07:02 +01:00
Igor Chubin
f3f3e6cf99
moved beautifier.py to fmt/comments.py
2019-02-17 00:54:29 +01:00
Igor Chubin
fa3382bff7
routing further refactoring
2019-02-17 00:34:03 +01:00
Igor Chubin
56ec2a8221
parametrizing REDIS
2019-02-17 00:33:37 +01:00
Igor Chubin
7d37b8cc1f
rosetta output format fixed
2019-02-16 21:12:52 +01:00
Igor Chubin
941136f357
removed hanging spaces
2019-02-16 21:12:21 +01:00
Igor Chubin
c59bdab2f2
cheat_wrapper.py splitted into fmt/ and frontend/
2019-02-16 20:11:34 +01:00
Igor Chubin
8fcb4ddd4e
initial octave support ( #121 )
2019-02-08 22:22:07 +00:00
Igor Chubin
b02a8ff4ad
adapter refactoring: separated superclass
2019-02-08 18:08:51 +00:00
Igor Chubin
f5740599d8
new adapter: rosetta ( #112 )
2019-02-08 18:08:17 +00:00
Igor Chubin
b0e7ac46a8
adapters refactoring
2019-02-08 18:04:45 +00:00
Igor Chubin
4d044c0456
initial support for rosettacode integration ( #112 )
2019-02-08 18:03:58 +00:00
Igor Chubin
bd05ce4193
refactored lib/adapter/cmd.py
2019-01-31 14:32:35 +00:00
Igor Chubin
3172318e73
minor cleanup
2019-01-31 00:38:19 +00:00
Igor Chubin
5ba30548d7
big routing refactoring
2019-01-31 00:37:23 +00:00
Igor Chubin
b404a29e10
added initial support for multilingual answers
2019-01-31 00:36:14 +00:00
Igor Chubin
7dfbd50d95
debug starting mode (with env variables)
2019-01-31 00:32:09 +00:00
Igor Chubin
394d9ddf87
fixed bug with :learn highlight
2018-10-13 14:51:19 +00:00
Igor Chubin
24af2326e1
removed some debug output
2018-10-13 14:50:47 +00:00
Igor Chubin
debb7177a8
added new language: c
2018-10-13 14:48:32 +00:00
Igor Chubin
9e7ea4c05e
dutch lang support
2018-09-23 19:13:27 +00:00
Igor Chubin
036f620731
dashes in the query
2018-09-23 19:13:13 +00:00
Igor Chubin
660c55b7b6
moved rep names in globals.py
2018-09-23 19:10:35 +00:00
Igor Chubin
c3728020e6
added late.nz support (/latencies)
2018-09-23 19:10:04 +00:00
Igor Chubin
cc09c3f7a3
configuration file initial support
2018-08-16 19:44:01 +00:00
Igor Chubin
eaf7e335e8
removed cht.sh-posix
2018-08-16 08:11:59 +00:00
Igor Chubin
252731e75b
minor config fixes
2018-08-13 20:42:37 +00:00
Igor Chubin
f953cbfa6b
Merge pull request #89 from bglopez/master
...
Bring up to date with upstream
2018-08-12 14:51:26 +02:00
Brandon Lopez
91c0fcf2d5
Merge branch 'master' of github.com:bglopez/cheat.sh
...
* 'master' of github.com:bglopez/cheat.sh:
Update README.md
minor fixes after refactoring (#79 )
cheat.sh plugins table fixed
cheat.sh editors features list
added new section notation: /EDITOR:filetype/
reverted a08f130562 (cht.sh posix compatibility)
moved POSIX version of cht.sh to share/cht.sh-posix.txt
added initial tests
fixed typo in intro.txt (fixes #63 )
import os to access os.path.join()
clean up colorizer
replace back color names
remove unnecessary boolean assignment
refactor reverse palette for legibility and abstraction
ls -T isn't portable as well, as pointed out by pickfire@.
Make zsh happy as well (in sh mode).
The ksh93 shell doesn't have "local", but "typeset" could be used instead.
Missed non-POSIX array expansion.
Make cht.sh work under POSIX environment.
2018-08-07 13:17:44 -07:00
Brandon Lopez
9fcd941087
Remove some code smells per Sonarcloud
2018-08-07 13:17:28 -07:00
Igor Chubin
199f4bfbe5
minor fixes after refactoring ( #90 )
2018-08-06 22:03:20 +00:00
Luciano Strika
5e82da17d7
correct variable names
2018-08-06 18:55:18 -03:00
Luciano Strika
680ff4ae77
Merge branch 'master' of https://github.com/chubin/cheat.sh
2018-08-06 18:26:44 -03:00
Luciano Strika
058cf454b5
replace / with //
2018-08-06 18:26:18 -03:00
Luciano Strika
cdb253b2a0
refactor functions into methods
2018-08-06 18:26:04 -03:00
Igor Chubin
1bc167ab38
typo fixed
2018-08-06 21:12:35 +00:00
Dave Pearson
8dca10ede4
Emacs: visual-basic-mode is for vb
...
See https://www.emacswiki.org/emacs/visual-basic-mode.el
2018-08-06 22:00:35 +01:00
Dave Pearson
fa4d5b8263
Emacs: perl6-mode is for perl6
...
See https://github.com/hinrik/perl6-mode
2018-08-06 21:58:19 +01:00
Dave Pearson
1b0eef22be
Emacs: delphi-mode is for delphi
...
See https://www.emacswiki.org/emacs/DelphiMode
2018-08-06 21:57:05 +01:00
Dave Pearson
2b1fbfe9cc
Emacs: looks like forth is forth-mode
...
See https://www.emacswiki.org/emacs/Forth-mode
2018-08-06 21:56:08 +01:00
Dave Pearson
50f2a0949c
Emacs: lua-mode is the mode for lua
...
No surprises there!
2018-08-06 21:54:37 +01:00
Dave Pearson
9864d88735
Get the Emacs to language mapping list up and going
...
I've put this together by going though LEXER and looking for the mode that
matches. Where there isn't one I've left a comment as a reminder for someone
to fill in that blank.
I've also included a reminder for hylang.org as it might be nice to have it
in here too.
2018-08-06 21:31:17 +01:00