Chloe Kudryavtsev
07860b8973
Add mksh to the set of supported shells ( #1703 )
2020-06-03 13:30:42 -04:00
Zachary Yedidia
eeab114ed5
Add parsecursor
option for file:line:col syntax
...
This option is disabled by default, and when enabled causes micro
to parse `:line:col` as a location for the cursor rather than
as part of the filename.
Closes #1650
Closes #1685
2020-05-29 14:55:24 -04:00
Colin Hughes
00edf0207f
Added hybrid line numbers ( #1690 )
...
* Added hybrid line numbers
* Changed rulerhybrid to relativeruler, modified documentation accordingly.
* Reverted go.mod and go.sum
I don't know how they got changed but they are good now.
Co-authored-by: Colin Hughes <semilin@pop-os.localdomain>
2020-05-28 22:24:09 -04:00
Peder B. Sundt
4356c7e434
Tweak railscast colorscheme to better reflect original ( #1297 )
2020-05-28 11:50:35 -04:00
pyfisch
381e1b639d
Rewrite TOML syntax file ( #1681 )
2020-05-26 14:10:27 -04:00
Shinichi TAMURA
cc09712d14
set bash-fc file's syntax as shell ( #1679 )
...
* set bash-fc file's syntax as shell
* remove dups from shell file matcher
2020-05-24 23:50:30 -04:00
Zachary Yedidia
bfe68b1626
Allow divider customization with divchars option
...
Adds the `divchars` and `divreverse` options to customize divider
styles.
2020-05-21 14:35:54 -04:00
Zachary Yedidia
9a22d93ea2
Expose CharacterCount to plugins
2020-05-20 18:04:00 -04:00
Zachary Yedidia
d7ab44253f
Update tcell and support italics in colorschemes
...
Closes #1640
2020-05-17 12:48:34 -04:00
Zachary Yedidia
0a6720498f
Merge branch 'master' of https://github.com/zyedidia/micro
2020-05-17 12:23:21 -04:00
Zachary Yedidia
c46257222c
Add support for FindLiteral
...
Use the FindLiteral action to use Find without regex support.
Fixes #1661
2020-05-17 12:22:33 -04:00
jsyedidia
299af4a3db
Update hlint to 3.0 syntax ( #1659 )
2020-05-16 13:06:55 -04:00
Jeff Warner
d0f7ecf9ca
Adds command "tabmove ±n", for better tab management ( #1636 )
...
* Adds command "tabmove ±n", for better tab management
* Added tabmove to help:commands
* Replace uses of util.Min, util.Max with util.Clamp
Browsing code and discovered `util.Clamp`, ideal for this section of my code
* oops, missed an arg
* Typo, again
2020-05-14 21:51:49 -04:00
Zachary Yedidia
30395b1f67
Remove outdated c++ highlighter
...
Fixes #1652
2020-05-14 21:37:19 -04:00
Jeff Warner
5d3e4fc3d9
Adds CopyLine action, the new default action for CtrlC if cursor has no selection
2020-04-29 21:06:54 -07:00
Indiana Kernick
f52fbfa1f0
Add .inl as a C++ file extension ( #1630 )
2020-04-29 20:01:59 -04:00
Some person
0f984131fb
Update coffeescript.yaml ( #1571 )
...
* Update coffeescript.yaml
We need much much more modern coffeescript standards, the current one has broken `0x123456` (hex) and single quotes, and doesn't support multiline comments. This PR aims to fix that. I'm no regexp expert, I just based this off JS', so tell me if I did anything wrong.
* Update coffeescript.yaml
2020-04-22 23:12:56 -04:00
Ján Jančár
f0da73bae2
Add StartOfTextToggle and SelectToStartOfTextToggle actions. ( #1612 )
...
These actions reintroduce the behavior of micro where the Home key
toggles between the start of text (first) and the start of the line.
The same applies for the variant with selection. This commit also
sets these bindings as the defaults.
2020-04-10 17:21:02 -04:00
trrbl
ffd7b5c770
Support csharp-script syntax. ( #1425 )
...
```
#!/usr/bin/env dotnet-script
// Set Runtime
#! "netcoreapp3.0"
// Imports
#load "myAssembly.dll"
#r "nuget:CliWrap,2.5.0"
```
This syntax file basically imports the `csharp` rules and adds it's custom pre-processors.
2020-04-10 13:57:36 -04:00
Ján Jančár
bd8c0d25c8
Add sagemath syntax highlight based on python3. ( #1227 )
2020-04-09 12:20:48 -04:00
Ján Jančár
052a36b896
Fix docs regarding "Home" key and "StartOfText" and "StartOfLine". ( #1611 )
2020-04-07 12:58:30 -04:00
jsyedidia
a76bf02f5f
Add Haskell linter hlint to linter plugin ( #1610 )
2020-04-05 14:05:01 -04:00
Nikita Bobko
92f4cb7ef7
Clarify regex for git commit --verbose
( #1606 )
2020-04-05 14:04:36 -04:00
Zachary Yedidia
1cf9537340
Fix python3 syntax file and make python3 default
...
The python3 syntax had "filename" instead of "filetype"
as the header. This commit also makes standard py extensions
use the python3 highlighting and requires .py2 or a python2
env to use python2 highlighting because python3 is the standard
python now.
Fixes #1592
2020-03-24 11:42:23 -04:00
Koki Fushimi
26930ca81f
Better Julia syntax. ( #1567 )
...
* Fix regex syntax and change to match one or more spaces.
* Add constant `nothing` and `missing`.
* Add Inf and NaN to constant numbers.
2020-03-24 10:59:48 -04:00
allanderek
ee157f6503
Add elm as a default comment type in the comment plugin. ( #1586 )
2020-03-24 10:56:50 -04:00
Zachary Yedidia
943ea15fa3
Fix linter c++ entry
...
Fixes #1578
2020-03-14 15:40:05 -04:00
Cafe Duke
2ef57977d7
Add color schemes dukeubuntu-tc, dukedark-tc and dukelight-tc ( #1547 )
...
* Duke ubuntu, dark and light color schemes
* Duke color schemes: Change bgcolor for line number and cursor line
Co-authored-by: Raghunandan.Seshadri <raghubs81@gmail.com>
Co-authored-by: Raghunandan Seshadri <raghunandan.seshadri@oracle.com>
2020-03-07 22:07:43 -05:00
Andrew Havens
a19cd2e6d0
Add support for Fastlane and Cocoapods file syntax highlighting ( #1544 )
2020-03-02 20:03:28 -05:00
Zachary Yedidia
d78fe81e21
line_array insert for eofnewline and make default
...
Makes the `eofnewline` option enabled by default.
Fixes #1525
2020-02-24 22:31:05 -05:00
Zachary Yedidia
dff8b33e9c
Apply basename option in tabbar as well
2020-02-24 13:48:37 -05:00
Zachary Yedidia
b91242124c
Go lint the current directory of file
...
Closes #1520
2020-02-18 21:40:14 -05:00
Zachary Yedidia
087e7207f7
Add 'xterm' option
...
Ref #1489
2020-02-15 12:53:17 -05:00
Zachary Yedidia
600d8558b2
Change some default option values
2020-02-13 20:51:56 -05:00
Tonus1
8348cc8ec2
Add transparency ( #1509 )
2020-02-13 18:15:32 -05:00
Zachary Yedidia
743d42e417
Syntax file change
2020-02-13 16:50:44 -05:00
Zachary Yedidia
a7ce85d6f6
Make default plugin options more explicit
...
Ref #1305
2020-02-12 15:34:13 -05:00
Zachary Yedidia
5519f053ac
Merge branch 'autosu' of https://github.com/seitokaichou/micro into seitokaichou-autosu
2020-02-12 14:15:30 -05:00
Zachary Yedidia
12c286f9b1
Introduce IndentLine action
...
Closes #1476
2020-02-12 13:30:24 -05:00
Zachary Yedidia
bf1258578c
Expose OpenLogBuf to plugins
2020-02-12 12:35:40 -05:00
Zachary Yedidia
4f628bf30b
Remove incorrect plugin documentation
2020-02-12 00:22:32 -05:00
Zachary Yedidia
8224037080
Don't block when redraw channel becomes full
...
Fixes #1497
2020-02-11 20:03:32 -05:00
Zachary Yedidia
feaf3951d2
Update haskell syntax file
2020-02-11 19:13:36 -05:00
Zachary Yedidia
8176e8c6f8
Improve one-dark colorscheme divider
2020-02-10 23:37:21 -05:00
Zachary Yedidia
e1e310a96e
Document all options
2020-02-10 15:07:00 -05:00
Zachary Yedidia
d29b941be0
Merge
2020-02-10 14:59:47 -05:00
Zachary Yedidia
185b8de17b
Merge branch 'issue_1008' of https://github.com/sum01/micro into sum01-issue_1008
2020-02-10 14:59:31 -05:00
Kyle Barron
d65285ee54
Update documentation to include Material colorscheme ( #1279 )
2020-02-10 14:53:27 -05:00
Zachary Yedidia
00205aa6a7
Update readme
2020-02-10 00:38:57 -05:00
Zachary Yedidia
ecb9fd5a8a
Change diffgutter default to false
2020-02-10 00:30:13 -05:00
Zachary Yedidia
bdf9e6d3a4
Merge branch 'diff-gutter' of https://github.com/p-e-w/micro
2020-02-10 00:28:43 -05:00
Indiana Kernick
e561952781
Add jsonnet syntax file ( #1320 )
2020-02-09 00:23:49 -05:00
Tommy
9fe58bf84f
csharp bracket highlighting problem #1172 ( #1199 )
2020-02-09 00:21:27 -05:00
Zachary Yedidia
e84f85340b
Merge
2020-02-09 00:19:21 -05:00
Zachary Yedidia
0962e1bfba
Merge branch 'master' of https://github.com/Paalon/micro into Paalon-master
2020-02-09 00:19:02 -05:00
Zachary Yedidia
2f45644d14
Merge pull request #1324 from konsumer/master
...
add support for input and scalar defintiions (for graphql-tools schema)
2020-02-09 00:18:09 -05:00
Zachary Yedidia
c2a2316c28
Merge pull request #1321 from zonuexe/add/php-fn-keyword
...
Add `fn` keyword (arrow function) added in PHP 7.4 to coloring
2020-02-09 00:17:41 -05:00
Zachary Yedidia
6957e83cdb
Merge pull request #1333 from the-sushi/patch-1
...
Add Forth highlighting
2020-02-09 00:17:24 -05:00
Zachary Yedidia
ce91e41e5a
Update third party licenses
2020-02-09 00:03:03 -05:00
Zachary Yedidia
57c34e2248
More plugin docs and improve doc formatting
2020-02-08 18:31:06 -05:00
Zachary Yedidia
8a907956d1
Use actual lua functions for callbacks instead of strings
2020-02-08 15:49:41 -05:00
Philipp Emanuel Weidmann
de33eac058
Add diff gutter
2020-02-08 13:26:24 +05:30
Zachary Yedidia
b0c50d371f
Merge pull request #1423 from caligari87/patch-1
...
Add ZScript language highlighting
2020-02-07 20:18:05 -05:00
Zachary Yedidia
674258787e
Add Mac special cases
2020-02-07 20:16:59 -05:00
Zachary Yedidia
2354412922
Add mac keybinds
2020-02-07 20:14:35 -05:00
Zachary Yedidia
3ac30343b8
Merge branch 'fix_defaultkeys_help' of https://github.com/neutralinsomniac/micro into neutralinsomniac-fix_defaultkeys_help
2020-02-07 20:09:44 -05:00
Zachary Yedidia
69b6c724fc
Merge pull request #1252 from SunflowerFuchs/patch-1
...
Update zsh.yaml
2020-02-07 20:03:53 -05:00
Zachary Yedidia
31936358c1
Merge pull request #1264 from krerkkiat/issue-1237
...
Update sh.yaml
2020-02-07 20:03:22 -05:00
Zachary Yedidia
9aaafe5dcf
Merge
2020-02-07 19:56:57 -05:00
Zachary Yedidia
98ddb62af4
Update docs
2020-02-07 19:41:11 -05:00
Zachary Yedidia
106ba48079
Add some docs for linter, comment, status
2020-02-07 11:32:12 -05:00
Zachary Yedidia
f5e1f93ee5
Update docs
2020-02-06 19:26:27 -05:00
Zachary Yedidia
bcb1947a0a
Add plugin manager
2020-02-01 23:54:38 -05:00
Zachary Yedidia
2598d8ad70
Update colorschemes and add new ones
...
This commit updates the colorschemes and adds some new ones:
* gotham (https://github.com/novln/micro-gotham-colors )
* monokai-dark (https://github.com/Theodus/micro-monokai-dark )
* one-dark (https://github.com/joseluisq/micro-one-dark )
* sunny-day (https://github.com/dwwmmn/micro-sunny-day )
2020-01-31 15:05:55 -05:00
Jeremy O'Brien
abcdeb01e9
Fix defaultkeys help doc to match reality
2020-01-31 13:10:11 -05:00
Zachary Yedidia
46c5a81b0d
Fix callback cancelation
2020-01-30 18:04:17 -05:00
Zachary Yedidia
59146cabb1
Add callback option to linter
2020-01-30 18:00:17 -05:00
Zachary Yedidia
d965e8de4f
Fix copy-paste error in docs
2020-01-26 21:39:10 -05:00
Zachary Yedidia
1dc1c65565
Update tutorial docs
2020-01-21 20:37:51 -05:00
Rein F
1e998ab0e4
Updated javascript.yaml syntaf file
2020-01-18 19:05:33 +01:00
Zachary Yedidia
b3e40a2644
Make debug mode flag, plugins can access logbuf
2020-01-15 22:25:08 -05:00
Zachary Yedidia
fa4103f7aa
Merge
2020-01-15 20:09:33 -05:00
Zachary Yedidia
17f0eb80cd
Readonly should only apply to default buffers
...
Ref #1298
2020-01-15 20:09:17 -05:00
Krerkkiat Chusap
be34e1241c
Update julia.yml ( #1262 )
...
Add export to the keywords. This should fixes zyedidia/micro#1215 .
2020-01-11 13:41:52 -05:00
Zachary Yedidia
7c90f4d6f1
Merge
2020-01-06 12:29:39 -05:00
Zachary Yedidia
61a90f7666
Update xml.yaml
2020-01-06 12:29:33 -05:00
Serge Voilokov
8d373cde6e
Add golang keywords ( #1455 )
...
* Add golang keywords
* Update runtime
2020-01-06 12:06:44 -05:00
Zachary Yedidia
f3e8413e77
More doc updates
2020-01-06 00:01:49 -05:00
Zachary Yedidia
f2a1e2337f
Update tcell to include true color fix
...
Fixes #1452
2020-01-05 21:26:53 -05:00
Zachary Yedidia
afb03aa37f
Small doc update
2020-01-05 13:21:46 -05:00
Zachary Yedidia
0c6a7e2837
Update options docs and new docs on copy-paste
2020-01-03 13:39:39 -05:00
Zachary Yedidia
2855ae204c
Replace shellwords with shellquote
2020-01-02 18:30:51 -05:00
Zachary Yedidia
50ff45c213
Some documentation updates
2020-01-02 15:10:28 -05:00
Zachary Yedidia
dc4da37908
Add "paste" option to enable aggressive pasting
...
Ref #1043
2020-01-02 12:42:39 -05:00
Zachary Yedidia
e98be1a1e5
Update deps
2020-01-01 20:44:45 -05:00
Zachary Yedidia
604d78de0f
Merge pull request #1327 from Osmose/git-commit-diff
...
Fix #1314 : Add support for diffs from `git commit --verbose`.
2019-12-30 14:43:50 -05:00
Zachary Yedidia
9e8420aab5
Merge pull request #1437 from serebit/patch-2
...
Enable syntax highlighting for Kotlin script files
2019-12-30 14:42:48 -05:00
Zachary Yedidia
93431a9ddf
Merge branch 'fix-xml-highlighting' of https://github.com/ariasuni/micro into ariasuni-fix-xml-highlighting
2019-12-30 14:40:41 -05:00
Zachary Yedidia
3777bcf295
Merge pull request #1386 from jncraton/docfix
...
Minor grammar fix addressing #1377
2019-12-30 14:28:46 -05:00
Zachary Yedidia
532f932712
Merge branch 'master' into patch-1
2019-12-30 14:24:27 -05:00
Zachary Yedidia
eeeb927a1d
Merge pull request #1361 from Lisiadito/master
...
fix #1318 . fix html comments and make them work multiline
2019-12-30 14:23:27 -05:00
Zachary Yedidia
f9ce549663
Merge pull request #1287 from didactic-drunk/ruby_syntax
...
Ruby syntax improvements.
2019-12-30 14:23:06 -05:00
Zachary Yedidia
e420872a27
Merge branch 'master' into highlight-nimscript
2019-12-30 14:22:22 -05:00
Zachary Yedidia
cef32d4ac7
Merge pull request #1315 from matbesancon/patch-1
...
Update julia.yaml
2019-12-30 14:21:20 -05:00
Zachary Yedidia
35375a6ea2
Merge pull request #1406 from LeapofAzzam/LeapofAzzam-patch-1
...
Update vi syntax
2019-12-30 14:20:27 -05:00
Zachary Yedidia
60eec0eccd
Merge pull request #1412 from tommyshem/batSyntaxHighlighting
...
Add windows .bat syntax highlighting file #1388
2019-12-30 14:20:13 -05:00
Zachary Yedidia
97665573c7
Merge pull request #1426 from Nergel3/master
...
vue syntax (+typescript) & svelte syntax
2019-12-30 14:19:59 -05:00
Zachary Yedidia
f874377573
add system verilog syntax file
2019-12-30 14:05:06 -05:00
Delyan Angelov
e1c1e402a9
Add V syntax highlighting.
...
V is a new general purpose language, inspired mainly by Go, Rust, Pascal and C.
Main site: https://vlang.io/
Github: https://github.com/vlang/v
2019-12-30 16:13:15 +02:00
Zachary Yedidia
1b73abcfd0
Fix formatting in plugin info.json
2019-12-29 00:03:21 -05:00
Zachary Yedidia
29a5cef559
Update default plugins slightly
2019-12-28 22:39:57 -05:00
Zachary Yedidia
bd83c6a8a9
Remove detect requirement and detect in jinja file
...
Ref #1415
2019-12-28 22:27:44 -05:00
Zachary Yedidia
c0e6dad88b
Merge pull request #1443 from onodera-punpun/patch-1
...
Replace tab with spaces
2019-12-28 21:56:40 -05:00
Zachary Yedidia
8663014bbe
Add support for syntax headers and update tcell
2019-12-28 18:53:51 -05:00
Camille
351c7b099a
Replace tab with spaces
2019-12-28 22:38:41 +01:00
Zachary Yedidia
629f20720a
Fix add runtime file for local plugins
2019-12-27 20:28:25 -05:00
Campbell Jones
da32457037
Enable syntax highlighting for Kotlin script files
...
In addition, make the following changes to the kotlin syntax highlighting:
- Add new unsigned types to type.storage
- Add const as a statement keyword
- Remove typeof from type keywords
2019-12-26 19:13:23 -05:00
Zachary Yedidia
8570ff9a8c
Remove autosave option
...
With the new backup option, the autosave option is no longer useful.
Since it never really worked well in the first place, it has been
removed.
Closes #1420
2019-12-26 14:35:48 -05:00
Zachary Yedidia
e66d01e989
Some documentation
2019-12-25 19:37:51 -05:00
Zachary Yedidia
94ff79e7b2
Lua prompt support and plugin improvements
2019-12-25 17:05:11 -05:00
Zachary Yedidia
c4d5d7c195
Better backup behavior
2019-12-25 17:05:11 -05:00
Zachary Yedidia
04e5acb1f8
Minor highlighting fixes
2019-12-25 17:05:11 -05:00
Zachary Yedidia
7f32d31108
Fix plugin names
2019-12-25 17:05:11 -05:00
Zachary Yedidia
aa66435353
Better plugin docs
2019-12-25 17:05:11 -05:00
Zachary Yedidia
b41fc10b8f
Update some docs
2019-12-25 17:05:11 -05:00
Zachary Yedidia
adaddba696
Add plugin info.json support
2019-12-25 17:05:11 -05:00
Zachary Yedidia
26c545267d
Support column marking in linter
2019-12-25 17:05:11 -05:00
Zachary Yedidia
d1e713ce08
Add better matchbrace
2019-12-25 17:05:11 -05:00
Zachary Yedidia
c0293b5d0e
Add autosave option
2019-12-25 17:05:11 -05:00
Zachary Yedidia
bc6dd990e5
Improve gutter messages
2019-12-25 17:05:11 -05:00
Zachary Yedidia
763e635fea
Add literate plugin support
2019-12-25 17:05:11 -05:00
Zachary Yedidia
fc4811c1ab
Add comment plugin support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
be136a4648
Full extensible linter support
2019-12-25 17:05:10 -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
576036f251
Update ftoptions and statusline plugin configuration options
2019-12-25 17:05:10 -05:00
Zachary Yedidia
809b95d290
Add reset command and statusline format string options
2019-12-25 17:05:10 -05:00
Zachary Yedidia
0f4f60c018
Update docs
2019-12-25 17:05:10 -05:00
Zachary Yedidia
d9735e5c3b
Update readme
2019-12-25 16:17:31 -05:00
Zachary Yedidia
bd9307483d
Merge pull request #1363 from andradei/patch-1
...
Separate keys with + sign for consistency
2019-12-19 10:23:48 -05:00
Zachary Yedidia
f932cfb7f1
Merge pull request #1409 from serge-v/syntax
...
Add mc, godoc, proto syntax files
2019-12-19 10:05:38 -05:00
Zachary Yedidia
8817d711b9
Merge pull request #1415 from dullbananas/master
...
Improve syntax files
2019-12-19 10:05:30 -05:00
nergel3
5d81fc7815
vue syntax (+typescript) & svelte syntax
2019-12-17 11:38:22 +01:00
Sterling Parker
0827968f6b
Create zscript.yaml
2019-12-04 11:52:22 -07:00
Johann Mortara
5b869cb836
Corrected tex comment start separator
2019-11-29 12:05:54 +01:00
ariasuni
2d475fbca8
Remove unreliable XML entity handling from XML syntax
2019-11-27 17:39:31 +01:00
ariasuni
36862137db
Improve XML character entities highlighting and comment
2019-11-27 14:54:53 +01:00
ariasuni
34c12e1282
Fix XML character entities (e.g. <) highlighting
2019-11-27 14:54:53 +01:00
ariasuni
8b0c858f28
Make XML highlighting more fine-grained
2019-11-27 14:54:53 +01:00
ariasuni
daa0d67c6f
Fix XML highlighting when tags are spread on multiple lines
2019-11-27 14:54:53 +01:00