Commit graph

1627 commits

Author SHA1 Message Date
Zachary Yedidia
6b6fcc8ba0 Minor documentation update 2017-11-08 00:23:18 -05:00
Fuji Haruka
07bfcc9747
Update javascript.yaml
Add statements `async` and `await`.

Its status is stage 3 Draft.
https://tc39.github.io/ecmascript-asyncawait/#async-function-definitions
But I think it's usefull to add, because Node.js >= v7.6 support it.
2017-11-06 20:52:28 +09:00
Zachary Yedidia
423f4675d2 Add a scroll bar option
The option is `scrollbar` and is off by default. The scroll bar is
not interactive (you can't click and drag it) but this will likely
be fixed in the future.

Ref #869
2017-11-05 20:07:14 -05:00
Zachary Yedidia
c01ba97215 Add installation script instructions to readme 2017-10-31 16:16:57 -04:00
Zachary Yedidia
288717451f Fix typo in readme 2017-10-23 22:26:45 -04:00
Zachary Yedidia
a1f3499825 Fix issue with multicursor IDs
Fixes #899
2017-10-22 19:51:16 -04:00
Zachary Yedidia
63fa8fec41 Merge 2017-10-22 18:02:18 -04:00
Zachary Yedidia
b9e916999f Don't print error message if history file doesn't exist 2017-10-22 18:00:47 -04:00
Zachary Yedidia
afedad9977 Merge pull request #898 from TedSinger/master
savehistory bugfix
2017-10-22 11:59:43 -04:00
Ted Singer
d82ea2279d If the history file is unreadable or unparseable, Messenger.history remained nil, causing a panic on read.
Now in that case, we temporarily disable saving history and initialize history to empty, instead of nil
2017-10-21 18:59:11 -04:00
Zachary Yedidia
5b5998cf14 Merge 2017-10-21 15:32:34 -04:00
Zachary Yedidia
7b6430af1c Add savehistory option
When savehistory is enabled, micro will save your command history across
sessions. This includes command-mode, shell-mode, open, jump-to-line...
Anything that uses up-arrow for history in the infobar.

This option is on by default.

Closes #874
2017-10-21 15:31:04 -04:00
Zachary Yedidia
a0d475bebf Merge pull request #782 from i-amdroid/master
Added Twilight color scheme
2017-10-21 00:12:45 -04:00
therainingmonkey
31cd4b5795 Update Lua syntax (#893)
* Edited Lua syntax ('hash' is not a comment in Lua).

* Edited Lua syntax - hash (#) is a symbol in Lua (the length operator).
2017-10-21 00:10:46 -04:00
Zachary Yedidia
19ee4b281e Fix comment regex for shell filetype
Fixes #895
2017-10-20 23:57:49 -04:00
Zachary Yedidia
a171795654 Merge pull request #882 from onodera-punpun/ft
Add fish to ftoptions
2017-10-17 00:04:04 -04:00
Zachary Yedidia
98d8bfa879 Merge branch 'master' into ft 2017-10-17 00:03:57 -04:00
Pranav Raja
7bc2d870cd search: Only update lastSearch on ENTER
This has a few effects:

- `lastSearch` doesn't get overriden with partial searches
unnecessarily, which matches the behaviour of vim/emacs etc.

- Selecting a word, then pressing C-c C-f ENTER works better as you can
now use C-n and C-p to jump to more occurrences of what you just
searched for. Without this C-n would jump to what you searched for
*previously*.

- `lastSearch` will now be updated even if the search did not match -
again, this matches the behaviour of vim/emacs.
2017-10-16 17:44:44 +11:00
Zachary Yedidia
678819683a Merge 2017-10-15 15:35:54 -04:00
Zachary Yedidia
08e46f9112 Don't draw statusline if infobar is off and in use
Fixes #873
2017-10-15 15:35:19 -04:00
Zachary Yedidia
e071209add Merge pull request #890 from Jipok/patch-1
Use spaces for nim
2017-10-15 15:32:50 -04:00
Zachary Yedidia
74e79dc8f2 Merge pull request #880 from onodera-punpun/consistent
Alphabetically order options, format *.md files
2017-10-15 15:32:35 -04:00
Zachary Yedidia
955e8ffb08 Merge pull request #883 from onodera-punpun/lint
alphabetically order linters, add shell linter
2017-10-15 15:30:52 -04:00
Zachary Yedidia
b87a74711e Merge pull request #888 from matthewgraybosch/master
Update README.md
2017-10-15 15:30:35 -04:00
Jipok
ade0e9dd39 Use spaces for nim
From manual:
Nim's standard grammar describes an indentation sensitive language. This means that all the control structures are recognized by indentation. Indentation consists only of spaces; tabulators are not allowed.
2017-10-14 20:21:41 +05:00
Matthew Graybosch
f05f0b06ac Update README.md
Added information for OpenBSD. It works great there. 🤘
2017-10-12 13:52:47 -04:00
Camille Scholtz
f2006f592a alphabetically order linters, add shell linter 2017-10-11 17:47:23 +02:00
Camille Scholtz
5e66489836 Add fish to ftoptions 2017-10-11 17:02:37 +02: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
Camille Scholtz
d76704839a alphabetically order options 2017-10-11 14:43:38 +02:00
Camille Scholtz
329669ce79 Make settings capitalization consistent 2017-10-11 14:22:23 +02:00
Ayman Nedjmeddine
4365b66398
Add a table of contents in the README 2017-10-10 19:37:28 +01:00
Zachary Yedidia
5af5140362 Merge pull request #876 from yannicka/setlocal-optionvaluecompletion
Add option value completion on setlocal
2017-10-08 14:52:50 -04:00
Yannick Armand
bf6ce3a17e Add option value completion on setlocal 2017-10-08 18:42:09 +02:00
Zachary Yedidia
e99fd1337e Update readme 2017-10-07 16:27:55 -04:00
Zachary Yedidia
17dac164ea Don't store cmd stdout in string
Storing the stdout confuses isatty causing programs running within
ShellMode to not format properly.

Fixes #862
2017-10-06 21:09:53 -04:00
Zachary Yedidia
b7c99c52d2 Update runtime 2017-10-06 20:43:14 -04:00
Zachary Yedidia
278aa6b050 Add docs for binding esc sequences 2017-10-06 20:42:58 -04:00
Zachary Yedidia
773c54a40d Support binding raw escapes codes 2017-10-06 14:03:35 -04:00
Zachary Yedidia
74589af1fc Revert "Update tcell to use gdamore's fix for idle wakeup"
This reverts commit f01ad3f726.
2017-10-06 13:21:53 -04:00
Zachary Yedidia
f01ad3f726 Update tcell to use gdamore's fix for idle wakeup
Note that you may encounter merge conflicts if you try to update. If you
do, remove the directory `cmd/micro/vendor/github.com/zyedidia/tcell`
and it will be recloned.
2017-10-06 13:03:43 -04:00
Zachary Yedidia
a0f3ec805d Merge 2017-10-06 11:00:31 -04:00
Zachary Yedidia
ea6012922f Add paren highlighting for js and update runtime 2017-10-06 10:59:43 -04:00
Zachary Yedidia
da33b59858 Merge pull request #868 from nicolasbd/patch-1
Support .es files and fix js parenthesis highlighting
2017-10-06 10:58:28 -04:00
Nicolas
9703d4f52f support es files and fix parenthesis highlighting
* This allows `micro` to use javascript syntax highlighting on `.es`, `.es6|7|8` files
* Fix parenthesis highlighting with @is73 regex, see #864
2017-10-06 16:29:49 +02:00
Zachary Yedidia
f3a30412f4 Merge pull request #858 from andreaTP/scalaSyntax
a couple more keywords to scala syntax
2017-10-04 15:15:18 -04:00
Zachary Yedidia
3116b082d8 Fix save and quit prompt 2017-10-04 12:11:20 -04:00
andrea
3e0a1b4517 a couple more keywords to scala syntax 2017-10-04 10:17:50 +01:00
Zachary Yedidia
ac3de065d9 Merge pull request #850 from nitsakh/feat-809
Implementation of Paragraph Feature
2017-10-03 23:49:57 -04:00
Zachary Yedidia
3e63ec74b9 Merge pull request #852 from popey/patch-3
Ensure snap is built with git version/tag info
2017-10-03 10:48:46 -04:00