]> git.lizzy.rs Git - micro.git/log
micro.git
6 years agoadded const for julia
mbesancon [Fri, 29 Dec 2017 18:08:21 +0000 (13:08 -0500)]
added const for julia

const is a base keyword

6 years agoMerge
Zachary Yedidia [Thu, 28 Dec 2017 21:05:53 +0000 (16:05 -0500)]
Merge

6 years agoFix options cmdline message
Zachary Yedidia [Thu, 28 Dec 2017 21:05:35 +0000 (16:05 -0500)]
Fix options cmdline message

Ref #969

6 years agoMerge pull request #942 from motet-a/javascript-syntax
Zachary Yedidia [Thu, 28 Dec 2017 19:57:49 +0000 (14:57 -0500)]
Merge pull request #942 from motet-a/javascript-syntax

Improve JavaScript syntax highlighting

6 years agoMerge pull request #960 from nitsakh/insert-issue
Zachary Yedidia [Thu, 28 Dec 2017 19:54:31 +0000 (14:54 -0500)]
Merge pull request #960 from nitsakh/insert-issue

Changes to add support for Insert Key Press

6 years agoMerge pull request #965 from tommyshem/ada
Zachary Yedidia [Thu, 28 Dec 2017 19:52:09 +0000 (14:52 -0500)]
Merge pull request #965 from tommyshem/ada

#964 add ada syntax highlighting file

6 years ago#964 add ada syntax
tommy [Wed, 27 Dec 2017 14:27:42 +0000 (14:27 +0000)]
#964 add ada syntax

6 years agoMerge pull request #961 from sum01/fix_commit_syntax
Zachary Yedidia [Sat, 23 Dec 2017 04:06:37 +0000 (23:06 -0500)]
Merge pull request #961 from sum01/fix_commit_syntax

Fix git-commit comment syntax

6 years agoFix git-commit comment syntax
sum01 [Sat, 23 Dec 2017 01:02:43 +0000 (20:02 -0500)]
Fix git-commit comment syntax
A comment in a git-commit must have the hash at the start of the line, instead of just anywhere in the line.

6 years agoUpdating to make overwrite mode as an action
Nitish Sakhawalkar [Tue, 19 Dec 2017 01:11:00 +0000 (17:11 -0800)]
Updating to make overwrite mode as an action

6 years agoChanges to add support for Insert Key Press
Nitish Sakhawalkar [Fri, 15 Dec 2017 22:43:37 +0000 (14:43 -0800)]
Changes to add support for Insert Key Press

6 years agoImprove JavaScript syntax highlighting
Antoine Motet [Sun, 3 Dec 2017 22:30:29 +0000 (23:30 +0100)]
Improve JavaScript syntax highlighting

- Sort keywords alphabetically
- Use `symbol.operator` for operators instead of `statement`
- Add a basic support for back-tick strings
- Mark unassigned keywords as errors

6 years agocreate plugin folders work on windows fix #931 (#951)
Tommy [Thu, 14 Dec 2017 02:53:30 +0000 (02:53 +0000)]
create plugin folders work on windows fix #931 (#951)

6 years agoDon't autosave buffers with no path
Zachary Yedidia [Wed, 13 Dec 2017 17:43:00 +0000 (12:43 -0500)]
Don't autosave buffers with no path

Closes #955

6 years agoRemove android from actions_other build tag
Zachary Yedidia [Sun, 10 Dec 2017 21:15:06 +0000 (16:15 -0500)]
Remove android from actions_other build tag

Ref #949

6 years agoMerge pull request #946 from tommyshem/luafix
Zachary Yedidia [Mon, 4 Dec 2017 20:41:48 +0000 (15:41 -0500)]
Merge pull request #946 from tommyshem/luafix

fix lua comment block #929

6 years agofix lua comment block
tommy [Mon, 4 Dec 2017 20:30:35 +0000 (20:30 +0000)]
fix lua comment block

6 years agoAdd support for setting local settings via filetype
Zachary Yedidia [Mon, 4 Dec 2017 04:38:09 +0000 (23:38 -0500)]
Add support for setting local settings via filetype

6 years agoStore string keys for bindings
Zachary Yedidia [Mon, 4 Dec 2017 04:15:32 +0000 (23:15 -0500)]
Store string keys for bindings

6 years agoFix ViewType refactor
Zachary Yedidia [Sun, 3 Dec 2017 22:19:51 +0000 (17:19 -0500)]
Fix ViewType refactor

6 years agoMerge
Zachary Yedidia [Sun, 3 Dec 2017 21:49:27 +0000 (16:49 -0500)]
Merge

6 years agoMake ViewType fields public
Zachary Yedidia [Sun, 3 Dec 2017 21:49:05 +0000 (16:49 -0500)]
Make ViewType fields public

Ref #904

6 years agoFix typo in tutorial.md (#940)
Bastien Traverse [Sun, 3 Dec 2017 20:16:50 +0000 (21:16 +0100)]
Fix typo in tutorial.md (#940)

Delete extraneous "plugins" word in line 12.

6 years agoAllow plugins to create view types
Zachary Yedidia [Sun, 3 Dec 2017 20:15:07 +0000 (15:15 -0500)]
Allow plugins to create view types

Closes #904

6 years agoMerge
Zachary Yedidia [Sun, 3 Dec 2017 18:05:50 +0000 (13:05 -0500)]
Merge

6 years agoAdd showkey command
Zachary Yedidia [Sun, 3 Dec 2017 18:05:46 +0000 (13:05 -0500)]
Add showkey command

6 years agostop version error when updating and option to disable builtin plugin. (#939)
Tommy [Sun, 3 Dec 2017 17:41:22 +0000 (17:41 +0000)]
stop version error when updating and option to disable builtin plugin. (#939)

6 years agoMerge
Zachary Yedidia [Sat, 2 Dec 2017 01:39:30 +0000 (20:39 -0500)]
Merge

6 years agoUpdate readme
Zachary Yedidia [Sat, 2 Dec 2017 01:39:25 +0000 (20:39 -0500)]
Update readme

6 years agoTypo (#934)
Petr Shevtsov [Thu, 30 Nov 2017 16:39:44 +0000 (19:39 +0300)]
Typo (#934)

6 years agoAdd `raw` command to view raw terminal esc codes
Zachary Yedidia [Wed, 29 Nov 2017 06:06:16 +0000 (01:06 -0500)]
Add `raw` command to view raw terminal esc codes

6 years agoFix panic on scroll
Zachary Yedidia [Tue, 28 Nov 2017 02:44:29 +0000 (21:44 -0500)]
Fix panic on scroll

Fixes #932

6 years agoImprove command bar keybindings v1.3.4
Zachary Yedidia [Fri, 24 Nov 2017 19:43:26 +0000 (14:43 -0500)]
Improve command bar keybindings

The command bar now supports better keybindings:

CtrlA, CtrlLeft: start of line
CtrlE, CtrlRight: end of line
CtrlF, AltRight: next word
CtrlB, AltLeft: previous word
CtrlW, AltBackspace: delete previous word
CtrlV: Paste
Arrow keys as usual

These keybindings are not rebindable (maybe support will be added
in the future).

6 years agoMinor comment improvement
Zachary Yedidia [Fri, 24 Nov 2017 18:35:11 +0000 (13:35 -0500)]
Minor comment improvement

6 years agoFix autocomplete behavior for empty args
Zachary Yedidia [Fri, 24 Nov 2017 04:04:32 +0000 (23:04 -0500)]
Fix autocomplete behavior for empty args

This also adds a modified version of go-shellwords as a dependency
and removes the dependency on the original go-shellwords.

6 years agoMove incomplete colorschemes and improve cd
Zachary Yedidia [Thu, 23 Nov 2017 20:57:17 +0000 (15:57 -0500)]
Move incomplete colorschemes and improve cd

The default colorschemes should ideally use 256 colors instead
of just 16 colors. The `simple` colorscheme should cover most
16 color use cases. I went through the colorschemes and put the themes
that didn't look good or looked incomplete in an in_progress directory.

This commit also improves the `cd` command behavior when using an
unnamed buffer.

6 years agoCheck width before drawing cellview
Zachary Yedidia [Thu, 23 Nov 2017 19:44:07 +0000 (14:44 -0500)]
Check width before drawing cellview

Fixes #927

6 years agoImprove cmdbar parsing and add -l replace flag
Zachary Yedidia [Wed, 22 Nov 2017 18:54:39 +0000 (13:54 -0500)]
Improve cmdbar parsing and add -l replace flag

The -l flag to the replace command means "literal" and will treat
the search term literally instead of as a regular expression.

The command bar also now supports expanding environment variables
and running expressions through the shell and using the result
in the command.

6 years agoSupport either io/ioutil or ioutil for lua import
Zachary Yedidia [Tue, 21 Nov 2017 21:24:39 +0000 (16:24 -0500)]
Support either io/ioutil or ioutil for lua import

Closes #923

6 years agoImplement retab command
Zachary Yedidia [Tue, 21 Nov 2017 05:51:07 +0000 (00:51 -0500)]
Implement retab command

Ref #919

6 years agoMerge pull request #891 from pranavraja/master
Zachary Yedidia [Sun, 19 Nov 2017 20:47:05 +0000 (15:47 -0500)]
Merge pull request #891 from pranavraja/master

search: Only update lastSearch on ENTER

6 years agoRemove unnecessary authors file
Zachary Yedidia [Sun, 19 Nov 2017 20:40:21 +0000 (15:40 -0500)]
Remove unnecessary authors file

6 years agoMerge pull request #613 from GeigerCounter/build_tools
Zachary Yedidia [Sun, 19 Nov 2017 20:39:32 +0000 (15:39 -0500)]
Merge pull request #613 from GeigerCounter/build_tools

Build tools

6 years agoMerge pull request #847 from sotpapathe/octave_support
Zachary Yedidia [Sat, 18 Nov 2017 21:56:31 +0000 (16:56 -0500)]
Merge pull request #847 from sotpapathe/octave_support

Initial support for Octave/Matlab syntax highlighting

6 years agoUpdate lua go stdlib access documentation
Zachary Yedidia [Thu, 16 Nov 2017 19:29:36 +0000 (14:29 -0500)]
Update lua go stdlib access documentation

Ref #912

6 years agoSupport .cljs and .cljc as clojure files
Zachary Yedidia [Tue, 14 Nov 2017 18:58:28 +0000 (13:58 -0500)]
Support .cljs and .cljc as clojure files

Fixes #911

6 years agoMerge pull request #908 from FujiHaruka/patch-1
Zachary Yedidia [Wed, 8 Nov 2017 05:28:09 +0000 (00:28 -0500)]
Merge pull request #908 from FujiHaruka/patch-1

Update javascript.yaml

6 years agoMinor documentation update
Zachary Yedidia [Wed, 8 Nov 2017 05:23:18 +0000 (00:23 -0500)]
Minor documentation update

6 years agoUpdate javascript.yaml
Fuji Haruka [Mon, 6 Nov 2017 11:52:28 +0000 (20:52 +0900)]
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.

6 years agoAdd a scroll bar option
Zachary Yedidia [Mon, 6 Nov 2017 01:07:14 +0000 (20:07 -0500)]
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

6 years agoAdd installation script instructions to readme
Zachary Yedidia [Tue, 31 Oct 2017 20:16:57 +0000 (16:16 -0400)]
Add installation script instructions to readme

6 years agoFix typo in readme
Zachary Yedidia [Tue, 24 Oct 2017 02:26:45 +0000 (22:26 -0400)]
Fix typo in readme

6 years agoFix issue with multicursor IDs
Zachary Yedidia [Sun, 22 Oct 2017 23:51:16 +0000 (19:51 -0400)]
Fix issue with multicursor IDs

Fixes #899

6 years agoMerge
Zachary Yedidia [Sun, 22 Oct 2017 22:02:18 +0000 (18:02 -0400)]
Merge

6 years agoDon't print error message if history file doesn't exist
Zachary Yedidia [Sun, 22 Oct 2017 22:00:47 +0000 (18:00 -0400)]
Don't print error message if history file doesn't exist

6 years agoMerge pull request #898 from TedSinger/master
Zachary Yedidia [Sun, 22 Oct 2017 15:59:43 +0000 (11:59 -0400)]
Merge pull request #898 from TedSinger/master

savehistory bugfix

6 years agoIf the history file is unreadable or unparseable, Messenger.history remained nil...
Ted Singer [Sat, 21 Oct 2017 22:59:11 +0000 (18:59 -0400)]
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

6 years agoMerge
Zachary Yedidia [Sat, 21 Oct 2017 19:32:34 +0000 (15:32 -0400)]
Merge

6 years agoAdd savehistory option
Zachary Yedidia [Sat, 21 Oct 2017 19:31:04 +0000 (15:31 -0400)]
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

6 years agoMerge pull request #782 from i-amdroid/master
Zachary Yedidia [Sat, 21 Oct 2017 04:12:45 +0000 (00:12 -0400)]
Merge pull request #782 from i-amdroid/master

Added Twilight color scheme

6 years agoUpdate Lua syntax (#893)
therainingmonkey [Sat, 21 Oct 2017 04:10:46 +0000 (06:10 +0200)]
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).

6 years agoFix comment regex for shell filetype
Zachary Yedidia [Sat, 21 Oct 2017 03:57:49 +0000 (23:57 -0400)]
Fix comment regex for shell filetype

Fixes #895

6 years agoMerge pull request #882 from onodera-punpun/ft
Zachary Yedidia [Tue, 17 Oct 2017 04:04:04 +0000 (00:04 -0400)]
Merge pull request #882 from onodera-punpun/ft

Add fish to ftoptions

6 years agoMerge branch 'master' into ft
Zachary Yedidia [Tue, 17 Oct 2017 04:03:57 +0000 (00:03 -0400)]
Merge branch 'master' into ft

6 years agosearch: Only update lastSearch on ENTER
Pranav Raja [Mon, 16 Oct 2017 06:35:57 +0000 (17:35 +1100)]
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.

6 years agoMerge
Zachary Yedidia [Sun, 15 Oct 2017 19:35:54 +0000 (15:35 -0400)]
Merge

6 years agoDon't draw statusline if infobar is off and in use
Zachary Yedidia [Sun, 15 Oct 2017 19:35:19 +0000 (15:35 -0400)]
Don't draw statusline if infobar is off and in use

Fixes #873

6 years agoMerge pull request #890 from Jipok/patch-1
Zachary Yedidia [Sun, 15 Oct 2017 19:32:50 +0000 (15:32 -0400)]
Merge pull request #890 from Jipok/patch-1

Use spaces for nim

6 years agoMerge pull request #880 from onodera-punpun/consistent
Zachary Yedidia [Sun, 15 Oct 2017 19:32:35 +0000 (15:32 -0400)]
Merge pull request #880 from onodera-punpun/consistent

Alphabetically order options, format *.md files

6 years agoMerge pull request #883 from onodera-punpun/lint
Zachary Yedidia [Sun, 15 Oct 2017 19:30:52 +0000 (15:30 -0400)]
Merge pull request #883 from onodera-punpun/lint

alphabetically order linters, add shell linter

6 years agoMerge pull request #888 from matthewgraybosch/master
Zachary Yedidia [Sun, 15 Oct 2017 19:30:35 +0000 (15:30 -0400)]
Merge pull request #888 from matthewgraybosch/master

Update README.md

6 years agoUse spaces for nim
Jipok [Sat, 14 Oct 2017 15:21:41 +0000 (20:21 +0500)]
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.

6 years agoUpdate README.md
Matthew Graybosch [Thu, 12 Oct 2017 17:52:47 +0000 (13:52 -0400)]
Update README.md

Added information for OpenBSD. It works great there. :metal:

6 years agoalphabetically order linters, add shell linter
Camille Scholtz [Wed, 11 Oct 2017 15:47:23 +0000 (17:47 +0200)]
alphabetically order linters, add shell linter

6 years agoAdd fish to ftoptions
Camille Scholtz [Wed, 11 Oct 2017 15:02:37 +0000 (17:02 +0200)]
Add fish to ftoptions

6 years agoUse more consisten syntax in md files, format tp 80 collumns, fix some typos
Camille Scholtz [Wed, 11 Oct 2017 13:16:53 +0000 (15:16 +0200)]
Use more consisten syntax in md files, format tp 80 collumns, fix some typos

6 years agoalphabetically order options
Camille Scholtz [Wed, 11 Oct 2017 12:43:38 +0000 (14:43 +0200)]
alphabetically order options

6 years agoMake settings capitalization consistent
Camille Scholtz [Wed, 11 Oct 2017 12:22:23 +0000 (14:22 +0200)]
Make settings capitalization consistent

6 years agoMerge pull request #876 from yannicka/setlocal-optionvaluecompletion
Zachary Yedidia [Sun, 8 Oct 2017 18:52:50 +0000 (14:52 -0400)]
Merge pull request #876 from yannicka/setlocal-optionvaluecompletion

Add option value completion on setlocal

6 years agoAdd option value completion on setlocal
Yannick Armand [Sun, 8 Oct 2017 16:42:09 +0000 (18:42 +0200)]
Add option value completion on setlocal

6 years agoUpdate readme
Zachary Yedidia [Sat, 7 Oct 2017 20:27:55 +0000 (16:27 -0400)]
Update readme

6 years agoDon't store cmd stdout in string
Zachary Yedidia [Sat, 7 Oct 2017 01:09:53 +0000 (21:09 -0400)]
Don't store cmd stdout in string

Storing the stdout confuses isatty causing programs running within
ShellMode to not format properly.

Fixes #862

6 years agoUpdate runtime
Zachary Yedidia [Sat, 7 Oct 2017 00:43:14 +0000 (20:43 -0400)]
Update runtime

6 years agoAdd docs for binding esc sequences
Zachary Yedidia [Sat, 7 Oct 2017 00:42:58 +0000 (20:42 -0400)]
Add docs for binding esc sequences

6 years agoSupport binding raw escapes codes
Zachary Yedidia [Fri, 6 Oct 2017 18:03:35 +0000 (14:03 -0400)]
Support binding raw escapes codes

6 years agoRevert "Update tcell to use gdamore's fix for idle wakeup"
Zachary Yedidia [Fri, 6 Oct 2017 17:21:53 +0000 (13:21 -0400)]
Revert "Update tcell to use gdamore's fix for idle wakeup"

This reverts commit f01ad3f726701349a2de24ae2e3fcf663f273ee3.

6 years agoUpdate tcell to use gdamore's fix for idle wakeup
Zachary Yedidia [Fri, 6 Oct 2017 17:03:43 +0000 (13:03 -0400)]
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.

6 years agoMerge
Zachary Yedidia [Fri, 6 Oct 2017 15:00:31 +0000 (11:00 -0400)]
Merge

6 years agoAdd paren highlighting for js and update runtime
Zachary Yedidia [Fri, 6 Oct 2017 14:59:43 +0000 (10:59 -0400)]
Add paren highlighting for js and update runtime

6 years agoMerge pull request #868 from nicolasbd/patch-1
Zachary Yedidia [Fri, 6 Oct 2017 14:58:28 +0000 (10:58 -0400)]
Merge pull request #868 from nicolasbd/patch-1

Support .es files and fix js parenthesis highlighting

6 years agosupport es files and fix parenthesis highlighting
Nicolas [Fri, 6 Oct 2017 14:29:49 +0000 (16:29 +0200)]
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

6 years agoMerge pull request #858 from andreaTP/scalaSyntax
Zachary Yedidia [Wed, 4 Oct 2017 19:15:18 +0000 (15:15 -0400)]
Merge pull request #858 from andreaTP/scalaSyntax

a couple more keywords to scala syntax

6 years agoFix save and quit prompt
Zachary Yedidia [Wed, 4 Oct 2017 16:11:20 +0000 (12:11 -0400)]
Fix  save and quit prompt

6 years agoa couple more keywords to scala syntax
andrea [Wed, 4 Oct 2017 09:17:50 +0000 (10:17 +0100)]
a couple more keywords to scala syntax

6 years agoMerge pull request #850 from nitsakh/feat-809
Zachary Yedidia [Wed, 4 Oct 2017 03:49:57 +0000 (23:49 -0400)]
Merge pull request #850 from nitsakh/feat-809

Implementation of Paragraph Feature

6 years agoMerge pull request #852 from popey/patch-3
Zachary Yedidia [Tue, 3 Oct 2017 14:48:46 +0000 (10:48 -0400)]
Merge pull request #852 from popey/patch-3

Ensure snap is built with git version/tag info

6 years agoFix sucmd option
Zachary Yedidia [Tue, 3 Oct 2017 14:48:07 +0000 (10:48 -0400)]
Fix sucmd option

Fixes #854

6 years agoEnsure snap is built with git version/tag info
Alan Pope [Tue, 3 Oct 2017 11:50:47 +0000 (12:50 +0100)]
Ensure snap is built with git version/tag info

Changing from version: master to version: git will prevent the snap being built with the text 'master' as the version, but instead use the latest git tag or version info. This makes it easier to figure out which build is which in the store.

6 years agoMerge
Zachary Yedidia [Tue, 3 Oct 2017 03:44:58 +0000 (23:44 -0400)]
Merge

6 years agoAdd nano-style key menu option
Zachary Yedidia [Tue, 3 Oct 2017 03:44:11 +0000 (23:44 -0400)]
Add nano-style key menu option

Use the `keymenu` option (default `off`) to enable. ToggleKeyMenu is
also bound to `Alt-g` and this info is now displayed in the status line.

Closes #829