]>
git.lizzy.rs Git - micro.git/log
Patrick Weingärtner [Fri, 26 Jul 2019 02:57:53 +0000 (04:57 +0200)]
( #1358 ) add vue single-file component syntax highlighting (#1359)
* add vue single-file component syntax highlighting
* remove unnecessary new line
Zachary Yedidia [Fri, 26 Jul 2019 02:57:33 +0000 (19:57 -0700)]
Merge pull request #1360 from Lisiadito/js
add TODO to javascript highlighting
Patrick Weingaertner [Thu, 25 Jul 2019 21:22:15 +0000 (23:22 +0200)]
add TODO to JS highlighting
Antonino Siena [Sat, 6 Jul 2019 05:51:12 +0000 (07:51 +0200)]
Added Ziglang syntax support (#1354)
* Added Ziglang syntax support
* Removed unused constant string markup
* Added 'fn' as keyword
* Added constant matching ending with numbers and proper hexadecimal matching
* Added missing types
* Added all keywords in alphabetical order
Zachary Yedidia [Sat, 6 Jul 2019 05:50:58 +0000 (01:50 -0400)]
Merge pull request #1353 from jakobnissen/master
Updated Julia number and string syntax highlighting
Zachary Yedidia [Sat, 6 Jul 2019 05:50:46 +0000 (01:50 -0400)]
Merge pull request #1352 from Akito13/master
Additional file extensions
Zachary Yedidia [Sat, 6 Jul 2019 05:50:28 +0000 (01:50 -0400)]
Merge pull request #1331 from corbuntus/master
Dlang character syntax highlighting
Zachary Yedidia [Sat, 6 Jul 2019 05:49:57 +0000 (01:49 -0400)]
Merge pull request #1310 from coolreader18/elm-syntax
Add Elm syntax file
Jakob Nybo Nissen [Mon, 1 Jul 2019 10:47:16 +0000 (12:47 +0200)]
Updated Julia number and string syntax highlighting
Akito13 [Mon, 1 Jul 2019 01:30:58 +0000 (03:30 +0200)]
Additional file extensions
* Added support for Nimscript files
corbuntus [Fri, 24 May 2019 18:12:45 +0000 (20:12 +0200)]
Fix zyedidia#1330: Dlang character syntax highlighting
coolreader18 [Fri, 26 Apr 2019 03:45:23 +0000 (22:45 -0500)]
Add Elm syntax file
Zachary Yedidia [Sat, 5 Jan 2019 03:58:35 +0000 (22:58 -0500)]
Merge pull request #1253 from ColinRioux/master
Fixes missing syntax highlighting for TCL
Colin Rioux [Fri, 21 Dec 2018 17:50:33 +0000 (12:50 -0500)]
Fixes #1249
Zachary Yedidia [Mon, 10 Dec 2018 19:33:21 +0000 (14:33 -0500)]
Update runtime
Zachary Yedidia [Mon, 10 Dec 2018 19:32:06 +0000 (14:32 -0500)]
Merge pull request #1200 from Calinou/add-systemd-timer-section
Add [Timer] section to systemd highlighting
Zachary Yedidia [Mon, 10 Dec 2018 19:31:48 +0000 (14:31 -0500)]
Merge pull request #1206 from kylebarron/material-colorscheme
Add Material colorscheme
Zachary Yedidia [Mon, 10 Dec 2018 19:31:26 +0000 (14:31 -0500)]
Merge pull request #1223 from piaph/syntax_highlight_files_in_gentoo_portage_folders
Changed regex for Gentoo etc-portage to include detection of folders
Zachary Yedidia [Mon, 10 Dec 2018 19:31:05 +0000 (14:31 -0500)]
Merge pull request #1201 from Calinou/use-more-ini-highlighting
Highlight .tscn, .tres and project.godot files using INI syntax
Zachary Yedidia [Mon, 10 Dec 2018 19:30:25 +0000 (14:30 -0500)]
Merge pull request #1202 from luizbills/patch-1
add 'from' and 'of' keywords in javascript syntax file
Zachary Yedidia [Mon, 10 Dec 2018 19:30:08 +0000 (14:30 -0500)]
Merge pull request #1203 from luizbills/patch-2
detect '.mjs' as javascript file
Zachary Yedidia [Mon, 10 Dec 2018 19:29:53 +0000 (14:29 -0500)]
Merge pull request #1220 from yvendruscolo/patch-1
match .edn files
Zachary Yedidia [Mon, 10 Dec 2018 19:28:21 +0000 (14:28 -0500)]
Merge pull request #1205 from kylebarron/python-syntax-fixes
Use symbol.operator and symbol.brackets scopes correctly in Python syntax file
Zachary Yedidia [Mon, 10 Dec 2018 19:28:03 +0000 (14:28 -0500)]
Merge pull request #1207 from kylebarron/stata-syntax
Add Stata syntax file
Zachary Yedidia [Mon, 10 Dec 2018 19:27:45 +0000 (14:27 -0500)]
Merge pull request #1233 from teresy/simplify-index
simplify cases of strings.Index with strings.Contains
Zachary Yedidia [Mon, 10 Dec 2018 19:27:30 +0000 (14:27 -0500)]
Merge pull request #1234 from kylebarron/python-docstring
Python syntax: docstring should be string, not comment
Zachary Yedidia [Mon, 10 Dec 2018 19:27:16 +0000 (14:27 -0500)]
Merge pull request #1241 from Danmou/patch-1
Allow more ways to write booleans in YAML
Zachary Yedidia [Mon, 10 Dec 2018 19:26:59 +0000 (14:26 -0500)]
Merge pull request #1242 from dwwmmn/dwwmmn-erl
Add syntax file for Erlang
Drew Malzahn [Fri, 23 Nov 2018 14:37:51 +0000 (09:37 -0500)]
Add syntax file for Erlang
Syntax hilighting for Erlang. Comment definition taken from:
https://github.com/zyedidia/micro/blob/
d953339a565abc11a19863cac4b4610fca56bcc7 /runtime/syntax/ocaml.yaml
Daniel Mouritzen [Thu, 22 Nov 2018 10:00:23 +0000 (11:00 +0100)]
Allow more ways to write booleans in YAML
See http://yaml.org/type/bool.html and http://yaml.org/spec/1.2/spec.html#id2805071
Kyle Barron [Sun, 4 Nov 2018 17:36:39 +0000 (12:36 -0500)]
Python syntax: docstring should be string, not comment
teresy [Fri, 2 Nov 2018 22:57:28 +0000 (18:57 -0400)]
simplify cases of strings.Index with strings.Contains
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
yvendruscolo [Tue, 16 Oct 2018 13:39:09 +0000 (10:39 -0300)]
match .edn files
there was no file/match for edn (Clojure's json) files, so that would solve it
Zachary Yedidia [Sun, 14 Oct 2018 21:58:44 +0000 (17:58 -0400)]
Better bounds checks for search
Fixes #1217
Kyle Barron [Tue, 2 Oct 2018 19:46:38 +0000 (15:46 -0400)]
Add Stata syntax file
Kyle Barron [Tue, 2 Oct 2018 19:45:40 +0000 (15:45 -0400)]
Add identifier.macro color
Kyle Barron [Tue, 2 Oct 2018 18:44:13 +0000 (14:44 -0400)]
Add Material colorscheme
Kyle Barron [Tue, 2 Oct 2018 17:54:29 +0000 (13:54 -0400)]
Use symbol.operator and symbol.brackets scopes correctly
Luiz Paulo "Bills [Sun, 30 Sep 2018 02:23:42 +0000 (23:23 -0300)]
add 'of' statement
Luiz Paulo "Bills [Sat, 29 Sep 2018 17:43:10 +0000 (14:43 -0300)]
detect '.mjs' as javascript file
`.mjs` extension will be used as ECMAScript Modules
Luiz Paulo "Bills [Sat, 29 Sep 2018 17:40:20 +0000 (14:40 -0300)]
add 'from' in javascript syntax file
Hugo Locurcio [Sat, 29 Sep 2018 09:46:27 +0000 (11:46 +0200)]
Add [Timer] section to systemd highlighting
Hugo Locurcio [Sat, 29 Sep 2018 10:10:04 +0000 (12:10 +0200)]
Highlight .tscn, .tres and project.godot files using INI syntax
This also removes header detection for INI syntax, which could
occasionally cause other file types (such as systemd service files)
to be detected as INI.
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)
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?
Zachary Yedidia [Sat, 22 Sep 2018 03:18:58 +0000 (23:18 -0400)]
Merge
Zachary Yedidia [Sat, 22 Sep 2018 03:18:04 +0000 (23:18 -0400)]
LoadAll should reload plugins too
Fixes #1189
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
Scott Jarvis [Sun, 2 Sep 2018 11:52:26 +0000 (11:52 +0000)]
Update sh.yaml
support Ash as well as Bash, Sh, Dash.
Zachary Yedidia [Wed, 29 Aug 2018 17:01:38 +0000 (13:01 -0400)]
Fix infocmp parser
Ref #1167
Zachary Yedidia [Wed, 29 Aug 2018 16:16:18 +0000 (12:16 -0400)]
Merge
Zachary Yedidia [Wed, 29 Aug 2018 16:16:11 +0000 (12:16 -0400)]
Handle hex codes in infocmp output
Zachary Yedidia [Tue, 28 Aug 2018 18:26:21 +0000 (14:26 -0400)]
Add tcelldb error check
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
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
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
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
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
Visual-Knowledge [Fri, 24 Aug 2018 10:25:40 +0000 (03:25 -0700)]
Basic syntax highlighting for Graphql based on the official specification
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
supbish [Mon, 20 Aug 2018 20:22:07 +0000 (16:22 -0400)]
Fix shell comments; fixes #1114
Zachary Yedidia [Sat, 18 Aug 2018 22:25:42 +0000 (15:25 -0700)]
Update runtime
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
supbish [Sat, 18 Aug 2018 11:00:51 +0000 (07:00 -0400)]
Lua syntax improvements; fixes #1155, fixes #1136
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
supbish [Sat, 18 Aug 2018 02:37:19 +0000 (22:37 -0400)]
Add "smartpaste" option; fixes #1156
Zachary Yedidia [Wed, 15 Aug 2018 15:56:10 +0000 (11:56 -0400)]
Merge pull request #1154 from supbish/luatabs
Add GetTabs Lua function
supbish [Wed, 15 Aug 2018 15:18:27 +0000 (11:18 -0400)]
Add GetTabs Lua function
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
Zachary Yedidia [Fri, 10 Aug 2018 17:45:03 +0000 (13:45 -0400)]
Bump version
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.
Hugo Locurcio [Tue, 7 Aug 2018 12:44:53 +0000 (14:44 +0200)]
Fix some keywords being mistakenly highlighted in C syntax
Zachary Yedidia [Fri, 20 Jul 2018 00:24:02 +0000 (00:24 +0000)]
Update nightly release script to not duplicate nightlies
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
Zachary Yedidia [Mon, 2 Jul 2018 16:22:32 +0000 (12:22 -0400)]
Update runtime and auto-gofmt runtime in make
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
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
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>
Zachary Yedidia [Mon, 4 Jun 2018 19:13:58 +0000 (15:13 -0400)]
Fix php syntax file
Fixes #1109
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
Zachary Yedidia [Sun, 3 Jun 2018 21:13:22 +0000 (17:13 -0400)]
Merge pull request #1125 from nabeelomer/master
F# Configuration
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
Nabeel Omer [Tue, 29 May 2018 14:32:58 +0000 (20:02 +0530)]
F# Configuration
Sean Charles [Sat, 26 May 2018 14:08:35 +0000 (15:08 +0100)]
Elixir configuration (#1118)
* Elixir configuration
* added exunit support
* end added
Zachary Yedidia [Sat, 26 May 2018 14:08:19 +0000 (10:08 -0400)]
Merge pull request #1119 from mbesancon/patch-3
Update julia.yaml
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.
mbesancon [Fri, 25 May 2018 16:04:12 +0000 (12:04 -0400)]
Update julia.yaml
added struct to keywords
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.
Zachary Yedidia [Sun, 13 May 2018 01:29:02 +0000 (21:29 -0400)]
Fix ini comment highlighting
Fixes #1094
Zachary Yedidia [Sat, 28 Apr 2018 21:42:17 +0000 (17:42 -0400)]
Fix matchbraceleft option
Fixes #1101
Zachary Yedidia [Sat, 28 Apr 2018 21:16:22 +0000 (17:16 -0400)]
Fix possible crash in findkey
Fixes #1103
Zachary Yedidia [Sat, 28 Apr 2018 21:04:47 +0000 (17:04 -0400)]
Merge
Zachary Yedidia [Sat, 28 Apr 2018 21:04:33 +0000 (17:04 -0400)]
Add hidehelp option
Fixes #1080
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
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
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
JT Olio [Fri, 6 Apr 2018 01:45:11 +0000 (19:45 -0600)]
darcula: fix highlighted line and color column
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.
Zachary Yedidia [Tue, 3 Apr 2018 04:53:24 +0000 (00:53 -0400)]
Build snap using up-to-date golang