]> git.lizzy.rs Git - micro.git/log
micro.git
5 years agoChanged filename detection for Gentoo etc-portage to include detection of folders
Pia Philipsson [Fri, 19 Oct 2018 07:47:51 +0000 (09:47 +0200)]
Changed filename detection for Gentoo etc-portage to include detection of folders

5 years agoBetter bounds checks for search
Zachary Yedidia [Sun, 14 Oct 2018 21:58:44 +0000 (17:58 -0400)]
Better bounds checks for search

Fixes #1217

5 years agoMerge pull request #1194 from MJBrune/patch-1
Zachary Yedidia [Mon, 24 Sep 2018 20:22:16 +0000 (16:22 -0400)]
Merge pull request #1194 from MJBrune/patch-1

Added an s to command(s)

5 years agoAdded an s to command(s)
Michael Brune [Mon, 24 Sep 2018 20:12:01 +0000 (13:12 -0700)]
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?

5 years agoMerge
Zachary Yedidia [Sat, 22 Sep 2018 03:18:58 +0000 (23:18 -0400)]
Merge

5 years agoLoadAll should reload plugins too
Zachary Yedidia [Sat, 22 Sep 2018 03:18:04 +0000 (23:18 -0400)]
LoadAll should reload plugins too

Fixes #1189

5 years agoMerge pull request #1173 from sc0ttj/enable-auto-highlighting-for-ash-shell
Zachary Yedidia [Mon, 3 Sep 2018 20:57:50 +0000 (16:57 -0400)]
Merge pull request #1173 from sc0ttj/enable-auto-highlighting-for-ash-shell

Update sh.yaml to support Ash scripts

5 years agoUpdate sh.yaml
Scott Jarvis [Sun, 2 Sep 2018 11:52:26 +0000 (11:52 +0000)]
Update sh.yaml

support Ash as well as Bash, Sh, Dash.

5 years agoFix infocmp parser
Zachary Yedidia [Wed, 29 Aug 2018 17:01:38 +0000 (13:01 -0400)]
Fix infocmp parser

Ref #1167

5 years agoMerge
Zachary Yedidia [Wed, 29 Aug 2018 16:16:18 +0000 (12:16 -0400)]
Merge

5 years agoHandle hex codes in infocmp output
Zachary Yedidia [Wed, 29 Aug 2018 16:16:11 +0000 (12:16 -0400)]
Handle hex codes in infocmp output

5 years agoAdd tcelldb error check
Zachary Yedidia [Tue, 28 Aug 2018 18:26:21 +0000 (14:26 -0400)]
Add tcelldb error check

5 years agoMerge pull request #1166 from rexy712/master
Zachary Yedidia [Sat, 25 Aug 2018 23:35:00 +0000 (19:35 -0400)]
Merge pull request #1166 from rexy712/master

Fix UpN to handle going from long line to short line

5 years agoFixed UpN Cursor functionality to properly handle moving from long line to shorter...
rexy712 [Sat, 25 Aug 2018 21:49:58 +0000 (14:49 -0700)]
Fixed UpN Cursor functionality to properly handle moving from long line to shorter line

5 years agoMerge pull request #1165 from ev-dev/master
Zachary Yedidia [Sat, 25 Aug 2018 21:39:13 +0000 (17:39 -0400)]
Merge pull request #1165 from ev-dev/master

Basic syntax highlighting for the GraphQL language based on the official specification

5 years agoMerge pull request #1148 from Calinou/improve-gdscript-syntax
Zachary Yedidia [Sat, 25 Aug 2018 21:38:56 +0000 (17:38 -0400)]
Merge pull request #1148 from Calinou/improve-gdscript-syntax

Improve the GDScript syntax file

5 years agoMerge pull request #1147 from Calinou/fix-c-keyword-highlighting
Zachary Yedidia [Sat, 25 Aug 2018 21:38:29 +0000 (17:38 -0400)]
Merge pull request #1147 from Calinou/fix-c-keyword-highlighting

Fix some keywords being mistakenly highlighted in C syntax

5 years agoBasic syntax highlighting for Graphql based on the official specification
Visual-Knowledge [Fri, 24 Aug 2018 10:25:40 +0000 (03:25 -0700)]
Basic syntax highlighting for Graphql based on the official specification

5 years agoMerge pull request #1160 from supbish/fix-sh-comment
Zachary Yedidia [Tue, 21 Aug 2018 04:03:00 +0000 (21:03 -0700)]
Merge pull request #1160 from supbish/fix-sh-comment

Fix shell comments; fixes #1114

5 years agoFix shell comments; fixes #1114
supbish [Mon, 20 Aug 2018 20:22:07 +0000 (16:22 -0400)]
Fix shell comments; fixes #1114

5 years agoUpdate runtime
Zachary Yedidia [Sat, 18 Aug 2018 22:25:42 +0000 (15:25 -0700)]
Update runtime

5 years agoMerge pull request #1158 from supbish/lua-syntax
Zachary Yedidia [Sat, 18 Aug 2018 22:25:03 +0000 (15:25 -0700)]
Merge pull request #1158 from supbish/lua-syntax

Lua syntax improvements; fixes #1155, fixes #1136

5 years agoLua syntax improvements; fixes #1155, fixes #1136
supbish [Sat, 18 Aug 2018 11:00:51 +0000 (07:00 -0400)]
Lua syntax improvements; fixes #1155, fixes #1136

5 years agoMerge pull request #1157 from supbish/smart-paste-indent
Zachary Yedidia [Sat, 18 Aug 2018 04:23:42 +0000 (21:23 -0700)]
Merge pull request #1157 from supbish/smart-paste-indent

Add "smartpaste" option; fixes #1156

5 years agoAdd "smartpaste" option; fixes #1156
supbish [Sat, 18 Aug 2018 02:37:19 +0000 (22:37 -0400)]
Add "smartpaste" option; fixes #1156

5 years agoMerge pull request #1154 from supbish/luatabs
Zachary Yedidia [Wed, 15 Aug 2018 15:56:10 +0000 (11:56 -0400)]
Merge pull request #1154 from supbish/luatabs

Add GetTabs Lua function

5 years agoAdd GetTabs Lua function
supbish [Wed, 15 Aug 2018 15:18:27 +0000 (11:18 -0400)]
Add GetTabs Lua function

5 years agoOnly show basename of file in tabs unless there are mutliple tabs with the same basen...
Camille [Fri, 10 Aug 2018 20:54:19 +0000 (22:54 +0200)]
Only show basename of file in tabs unless there are mutliple tabs with the same basename (fixes #1079) (#1081)

* Only show basename of file in tabs unless there are mutliple tabs with the same basename (fixes #1079)

* Small fix

5 years agoBump version
Zachary Yedidia [Fri, 10 Aug 2018 17:45:03 +0000 (13:45 -0400)]
Bump version

5 years agoImprove the GDScript syntax file
Hugo Locurcio [Tue, 7 Aug 2018 13:14:59 +0000 (15:14 +0200)]
Improve the GDScript syntax file

More keywords are now recognized. Some leftover syntax definitions
from Python 3 that are not allowed in GDScript were also removed.

5 years agoFix some keywords being mistakenly highlighted in C syntax
Hugo Locurcio [Tue, 7 Aug 2018 12:44:53 +0000 (14:44 +0200)]
Fix some keywords being mistakenly highlighted in C syntax

5 years agoUpdate nightly release script to not duplicate nightlies v1.4.1
Zachary Yedidia [Fri, 20 Jul 2018 00:24:02 +0000 (00:24 +0000)]
Update nightly release script to not duplicate nightlies

5 years agoUpdate ats syntax (#1141)
djmnzp [Mon, 16 Jul 2018 19:37:57 +0000 (21:37 +0200)]
Update ats syntax (#1141)

* Multiple changes
 - Fixed overlapping between the macros and some statements.
 - Added "t" and "abs" as types.
 - Removed "fun0", "fun1", "clo0", "clo1", ..., "prf" from types and added them to the special block as effects.
 - Added "lin", "lincloptr0" and "lincloptr1" as effects.
 - Added "do" and "static" as statements.
 - Added "tupz!" and "prerr!" to the special block.
 - Fixed some typos.

* Updated regex for exhaustive types

* Final touches

* Removed "t" from types

* Minor fix

* Improved support for floats and integers
Make it comply with https://github.com/Hibou57/PostiATS-Utilities/blob/master/doc/lexemes-guide.md

* Chars are now interpreted as strings
Less troubling when working with '"' inside chars or multiline strings

* Reverted strings and chars from multiline to one line
For some reason, having strings on the same line as other symbols breaks the highlighting on the latter

* Add "ldouble" type

5 years agoUpdate runtime and auto-gofmt runtime in make
Zachary Yedidia [Mon, 2 Jul 2018 16:22:32 +0000 (12:22 -0400)]
Update runtime and auto-gofmt runtime in make

5 years agoMerge pull request #1135 from whilei/gofmt-2018-Jun-17-00-39
Zachary Yedidia [Mon, 2 Jul 2018 16:22:05 +0000 (12:22 -0400)]
Merge pull request #1135 from whilei/gofmt-2018-Jun-17-00-39

gofmt

5 years agoAdded syntax highlighting for ATS (#1137)
djmnzp [Mon, 2 Jul 2018 16:19:38 +0000 (18:19 +0200)]
Added syntax highlighting for ATS (#1137)

* Added syntax highlighting for ATS

* Fixed "////" comment not working as intended
Added a hack to make it impossible to match the end of the comment

* Fixed typo, added '#' and '@' as symbols

6 years agoall: gofmt
ia [Sat, 16 Jun 2018 22:41:57 +0000 (00:41 +0200)]
all: gofmt

Run standard gofmt command on project root.

- go version go1.10.3 darwin/amd64

Signed-off-by: ia <isaac.ardis@gmail.com>
6 years agoFix php syntax file
Zachary Yedidia [Mon, 4 Jun 2018 19:13:58 +0000 (15:13 -0400)]
Fix php syntax file

Fixes #1109

6 years agoFix -startpos flag being ignored (#1129)
Dimitar Borislavov Tasev [Mon, 4 Jun 2018 16:27:27 +0000 (17:27 +0100)]
Fix -startpos flag being ignored (#1129)

* Refactored cursor location login into a function. Fixed buffer overflow when line position is 1 more than file lines

* Fixed crash when -startpos has an invalid argument

* Adapted tests to new interface

* Fixed bug where -startpos with lines 0 and 1 would both be on the first line

* Changed Fatalf format back to digits

* Fixed issues with buffer cursor location. Added tests for new function

* ParseCursorLocation will now return an error when path doesnt contain line/col

* Fixed off-by-one line error

* Fixed tests to account for subtracting 1 from the line index

6 years agoMerge pull request #1125 from nabeelomer/master
Zachary Yedidia [Sun, 3 Jun 2018 21:13:22 +0000 (17:13 -0400)]
Merge pull request #1125 from nabeelomer/master

F# Configuration

6 years agoAllows opening files using full path on Windows (#1126)
Dimitar Borislavov Tasev [Sun, 3 Jun 2018 21:13:03 +0000 (22:13 +0100)]
Allows opening files using full path on Windows (#1126)

* Now can open Windows full-path from command line arg

Example that now works: micro.exe D:\myfile.txt

* Now correctly retrieves the path from the input path string. Except for single-letter filenames

* Fixed line/cols, need to make the code prettier

* Fixed path matching with regex by @Pariador

* Fixed not stripping the line/col args from file path

* Added tests for ParseCursorLocation

6 years agoF# Configuration
Nabeel Omer [Tue, 29 May 2018 14:32:58 +0000 (20:02 +0530)]
F# Configuration

6 years agoElixir configuration (#1118)
Sean Charles [Sat, 26 May 2018 14:08:35 +0000 (15:08 +0100)]
Elixir configuration (#1118)

* Elixir configuration

* added exunit support

* end added

6 years agoMerge pull request #1119 from mbesancon/patch-3
Zachary Yedidia [Sat, 26 May 2018 14:08:19 +0000 (10:08 -0400)]
Merge pull request #1119 from mbesancon/patch-3

Update julia.yaml

6 years agoCode optimisation (#1117)
Maxim [Sat, 26 May 2018 14:07:53 +0000 (15:07 +0100)]
Code optimisation (#1117)

* Making sure output files are always closed, plus hash calculation optimisation.

* Parallel hash calculation.

* Minor changes.

* Removed unnecessary memory allocations while trimming trailing whitespace.

* Buffered write.

6 years agoUpdate julia.yaml
mbesancon [Fri, 25 May 2018 16:04:12 +0000 (12:04 -0400)]
Update julia.yaml

added struct to keywords

6 years agoa few miscellaneous fixes and improvements (#1105)
JT Olio [Sun, 13 May 2018 01:31:57 +0000 (19:31 -0600)]
a few miscellaneous fixes and improvements (#1105)

* add binding for more primitive backspace

* support selecting page up and page down

* fix matchbraceleft for braces that start on x=0

* fix multiline copy-paste indenting

let's say you have two lines like

  <space><space>line1
  <space><space>line2

so you start from cursor x=0 and select both lines, then paste.
we don't want any leading whitespace in this case, because the
cursor is already at x=0 and the selection already includes
whitespace.

6 years agoFix ini comment highlighting
Zachary Yedidia [Sun, 13 May 2018 01:29:02 +0000 (21:29 -0400)]
Fix ini comment highlighting

Fixes #1094

6 years agoFix matchbraceleft option
Zachary Yedidia [Sat, 28 Apr 2018 21:42:17 +0000 (17:42 -0400)]
Fix matchbraceleft option

Fixes #1101

6 years agoFix possible crash in findkey
Zachary Yedidia [Sat, 28 Apr 2018 21:16:22 +0000 (17:16 -0400)]
Fix possible crash in findkey

Fixes #1103

6 years agoMerge
Zachary Yedidia [Sat, 28 Apr 2018 21:04:47 +0000 (17:04 -0400)]
Merge

6 years agoAdd hidehelp option
Zachary Yedidia [Sat, 28 Apr 2018 21:04:33 +0000 (17:04 -0400)]
Add hidehelp option

Fixes #1080

6 years agoMake ^X act like ^K when nothing is selected (#1092)
Mark Weston [Mon, 23 Apr 2018 19:34:45 +0000 (22:34 +0300)]
Make ^X act like ^K when nothing is selected (#1092)

* Make ^X act like ^K when nothing is selected

^K is hard to reach with your left hand or requires to use both hands
Also with this you could remove ^K whatsoever and make room for a different command
This is how I configured nano by the way
Line duplication also becomes nearly instantaneous with a flash-quick ^X+^V+^V combo (nano doesn't have a dedicated shortcut)
Small block (5-10 lines) cuts/copies/duplicates can also be made this way

* Remove unnecessary lines

* Call CutLine the right way

6 years agoMerge pull request #1085 from jtolds/themes
Zachary Yedidia [Sat, 21 Apr 2018 20:57:53 +0000 (16:57 -0400)]
Merge pull request #1085 from jtolds/themes

darcula: fix highlighted line and color column

6 years agoMerge pull request #1084 from jtolds/master
Zachary Yedidia [Sun, 8 Apr 2018 00:03:57 +0000 (20:03 -0400)]
Merge pull request #1084 from jtolds/master

home toggles between start of line and start of text

6 years agodarcula: fix highlighted line and color column
JT Olio [Fri, 6 Apr 2018 01:45:11 +0000 (19:45 -0600)]
darcula: fix highlighted line and color column

6 years agohome toggles between start of line and start of text
JT Olio [Thu, 5 Apr 2018 21:25:30 +0000 (15:25 -0600)]
home toggles between start of line and start of text

by default home sends the cursor to the beginning of the line.
if the cursor is at the beginning of the line already though, home
will send the cursor to the first non-whitespace rune. tapping home
will toggle between these two line starts.

6 years agoBuild snap using up-to-date golang
Zachary Yedidia [Tue, 3 Apr 2018 04:53:24 +0000 (00:53 -0400)]
Build snap using up-to-date golang

6 years agoUpdate snapcraft.yaml Go plugin
Zachary Yedidia [Tue, 3 Apr 2018 04:16:19 +0000 (21:16 -0700)]
Update snapcraft.yaml Go plugin

6 years agoUpdate snapcraft.yaml
Zachary Yedidia [Tue, 3 Apr 2018 04:07:12 +0000 (21:07 -0700)]
Update snapcraft.yaml

6 years agofix typo
Zachary Yedidia [Sat, 31 Mar 2018 02:32:48 +0000 (02:32 +0000)]
fix typo

6 years agoAdd docs for SpawnMultiCursorSelect
Zachary Yedidia [Fri, 30 Mar 2018 20:42:28 +0000 (16:42 -0400)]
Add docs for SpawnMultiCursorSelect

6 years agoImplement SpawnMultiCursorSelect (#1046)
dwwmmn [Fri, 30 Mar 2018 20:40:45 +0000 (16:40 -0400)]
Implement SpawnMultiCursorSelect (#1046)

Add function to actions.go which adds a new cursor to the beginning of each line of a selection. Bind to Ctrl-M by default.

6 years agoFix ReplaceHome implementation
Zachary Yedidia [Fri, 30 Mar 2018 20:21:39 +0000 (16:21 -0400)]
Fix ReplaceHome implementation

6 years agoAdd support for ~username syntax (fix #1033) (#1035)
DanielPower [Fri, 30 Mar 2018 20:20:51 +0000 (17:50 -0230)]
Add support for ~username syntax (fix #1033) (#1035)

* Add support for ~username syntax (fix #1033)

* Fixed return string

Also removed non-descriptive variable name `foo`

* moved err declarations outside of if statement

6 years agoMerge
Zachary Yedidia [Fri, 30 Mar 2018 19:59:45 +0000 (15:59 -0400)]
Merge

6 years agoClose fd properly in save
Zachary Yedidia [Fri, 30 Mar 2018 19:59:26 +0000 (15:59 -0400)]
Close fd properly in save

Fixes #1057

6 years agoMerge pull request #1076 from Velocet/patch-1
Zachary Yedidia [Wed, 21 Mar 2018 03:22:51 +0000 (23:22 -0400)]
Merge pull request #1076 from Velocet/patch-1

Create PowerShell.yaml - PowerShell Syntax Highlighting

6 years agoCreate PowerShell.yaml
Velocet [Wed, 21 Mar 2018 02:58:04 +0000 (03:58 +0100)]
Create PowerShell.yaml

6 years agoMerge pull request #1054 from jtolds/master
Zachary Yedidia [Mon, 19 Mar 2018 04:32:26 +0000 (00:32 -0400)]
Merge pull request #1054 from jtolds/master

allow optional brace matching with the closing brace to the left of the cursor

6 years agoMerge pull request #1067 from sum01/issue-1066
Zachary Yedidia [Mon, 19 Mar 2018 04:32:07 +0000 (00:32 -0400)]
Merge pull request #1067 from sum01/issue-1066

Fix #1066 php syntax

6 years agoFix test string formatting
Zachary Yedidia [Fri, 9 Mar 2018 05:39:59 +0000 (00:39 -0500)]
Fix test string formatting

Fixes #1068

6 years agoUpdate fastdirty hash during save
Zachary Yedidia [Thu, 8 Mar 2018 20:07:14 +0000 (15:07 -0500)]
Update fastdirty hash during save

Fixes #1064

6 years agoFix #1066 php syntax
sum01 [Thu, 8 Mar 2018 16:28:38 +0000 (11:28 -0500)]
Fix #1066 php syntax

6 years agoMerge pull request #1045 from emilyaviva/master
Zachary Yedidia [Sat, 3 Mar 2018 01:12:46 +0000 (20:12 -0500)]
Merge pull request #1045 from emilyaviva/master

Organize colorscheme setting documentation

6 years agoMerge pull request #1050 from mathieu-aubin/master
Zachary Yedidia [Sat, 3 Mar 2018 01:11:50 +0000 (20:11 -0500)]
Merge pull request #1050 from mathieu-aubin/master

raster compression

6 years agoMake tab views array public
Zachary Yedidia [Sat, 3 Mar 2018 00:50:33 +0000 (19:50 -0500)]
Make tab views array public

Ref #1024

6 years agoCount replacements in replaceall correctly
Zachary Yedidia [Sat, 3 Mar 2018 00:32:23 +0000 (19:32 -0500)]
Count replacements in replaceall correctly

Fixes #1055

6 years agoallow optionally brace matching with the closing brace to the left of the cursor
JT Olds [Wed, 28 Feb 2018 01:53:04 +0000 (18:53 -0700)]
allow optionally brace matching with the closing brace to the left of the cursor

this behavior, while slightly less obvious, allows for observing what brace you
just closed. as you write closing braces, the brace you closed gets highlighted

6 years agoraster compression
Mathieu [Fri, 23 Feb 2018 18:30:28 +0000 (19:30 +0100)]
raster compression

6 years agoMove setting instructions to top; add some minor organization
Emily Aviva Kapor-Mater [Tue, 20 Feb 2018 20:11:31 +0000 (12:11 -0800)]
Move setting instructions to top; add some minor organization

6 years agoUse regexp replaceall
Zachary Yedidia [Mon, 19 Feb 2018 22:04:09 +0000 (17:04 -0500)]
Use regexp replaceall

Fixes #1038

6 years agoFix SaveAs Lua callback
Zachary Yedidia [Mon, 12 Feb 2018 05:06:31 +0000 (00:06 -0500)]
Fix SaveAs Lua callback

Fixes #1029

6 years agoMerge pull request #1028 from filalex77/patch-1
Zachary Yedidia [Fri, 9 Feb 2018 16:07:14 +0000 (11:07 -0500)]
Merge pull request #1028 from filalex77/patch-1

Fix relative URL for terminfo

6 years agoFix relative URL for terminfo
Oleksii Filonenko [Fri, 9 Feb 2018 15:36:12 +0000 (17:36 +0200)]
Fix relative URL for terminfo

6 years agoMerge
Zachary Yedidia [Thu, 8 Feb 2018 19:18:04 +0000 (14:18 -0500)]
Merge

6 years agoUpdate clipboard
Zachary Yedidia [Thu, 8 Feb 2018 19:17:58 +0000 (14:17 -0500)]
Update clipboard

6 years agoMerge pull request #1026 from mbesancon/patch-2
Zachary Yedidia [Thu, 8 Feb 2018 00:43:28 +0000 (19:43 -0500)]
Merge pull request #1026 from mbesancon/patch-2

Update julia.yaml

6 years agoUpdate julia.yaml
mbesancon [Wed, 7 Feb 2018 22:43:43 +0000 (17:43 -0500)]
Update julia.yaml

added "import" keyword

6 years agoFix resize when prompt is active
Zachary Yedidia [Mon, 5 Feb 2018 03:58:20 +0000 (22:58 -0500)]
Fix resize when prompt is active

Fixes #1020

6 years agoUpdate licenses
Zachary Yedidia [Sun, 4 Feb 2018 19:04:42 +0000 (14:04 -0500)]
Update licenses

6 years agoUpdate license info
Zachary Yedidia [Sun, 4 Feb 2018 16:33:03 +0000 (11:33 -0500)]
Update license info

6 years agoAdd goconvey dependency to vendor
Zachary Yedidia [Sun, 4 Feb 2018 03:33:32 +0000 (22:33 -0500)]
Add goconvey dependency to vendor

Ref #1

6 years agoSupport nano syntax for open at line
Zachary Yedidia [Fri, 2 Feb 2018 21:53:08 +0000 (16:53 -0500)]
Support nano syntax for open at line

Ref #887

6 years agoOpen at line syntax with filename:line:col
Zachary Yedidia [Fri, 2 Feb 2018 18:57:02 +0000 (13:57 -0500)]
Open at line syntax with filename:line:col

Ref #1010
Ref #887
Ref #836

6 years agoUse current view for every action
Zachary Yedidia [Fri, 2 Feb 2018 17:33:13 +0000 (12:33 -0500)]
Use current view for every action

Fixes #1015

6 years agoFix minor issue with autoscroll
Zachary Yedidia [Fri, 2 Feb 2018 01:20:57 +0000 (20:20 -0500)]
Fix minor issue with autoscroll

Fixes #1012

6 years agoImprove ocaml syntax highlighting
Zachary Yedidia [Wed, 31 Jan 2018 03:34:44 +0000 (22:34 -0500)]
Improve ocaml syntax highlighting

6 years agoExit with error on screen initialization
Zachary Yedidia [Tue, 30 Jan 2018 18:04:26 +0000 (13:04 -0500)]
Exit with error on screen initialization

6 years agoFix bad import path
Zachary Yedidia [Tue, 30 Jan 2018 04:42:45 +0000 (23:42 -0500)]
Fix bad import path