Reilly Wood
580c32bcef
Fix repo.json info in plugin docs ( #2313 )
2021-12-31 02:06:53 -05:00
Dmitry Maluka
87ad6fc0bb
plugins.md: update link to the internal documentation ( #2191 )
...
godoc.org now redirects to pkg.go.dev and it's not obvious how to locate
the internal packages documentation at https://pkg.go.dev/github.com/zyedidia/micro
2021-08-18 15:35:49 -04:00
Dmitry Maluka
c5798b5b8c
Fix softwrap scrolling issues ( #1981 )
...
Softwrap implementation enhanced to fix various issues with scrolling,
centering, relocating etc.
The main idea is simple: work not with simple line numbers but
with (Line, Row) pairs, where Line is a line number in the buffer
and Row is a visual line (a row) number within this line.
The logic remains mostly the same, but simple arithmetic operations
on line numbers are replaced with corresponding operations on
(Line, Row) pairs.
Fixes #632 , #1657
2021-04-07 16:18:51 -04:00
Carlos Henrique Guardão Gandarez
7a5f7e443a
Make more libraries available ( #1917 )
...
* Make more libraries available to plugin dvelopment
* Add Unzip function to util
2020-11-21 01:46:17 -05:00
Marduk Bolaños
225b24f356
Fixed help topic name ( #1876 )
...
The help topic is called `commands` not `command`
2020-10-06 16:55:47 -04:00
Zachary Yedidia
781a2dd826
Add flake8 linter, postinit and preinit
...
Closes #1768
2020-07-13 13:28:26 -04:00
Utkarsh Gupta
b748d0c383
Drop unnecessary Ftoa and FtoaWithDigits function ( #1751 )
...
Fixes : #1749
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org >
2020-06-30 13:19:27 -04:00
Zachary Yedidia
60846f549c
Update plugin documentation
2020-06-24 17:24:45 -04:00
Zachary Yedidia
a7ce85d6f6
Make default plugin options more explicit
...
Ref #1305
2020-02-12 15:34:13 -05:00
Zachary Yedidia
bf1258578c
Expose OpenLogBuf to plugins
2020-02-12 12:35:40 -05:00
Zachary Yedidia
4f628bf30b
Remove incorrect plugin documentation
2020-02-12 00:22:32 -05:00
Zachary Yedidia
ce91e41e5a
Update third party licenses
2020-02-09 00:03:03 -05:00
Zachary Yedidia
57c34e2248
More plugin docs and improve doc formatting
2020-02-08 18:31:06 -05:00
Zachary Yedidia
106ba48079
Add some docs for linter, comment, status
2020-02-07 11:32:12 -05:00
Zachary Yedidia
f5e1f93ee5
Update docs
2020-02-06 19:26:27 -05:00
Zachary Yedidia
b3e40a2644
Make debug mode flag, plugins can access logbuf
2020-01-15 22:25:08 -05:00
Zachary Yedidia
f3e8413e77
More doc updates
2020-01-06 00:01:49 -05:00
Zachary Yedidia
aa66435353
Better plugin docs
2019-12-25 17:05:11 -05:00
Michael Brune
f68149489e
Added an s to command(s)
...
Adding an S seems more intuitive here. The command you are being asked to run there completes to:
`help commands`
not `help command` as one might expect.
Although maybe help aliases might also be something to consider?
2018-09-24 13:12:01 -07:00
Zachary Yedidia
4790c39dfc
Open at line syntax with filename:line:col
...
Ref #1010
Ref #887
Ref #836
2018-02-02 13:57:30 -05:00
Zachary Yedidia
36dc6647dd
Add new shell command documentation
...
Ref #979
2018-01-22 21:03:52 -05:00
Zachary Yedidia
4f41881c10
Make onViewOpen and onBufferOpen the same
...
Ref #948
2018-01-22 15:27:56 -05:00
Zachary Yedidia
3f01101da4
Add onBufferOpen plugin callback
...
Closes #948
2018-01-08 17:08:11 -05:00
Zachary Yedidia
f96e9e9c1d
Update lua go stdlib access documentation
...
Ref #912
2017-11-16 14:29:36 -05:00
Camille Scholtz
9daa05d696
Use more consisten syntax in md files, format tp 80 collumns, fix some typos
2017-10-11 15:16:53 +02:00
Pete Aykroyd
d067de8150
grammar nit
2017-10-01 22:33:03 -04:00
Zachary Yedidia
612658d9c4
Add documentation for new lua functions
2017-09-11 12:23:19 -04:00
Tommy
c4d8b9e7fb
add missing new lua command WorkingDirectory to docs ( #797 )
...
* add missing new lua command WorkingDirectory to docs
* added messenger.AddLog to doc and changed lua commands from . to :
2017-09-02 10:30:19 -04:00
Zachary Yedidia
397361f23d
Add multiple cursor docs + improve docs in general
2017-06-17 17:36:27 -04:00
Colin Rioux
4e5aa4ecc8
Minor fix to documentation
2016-12-14 15:11:57 -05:00
Nicolai Søborg
3de440338d
Update plugin documentation
2016-12-11 01:24:49 +01:00
Zachary Yedidia
291b1d1efc
Use shell to parse command when using JobStart
...
Also changed all occurrences of JobStart to JobSpawn in the linter
plugin.
2016-12-09 10:34:39 -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
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
10sr
856acf4a51
Update plugins.md
2016-11-16 14:14:04 +09:00
Zachary Yedidia
ad0e098a25
Add ByteOffset and ToCharPos to plugin API
2016-10-28 20:34:28 -04:00
Zachary Yedidia
e563211790
Make linter a default plugin once again
2016-10-06 20:28:10 -04:00
Zachary Yedidia
aa624d86e6
Move linter and go plugins to their own repos
...
The linter and go plugins are no longer 'default'. Their installation
should be handled by the plugin manager: `> plugin install go` and
`> plugin install linter`.
The autoclose plugin will remain a default plugin because it provides
a more essential feature.
Closes #397
2016-10-06 17:18:53 -04:00
Florian Sundermann
d7b7cc954a
updated plugin help
2016-10-06 08:24:39 +02:00
Zachary Yedidia
921b828afb
Add some documentation about plugin manager
2016-10-05 18:26:41 -04:00
Zachary Yedidia
0de167b07b
Add new plugin runtime function
2016-09-27 14:24:52 -04:00
Florian Sundermann
6fe20fb305
some additions to the plugin API
...
Those changes were originally used for the snippet plugin which
may not be part of the core.
2016-09-19 13:23:47 +02:00
Zachary Yedidia
149fea8b76
Allow plugins to add their own runtime files
2016-09-16 11:02:10 -04:00
boombuler
d250b9d7b0
allow plugins to have a help file
2016-09-13 09:06:06 +02:00
Andrew Janke
9a09647330
doco: grammar and formatting tweaks
2016-09-09 00:07:58 -04:00
Zachary Yedidia
dce56a2b85
Have HandleShellCommand return the stdout
...
HandleShellCommand will now return the stdout as a string and
it also takes an additional flag indicating whether it should
wait before closing the shell and returning to the editor.
2016-09-06 19:27:57 -04:00
boombuler
c5ac5be764
updated plugin help
2016-09-02 19:50:19 +02:00
Dave Takahashi
64ff933451
Fix a couple typos in help files
2016-08-31 11:01:30 -07:00
Zachary Yedidia
e634b4e180
Fix bug with init.lua
2016-08-25 17:29:58 -04:00
Zachary Yedidia
acc03e9707
Update docs and add some comments
2016-08-25 17:24:13 -04:00