Alan Hamlett
f2f1efc9e1
fix matlab vs objective-c accuracy
2018-03-15 01:26:01 -07:00
Alan Hamlett
cb67d6bb2f
Improved Matlab vs Objective-C language detection
2018-03-15 01:15:16 -07:00
Alan Hamlett
a212d48c57
support for JavaScript imports
2018-03-11 13:29:30 -07:00
Alan Hamlett
f2f9452068
fix pep8 linting errors
2017-10-23 22:01:31 -07:00
Alan Hamlett
409b760be3
No need to cache directory listing
2017-06-08 00:00:51 -07:00
Alan Hamlett
87f205484f
Improve Matlab language detection
2017-06-07 23:32:03 -07:00
Alan Hamlett
149ab8d00e
disable lines count for files larger than 2MB
2017-04-19 23:05:40 -07:00
Alan Hamlett
62923d4ca0
F# takes priority over Forth language
2017-03-04 13:42:44 -08:00
Alan Hamlett
0f02aa91b7
move language priorities into separate file
2017-03-04 13:11:40 -08:00
Alan Hamlett
723dd42fa9
log tracebacks in debug mode when unable to detect language
2017-03-04 10:34:06 -08:00
Alan Hamlett
29f3a99725
make F# higher priority than Forth
2017-02-26 19:25:28 -08:00
Alan Hamlett
1f1db4deee
changes for v7.0.3
2017-02-26 17:08:09 -08:00
Alan Hamlett
8c2685696c
ability to prioritize popular languages over uncommon languages
2017-02-26 17:05:55 -08:00
Alan Hamlett
9ce9d528fd
detect non-C languages in folders with C/C++ files
...
Improves on 2da75aa119
.
2017-02-26 16:26:39 -08:00
Alan Hamlett
d85448b563
minor refactor of language and lexer creation
2017-02-26 16:26:39 -08:00
Alan Hamlett
da3cf30ddd
use language as extra heartbeats key name
2017-02-20 15:29:44 -08:00
Alan Hamlett
f52847d7e9
make --alternate-language cli argument take precedence over detected language
2017-02-20 14:23:02 -08:00
Alan Hamlett
4ea96210f8
give TypeScript higher priority than TypoScript
2017-02-20 13:22:14 -08:00
Alan Hamlett
fad721530a
use alternate language if case-insensitive matches a language in the json files
2017-02-20 12:40:24 -08:00
Alan Hamlett
fd322ba3b6
improve traceback logging and non-utf8 handling
2016-09-01 11:49:12 +02:00
Alan Hamlett
694205ebee
remove unused python token parser method
2016-08-31 17:13:25 +02:00
Alan Hamlett
cacefba4c2
fix traceback logging level logic
2016-06-16 08:02:56 +02:00
Alan Hamlett
4ce1419cc8
correct namespace for pygments.lexers.ClassNotFound error
2016-06-15 21:09:40 +02:00
Alan Hamlett
95a2db0a77
support passing an alternate language to cli
2016-04-19 12:30:44 +02:00
Alan Hamlett
7a38ae9442
update tzlocal package. move packages to python version folder.
2016-04-18 23:27:41 +02:00
Alan Hamlett
9981601a0a
change logging level of traceback messages
2016-02-18 11:48:11 -08:00
Alan Hamlett
ca5bb35bbb
correctly log exception tracebacks
2015-10-22 23:15:57 -07:00
Alan Hamlett
9744df5391
prevent using lexer when None
2015-09-29 02:18:54 -07:00
Alan Hamlett
dfb8ad4502
tests for session caching
2015-09-27 01:04:06 -07:00
Alan Hamlett
ddb01ee894
rename languages as dependencies
2015-09-26 19:26:15 -07:00
Alan Hamlett
1984fe4228
tests for c and cpp dependency detection. change api of TokenParser class.
2015-09-26 13:04:35 -07:00
Alan Hamlett
68436b5700
don't require tests for non-utf8 filesystem encoding
2015-09-08 14:07:14 -07:00
Alan Hamlett
5808a1d77c
test vim modeline detection
2015-09-06 20:46:57 -07:00
Alan Hamlett
0c42ae8a70
force return value from zip to be a list in py3
2015-09-06 20:19:22 -07:00
Alan Hamlett
4c8919f9ac
test C and C++ detection when editing header files
2015-09-06 20:06:36 -07:00
Alan Hamlett
92948386fa
new --entitytype command line arg to replace --notfile
2015-08-29 16:16:14 -07:00
Alan Hamlett
43c461a7cc
try opening files with filesystem encoding when opening with utf-8 causes UnicodeDecodeError
2015-08-23 18:49:34 -07:00
Alan Hamlett
ccb0b11ffb
only use lexer if one was found
2015-08-10 20:10:09 -07:00
Alan Hamlett
2da75aa119
use C++ for header file language if directory contains C++ files
2015-08-10 18:17:50 -07:00
Alan Hamlett
6e9e8a9ce2
move language rules to server, detect header files
...
- move language translations to api server
- move extension rules to api server
- detect correct header file language based on presence of .cpp or .c
files named the same as the .h file
2015-08-10 11:33:39 -07:00
Alan Hamlett
61b9989641
catch exceptions from pygments.modeline.get_filetype_from_buffer
2015-07-02 12:37:24 -07:00
Alan Hamlett
8c0c43e58a
clean up lexer guessing
2015-06-15 18:55:47 -07:00
Alan Hamlett
6591c4e5e9
limit language detection to known file extensions, unless file contents has a vim modeline
2015-06-15 18:26:10 -07:00
Alan Hamlett
368fecfcf1
auxiliary extension map for when no language can be found, not to overwrite detected language
2015-06-12 17:25:04 -07:00
Alan Hamlett
36f6bb9a21
use most accurate language from modeline lexer and filename lexer Pygments guessing functions
2015-06-11 14:11:10 -07:00
Alan Hamlett
caac39c3bf
new --cursorpos argument for the location of cursor within the file's contents
2015-05-06 16:24:25 -07:00
Alan Hamlett
afe9e429b2
new --lineno argument for passing the current line number being edited at time of heartbeat
2015-05-06 15:19:48 -07:00
Alan Hamlett
a4f7c6bc32
new command line argument --notfile for logging time towards things other than files
2015-02-12 17:27:21 -08:00
Alan Hamlett
d3a31fc72d
fix a few bugs and remove unused imports
2015-02-10 12:09:32 -08:00
Alan Hamlett
67c5f02a80
dependency parser base models
2014-12-22 23:12:57 -06:00