Commit graph

1195 commits

Author SHA1 Message Date
Zachary Yedidia
6fbff048f0 Fix bug with opening empty files 2016-11-29 16:25:16 -05:00
Zachary Yedidia
370e667e91 Remove debug statements 2016-11-29 13:57:26 -05:00
Zachary Yedidia
eeaac76f5f Use io.Readers to read files more efficiently 2016-11-29 13:44:30 -05:00
Zachary Yedidia
d13f9602ff Merge pull request #449 from 10sr/jobSpawn
Add `JobSpawn()` function for plugin interface
2016-11-29 08:57:41 -05:00
Zachary Yedidia
400ac56651 Make tab.CurView public 2016-11-28 20:50:11 -05:00
Zachary Yedidia
5481a834bf Actually rename width, height, lockWidth, lockHeight 2016-11-28 20:28:40 -05:00
Zachary Yedidia
e53229ec00 Make some view vars public 2016-11-28 20:23:22 -05:00
Zachary Yedidia
cee5a88341 Allow creating splits at arbitrary indices 2016-11-28 20:20:30 -05:00
Zachary Yedidia
1b92700990 Allow splits to be created in either direction
This commit adds the `splitRight` and `splitBottom` options to allow
the user to pick which direction to split in.

This also means that a new split is no longer just appended to the list
of splits.
2016-11-28 19:16:49 -05:00
Zachary Yedidia
78b2a99f2e Display 'No name' for empty files 2016-11-28 12:52:45 -05:00
Zachary Yedidia
4e4b4bfe68 Don't open buffer if there was an error loading the file 2016-11-28 10:51:09 -05:00
Zachary Yedidia
a60d348274 Update to cross compile script 2016-11-27 21:29:29 -05:00
Zachary Yedidia
d1402b6502 Fix for nightly release 2016-11-27 21:19:15 -05:00
Zachary Yedidia
92e44aa6af Provide vendored tarball and zip with future releases 2016-11-27 20:15:33 -05:00
Zachary Yedidia
5311a35f5a Merge pull request #462 from Theodus/pony-syntax
Add pony syntax
2016-11-24 14:15:51 -05:00
theodus
d2e59b525d add pony syntax 2016-11-23 22:38:44 -05:00
Zachary Yedidia
543f840912 Order syntax files, with custom syntax files first
Fixes #460
2016-11-23 14:18:20 -05:00
Zachary Yedidia
ea31c662c5 Optimize startup 2016-11-23 11:56:12 -05:00
Zachary Yedidia
c9b9b3d27f Update runtime 2016-11-20 11:07:04 -05:00
Zachary Yedidia
59251ee5d0 Merge pull request #459 from clemenscorny/master
vhdl syntax file
2016-11-20 11:06:44 -05:00
Clemens Korner
6fd117c5f8 vhdl syntax file 2016-11-20 16:43:48 +01:00
Zachary Yedidia
0fbae7610c Fix buffer name problem
Fixes #458
2016-11-19 19:07:51 -05:00
Zachary Yedidia
c692570212 Replace CtrlO with open command
This comit also makes it possible for a binding to auto-type the
beginning of a command into command mode.

Closes #450
2016-11-19 12:57:54 -05:00
Zachary Yedidia
3ecdd96931 Add cd and pwd commands to change the working dir
Closes #451
2016-11-18 16:48:08 -05:00
10sr
7bc8d77387 Add Buffer.AbsPath and a plugin function DirectoryName (#455)
* Add Buffer.AbsPath

* Add a plugin function DirectoryName

* Update plugins.md
2016-11-18 11:53:48 -05:00
Zachary Yedidia
4ce02e4c85 Add foundation for resizing splits arbitrarily
This commit adds the ability to lock a split's width or height so
you can have splits that aren't equally sized. It isn't yet possible
for users to resize splits but the functionality has been implemented.
2016-11-16 12:36:48 -05:00
10sr
856acf4a51 Update plugins.md 2016-11-16 14:14:04 +09:00
10sr
d70a2fe63d Add plugin function JobSpawn 2016-11-16 14:06:12 +09:00
Zachary Yedidia
855c5283e4 Fix minor issue with makefile
Ref #448
2016-11-14 20:10:10 -05:00
Zachary Yedidia
60f2c1e4cf Merge pull request #447 from samdmarshall/objective-c-syntax
Objective-C syntax rules
2016-11-13 18:53:09 -05:00
Samantha Marshall
935d390911
updating types 2016-11-13 15:05:07 -08:00
Samantha Marshall
0d09aabad6
adding objective-c syntax rules 2016-11-13 15:02:20 -08:00
Zachary Yedidia
89c468924e Fix rare out of bounds error with selections
Fixes #446
2016-11-11 20:12:21 -05:00
Zachary Yedidia
d0d167b663 Put linted classfiles in temp directory
Fixes #445
2016-11-09 17:30:25 -05:00
Zachary Yedidia
e721ef8d46 Merge 2016-11-08 09:35:06 -05:00
Zachary Yedidia
7c2baa6086 Add default ftoptions plugin to override settings
The ftoptions plugin will override values in settings.json based
on language requirements (e.g. using tabs in makefiles).
2016-11-08 09:34:12 -05:00
Zachary Yedidia
36ecf226a9 Merge pull request #444 from samdmarshall/c-hex-numbers
adding hexidecimal numbers to the existing C syntax rules
2016-11-08 09:24:18 -05:00
Samantha Marshall
87b5903f6a
adding hexidecimal numbers to the existing C syntax rules 2016-11-07 11:42:43 -08:00
Zachary Yedidia
4c0b00bf2b Reset ModTime even if WriteFile fails
Ref #440
2016-11-03 10:55:44 -04:00
Zachary Yedidia
b4b0eda7d9 Merge pull request #433 from ilius/pr03.python_syntax
Fixes in Python 2.7 syntax, add Python 3.x syntax
2016-10-29 10:20:41 -04:00
Zachary Yedidia
a83ecd477e Merge pull request #436 from jncraton/paste-cleanup
Removed duplicate paste code for OS-level paste
2016-10-29 10:20:16 -04:00
Jon Craton
55add69fa0 Removed duplicate paste code for OS-level paste 2016-10-28 23:15:55 -04:00
Zachary Yedidia
199c295f1f Merge 2016-10-28 20:34:38 -04:00
Zachary Yedidia
ad0e098a25 Add ByteOffset and ToCharPos to plugin API 2016-10-28 20:34:28 -04:00
Zachary Yedidia
eee9c54a27 Merge pull request #435 from jncraton/bottomline-selection-fix
Search entire file for soft wrap location instead of line 1 to the number of lines in view
2016-10-28 20:00:59 -04:00
Jon Craton
9719e6caa7 Search entire file instead of line 1 to the number of lines in view 2016-10-28 19:42:17 -04:00
Saeed Rasooli
418720f6df add python3 syntax highlighting (detect from header) 2016-10-28 21:01:44 +03:30
Saeed Rasooli
80bd2694d6 fixes in python (2.7) syntax file, and rename to python2.micro
constants: sort by name, and __file__, remove __import__
functions: add next, help, __import__
separate types (like int and str) from builtin functions
separate and comment out methods/attrs of standard library (why hightlight?)
comment out NonSenseTypes like IntType, they are never used in code
magic methods: add __dict__
exec and map are functions, not keyword
remove trailing spaces
2016-10-28 21:01:43 +03:30
Saeed Rasooli
f6b7aaebbd Improvement: FindFileType: header regex should be prior to file extention 2016-10-28 21:01:43 +03:30
Zachary Yedidia
74610b8cd7 Fix problem with calculation Bottomline
Fixes #432
2016-10-26 12:29:23 -04:00