Siddhant N Trivedi
cf35b8021c
Fix some quality issues ( #1914 )
...
* Add .deepsource.toml
* Fix unnecessary typecasting on `bytes.Buffer`
* Fix check for empty string
* Replace nested if block with else-if
* Replace nested if block with else-if
* Replaced string.Replace() with string.ReplaceAll where n<0
* Remove deepsource toml file
Signed-off-by: siddhant-deepsource <siddhant@deepsource.io>
Co-authored-by: DeepSource Bot <bot@deepsource.io>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2021-01-09 13:39:21 -05: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
Zachary Yedidia
f3b21362f3
Disable fake cursor for Windows Terminal
...
Ref #1900
2020-11-06 13:45:34 -05:00
Zachary Yedidia
f5c6f66c8f
Fix path escaping on Windows
...
Windows does not allow ':' in a path, but for some reason previous
versions still worked, except the file for storing buffer info
(which had a ':' in the name) was not viewable except by opening
it with micro.
Ref #1736
2020-06-27 17:59:28 -04:00
Philipp Emanuel Weidmann
5ce26cca71
Make determining whether a code point represents a combining mark faster ( #1719 )
2020-06-12 00:10:00 -04:00
Zachary Yedidia
79ee757757
Only start autocompletion for alphanumerics
...
Ref #1712
2020-06-08 13:54:31 -04:00
Zachary Yedidia
5c8a2332d9
Use unicode.Mark for combining unicode range
2020-05-20 18:01:10 -04:00
Zachary Yedidia
ff0683d6d0
Final touches for combining character support
2020-05-20 17:00:56 -04:00
Zachary Yedidia
79c0ea17ad
Use CharacterCount over RuneCount
2020-05-20 16:47:08 -04:00
Zachary Yedidia
bdff221870
Use DecodeCharacter over DecodeRune
2020-05-20 16:43:12 -04:00
Zachary Yedidia
ddf70953fe
Support snake case autocompletion
...
Fixes #1655
2020-05-14 21:34:17 -04:00
Zachary Yedidia
9e8d76f2fa
If stdout is a pipe, output to the pipe
...
If you run micro as `micro | cat` for example, micro will disallow
you from saving the file, and when you quit the buffer, the contents
will be sent to the pipe. This allows one to use micro as part of
an interactive unix pipeline.
Closes #1524
2020-02-27 12:39:19 -05:00
Zachary Yedidia
d8584d1ddb
Debug off using default "go build"
...
Ref #1469
2020-02-24 12:55:59 -05:00
Zachary Yedidia
57c34e2248
More plugin docs and improve doc formatting
2020-02-08 18:31:06 -05:00
Zachary Yedidia
35e3bddea0
Modify linter and add plugin cmd
2020-01-30 17:51:04 -05:00
Zachary Yedidia
0abe427026
Make readonly and filetype local-only
2020-01-20 22:03:32 -05:00
Zachary Yedidia
6d0128059b
Finish support for a fake cursor
2020-01-01 22:40:51 -05:00
Zachary Yedidia
d6dd838abd
Better support for fake cursor
2020-01-01 21:29:18 -05:00
Zachary Yedidia
bd0c172667
Improve mouse selection performance
2019-12-28 12:04:43 -05:00
Zachary Yedidia
d29994ada9
Close file
2019-12-25 17:05:11 -05:00
Zachary Yedidia
5b18edf865
Small improvement for replace command
2019-12-25 17:05:11 -05:00
Zachary Yedidia
9eed8bc247
Remove local settings
2019-12-25 17:05:11 -05:00
Zachary Yedidia
4027081e0e
Add linter plugin support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
e3ae38e54a
Autoclose plugin support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
8d85cae4c0
Add autocomplete
2019-12-25 17:05:10 -05:00
Zachary Yedidia
995e1dc704
Add tabmovement support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
4497daaef1
Resolve versions in plugin manager
2019-12-25 17:05:10 -05:00
Zachary Yedidia
739dd28652
Fix test dependencies and travis build
2019-12-25 17:05:10 -05:00
Zachary Yedidia
0612af1590
Change project layout and use go.mod
2019-12-25 17:05:10 -05:00