Commit Graph

3470 Commits

Author SHA1 Message Date
Jöran Karl
6a62575bcf metainfo: Release v2.0.15 v2.0.15 2025-12-31 12:47:43 +01:00
Neko Box Coder
467eb88df0 Adding clarification regarding multiple characters for showchars (#3945)
Adding clarification regarding multiple characters for showchars.

Closes #3938
2025-12-18 18:16:51 +01:00
Jöran Karl
d1ceacad88 Merge pull request #3910 from AndydeCleyre/bugfix/2600
Only set buffer type to stdout when no file args are passed
v2.0.15-rc1
2025-12-07 18:04:32 +01:00
Andy Kluger
331c43ebb5 Replace never-assigned var filename with literal empty strings 2025-12-03 15:10:36 -05:00
Dmytro Maluka
118f5a3e35 gofmt fix 2025-12-03 01:19:35 +01:00
Andy Kluger
70d9b64301 LoadInput: reduce variable scope (input, err)
Move input and err variable declarations to their usage point.
2025-12-02 14:59:45 -05:00
Andy Kluger
4debd29ccf Make the buffer creation when (no file args, terminal stdin) explicitly distinct
. . . but functionally equivalent.
2025-12-01 13:26:19 -05:00
Andy Kluger
c80e5cd97f Only set buffer type to stdout when no file args are passed
Fixes #2600
2025-12-01 13:15:28 -05:00
Mikko
70dfc7fcb4 fix drawing of wide characters in InfoWindow (#3919) 2025-11-27 19:45:30 +01:00
Jöran Karl
a2620d1c02 Merge pull request #3914 from matthias314/m3/fix-issue-3700
quick fix for #3700
2025-11-27 19:24:52 +01:00
matthias314
560bfcf749 ensure regexp error messages are displayed in findCallback 2025-11-25 17:19:26 -05:00
matthias314
a577fc95ff handle regexps with missing \E (quick fix for #3700) 2025-11-25 17:19:26 -05:00
Jöran Karl
bc5e59c670 Merge pull request #3618 from Neko-Box-Coder/LockConfig
Removing the ability for plugins to modify settings.json and bindings.json. Adding an option to reject plugins to bind keys.
2025-11-18 21:28:19 +01:00
Neko Box Coder
4f1d2bb543 Adding lockbindings option for disallowing lua to modify bindings at all 2025-11-18 19:12:20 +00:00
Neko Box Coder
7a250b7df4 Changing behavior for SetGlobalOption*() for lua to not write to file 2025-11-18 19:12:05 +00:00
Neko Box Coder
b39b5b5916 Changing behavior for TryBindKey() for lua to not write to bindings.json 2025-11-18 19:12:04 +00:00
Nabeel Sherazi
9183fbe640 Include --options-with-hyphens in statement regex (#3863) 2025-11-05 19:07:24 +01:00
niten94
fa68314123 Update Tcell to v2.0.13 (#3895) 2025-10-27 20:38:31 +01:00
kodesettings
ccf0a9f6d6 Added linting support for ldc2 and gdc compilers (#3892)
* Added linting support for ldc2 and gdc compilers

* Update runtime/plugins/linter/linter.lua

ldc2 arguments have been updated for linter

Co-authored-by: Mikko <Andriamanitra@users.noreply.github.com>

---------

Co-authored-by: Mikko <Andriamanitra@users.noreply.github.com>
2025-10-21 18:51:54 +02:00
Neko Box Coder
115e560ee2 Fixing regression introduced by #3310 with missing word boundary (#3891) 2025-10-19 13:13:30 +02:00
Jöran Karl
284942dffd Merge pull request #3806 from JoeKar/fix/backup-path
backup+util: Prevent too long backup file names with hashing + resolve file
2025-10-19 12:46:17 +02:00
Jöran Karl
bab39079b3 save: Remove a possible written backup in case the path has changed 2025-10-18 21:07:07 +02:00
Jöran Karl
02611f4ad2 backup: Keep path of stored & hashed backup files in a own $hash.path file
Since full escaped backup paths can become longer than the maximum filename size
and hashed filenames cannot be restored it is helpful to have a lookup file for
the user to resolve the hashed path.
2025-10-18 21:07:06 +02:00
Jöran Karl
1ce2202d9a util: Convert suffix added with AppendBackupSuffix() to simple constant 2025-10-18 21:06:47 +02:00
Jöran Karl
78d2c617ed util: Hash the path in DetermineEscapePath()
...in case the escaped path exceeds the file name length limit
2025-10-18 21:05:56 +02:00
Mikko
815ca0b6d8 fix c++ highlighting for binary literal with digit separator and suffix (#3870) 2025-10-11 21:59:02 +02:00
Jöran Karl
ec8bb7c11d Merge pull request #3866 from niten94/hide-sudo-prompt-win
- Disable sudo save prompt on Windows
- Add micro.exe to .gitignore
2025-09-21 14:33:23 +02:00
niten94
dcdddc191b Add micro.exe to .gitignore 2025-09-21 00:30:16 +08:00
niten94
85b4b2b788 Disable sudo save prompt on Windows
Display message stating that saving with sudo is unsupported on Windows,
immediately without a prompt when permission is denied.
2025-09-21 00:30:07 +08:00
Jöran Karl
ad24089e4e README: Use v2 for the Go Report Card (#3835) 2025-09-09 20:28:13 +02:00
Neko Box Coder
ed970eede3 Reordering triple quotes string to be evaluated first for groovy syntax (#3858) 2025-09-07 11:40:13 +02:00
Neko Box Coder
4d95f5f121 Adding comment for typescript (#3857) 2025-09-07 11:37:11 +02:00
Jöran Karl
45342bb0f1 Merge pull request #3760 from Neko-Box-Coder/MoreCharOptions
Adding indenttabchar, indentspacechar and spacechar options
2025-09-06 18:53:09 +02:00
Neko Box Coder
1ef6459846 Adding showchars option 2025-09-06 16:48:01 +01:00
Neko Box Coder
532c315f79 Simplifying draw to be less nested 2025-09-06 16:46:50 +01:00
Neko Box Coder
7b01fe4f56 Splitting draw out to getRuneStyle in bufwindow, removing @ for wide rune in bufwindow 2025-09-06 16:42:40 +01:00
cutelisp
0b9c7c0c4a Add toggle & togglelocal command (#3783) 2025-09-05 20:56:02 +02:00
Luca Stefani
e9f241af71 micro: Handle +/regex search from args (#3767)
This is a feature found in vim and commonly used
by Linux kernel test robots to give context about
warnings and/or failures.

e.g. vim +/imem_size +623 drivers/net/ipa/ipa_mem.c

The order in which the commands appear in the args
determines in which order the "goto line:column"
and search will be executed.
2025-09-05 20:53:37 +02:00
ZRZ
bbea2a3f28 Fix highlighting for auto in C++ (#3836) 2025-09-02 19:46:35 +02:00
Jöran Karl
b37fa2e34d Merge pull request #3846 from JoeKar/revert/syntax-rules
syntax: Revert removal of `rules: []`
2025-09-02 19:28:06 +02:00
Mikko
4b2f8aa828 make arduino filetype detection less aggressive (#3848) 2025-09-01 20:46:10 +02:00
Jöran Karl
52f629cee7 syntax: Fix invalid escape of ' in php 2025-08-31 18:58:15 +02:00
Jöran Karl
d9245d9659 syntax: Add the empty rules: [] to the files currently "missing" them 2025-08-31 18:53:45 +02:00
Jöran Karl
3fd2fe3cc7 Revert "doc: syntax: Add hint about incompatibilities to previous versions"
This reverts commit 02e69dddbe.
2025-08-31 13:53:34 +02:00
Jöran Karl
0277516eef Revert "syntax: Remove empty rules in regions"
This reverts commit a9b513a28a.
2025-08-31 13:47:53 +02:00
deepdring
b8057f28c6 refactor: use a more modern writing style to simplify code (#3834)
Signed-off-by: deepdring <deepdrink@icloud.com>
2025-08-26 02:00:51 +02:00
Dmytro Maluka
094b02da4c plugin installer: Remove extra spaces in log messages 2025-08-20 22:19:47 +02:00
Dmytro Maluka
7a252f4986 Merge pull request #3810 from Neko-Box-Coder/ShowBuiltinPlugins
Adding the ability to differentiate builtin plugins when listing
2025-08-20 22:05:07 +02:00
Mikko
6b15bf3b19 fix shell highlighting for variables with leading underscore (#3833) 2025-08-20 20:51:34 +02:00
Jöran Karl
421da6752e Merge pull request #3812 from dmaluka/update-manpage
Update man page + change `[FILE]:LINE:COL` to `FILE[:LINE:COL]` in `micro -help`
2025-08-19 17:36:41 +02:00