Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against workflow. #1

Merged
merged 358 commits into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
358 commits
Select commit Hold shift + click to select a range
839e868
Update color groups documentation (#3203)
dmaluka Mar 25, 2024
3903859
command: Add `jump` to perform a relative `goto` (#3210)
JoeKar Mar 25, 2024
b291f27
Add missing `<release>` entries in metainfo file (#3170)
blt-r Mar 26, 2024
3d7024e
infocomplete: Complete filetypes (follow-up) (#3218)
JoeKar Mar 27, 2024
93dd8ca
help/colors: s/line/file/
dmaluka Mar 28, 2024
08028cf
s/filename/filetype/ in jsonnet syntax file
dmaluka Mar 26, 2024
dc833d3
Check for missing or empty filetype in syntax files
dmaluka Mar 26, 2024
828871a
Improve crontab filetype detection (#3222)
dmaluka Apr 1, 2024
d67ce73
Don't initialize plugins in buffer test and rtfiles test
dmaluka Apr 3, 2024
baca0e5
Add param to InitRuntimeFiles() to init built-in files only
dmaluka Apr 3, 2024
c5d32f6
Ignore user-defined runtime files in buffer test and rtfiles test
dmaluka Apr 3, 2024
69dc54b
Temporarily don't initialize runtime files in buffer test
dmaluka Apr 3, 2024
c493e14
Merge pull request #3220 from dmaluka/tests-rtfiles-fix
JoeKar Apr 5, 2024
53d56d0
buffer: Remove unneeded recursion of `insert()`
JoeKar Apr 4, 2024
2830c48
buffer: Lock the `LineArray` in case of modifications and export this…
JoeKar Apr 4, 2024
dd7134a
buffer: Remove superfluous `rehighlight` from `LineArray`
JoeKar Apr 4, 2024
6e71e37
buffer: Rename `LineBytes` parameter to "lineN" to fit to the rest
JoeKar Apr 4, 2024
b6dcbfa
highlighter: Fix race between the async highlighter and the main routine
JoeKar Apr 4, 2024
a3ca054
buffer: Uncomment `InitRuntimeFiles(false)` in the buffer_test.go
JoeKar Apr 5, 2024
467c71d
Merge pull request #3224 from JoeKar/fix/line-synchronization
JoeKar Apr 5, 2024
d1d38d1
chore: fix some typos (#3239)
lvyaoting Apr 8, 2024
acb0d76
ReHighlightStates: sanity-check startline value (#3237)
dmaluka Apr 8, 2024
426aa9b
command: Prevent re-writing settings in case of local option (#3178)
JoeKar Apr 11, 2024
c6dc5a4
Call onSetActive when switching to another tab
dmaluka Apr 12, 2024
2a1790d
Don't call onSetActive for an already active pane
dmaluka Apr 12, 2024
186817d
onSetPane doc: s/panel/bufpane/
dmaluka Apr 12, 2024
4283881
onSetActive doc: move it
dmaluka Apr 12, 2024
f386b29
add `public` keyword to Julia syntax file (#3247)
matthias314 Apr 13, 2024
430da61
highlighter: Remove EmptyDef since it's superseeded by a nil check of…
JoeKar Sep 20, 2023
3907942
syntax: Provide default.yaml as fallback definition
JoeKar Sep 18, 2023
f265179
buffer: Correct error message in case of failed read
JoeKar Sep 21, 2023
2c53d1f
test: Perform DoEvent() as long as normal or draw events are present
JoeKar Sep 22, 2023
1c61ee2
Merge branch 'zyedidia:master' into WOA-Build
creeperlv Apr 14, 2024
6ffabd6
buffer: Let the user override the default.yaml
JoeKar Mar 17, 2024
8d8bc58
Update html.yaml by adding support for dialog tags (#3255)
frabjous Apr 18, 2024
87ee41a
buffer: Don't process the default syntax in the user's custom file lo…
JoeKar Apr 17, 2024
4cafa60
syntax: Optimize the patterns and remove the comment region
JoeKar Mar 17, 2024
ed993a4
buffer: Precise comment about searching in the internal runtime files
JoeKar Mar 19, 2024
089160a
buffer: Refactor `UpdateRules()` by creating `parseDefFromFile()`
JoeKar Apr 14, 2024
6cd39ef
buffer: Refactor `UpdateRules()` by creating further helper functions
JoeKar Apr 14, 2024
0806add
Merge pull request #2933 from JoeKar/feature/default-syntax
JoeKar Apr 18, 2024
5610d01
UpdateRules: fix `set filetype unknown`
dmaluka Apr 18, 2024
a436dae
UpdateRules: allow includes in default.yaml
dmaluka Apr 18, 2024
3aed20f
UpdateRules: correct the comments
dmaluka Apr 18, 2024
f9cad2e
action: Fix the duplication of the `unknown` filetype (#3258)
JoeKar Apr 19, 2024
1bddc8d
UpdateRules: move include logic to a helper function
dmaluka Apr 21, 2024
08c516c
UpdateRules: optimize out HasIncludes() usage
dmaluka Apr 21, 2024
b929c61
help/colors: syntax: document that nested includes are not supported
dmaluka Apr 21, 2024
c3052b4
parser: Check and prompt for empty patterns and region properties (fi…
JoeKar Apr 21, 2024
169a9a6
Merge pull request #3259 from dmaluka/default-syntax-followup
dmaluka Apr 21, 2024
5510317
Relocate buffer view when reloading file (#3250)
dmaluka Apr 21, 2024
eec068a
help/colors: syntax: document default.yaml (#3262)
dmaluka Apr 23, 2024
e48575f
Add onBufPaneOpen error checking (#3246)
dmaluka Apr 23, 2024
18f3e1b
Merge pull request #3245 from dmaluka/onsetactive-fix
dmaluka Apr 23, 2024
8c7f63a
infopane: DoKeyEvent: ignore action return value
dmaluka Apr 24, 2024
36bf3f6
DoKeyEvent: document return value
dmaluka Apr 24, 2024
5b3737f
infopane: HandleEvent: reset key sequence when handling y/n prompt
dmaluka Apr 24, 2024
fade304
infopane: HandleEvent: refactor y/n prompt handling
dmaluka Apr 24, 2024
8632b82
infopane: DoKeyEvent: it is buggy, let's add a TODO for now
dmaluka Apr 24, 2024
24406a5
Comment plugin: doc: fix incorrect keybinding
dmaluka Apr 24, 2024
1479438
Fix cursor moving down when selection exist. Solves (#3087) (#3091)
dustdfg Apr 25, 2024
26fa15c
action: Stop action iteration in the moment the current pane isn't a …
JoeKar Apr 23, 2024
3f810c2
Fix Deselect() after mouse selection (#3268)
dmaluka Apr 25, 2024
ff5b147
Merge pull request #3267 from dmaluka/dokeyevent-improvements
dmaluka Apr 25, 2024
8af890a
bindings: Correct `KeySequenceEvent` comparison
JoeKar Apr 25, 2024
b05df07
bindings: Small refactoring of `TryBindKey()` for better readability
JoeKar Apr 25, 2024
3919cf3
action: Provide `Name()` to treat `TermPane` as `Pane`
JoeKar Apr 21, 2024
07cda68
initlua: Correct return type of `CurPane()` to be of type `*BufPane`
JoeKar Apr 23, 2024
1c35f3d
Merge pull request #3261 from JoeKar/fix/command-term
JoeKar Apr 26, 2024
385437d
Merge pull request #3266 from JoeKar/fix/keysequence-comparison
JoeKar Apr 26, 2024
2ecdac8
action: tab: Release mouse press in case of mouse release while not p…
JoeKar Apr 25, 2024
0a1447b
action: tab: Stop resize in case of mouse release while not pressed
JoeKar Apr 25, 2024
1f51d0b
Merge pull request #3271 from JoeKar/fix/inactive-mouse-release
JoeKar Apr 27, 2024
bca35a5
Simplify UpdateDiff() interface
dmaluka May 12, 2024
5a159ce
updateDiffSync(): fix potential race
dmaluka May 12, 2024
b70f0eb
Add onAnyEvent callback (#3244)
dmaluka May 14, 2024
9176508
Merge pull request #3291 from dmaluka/diffgutter-cleanup
dmaluka May 14, 2024
889a841
Replaced IsNonAlphaNumeric() with IsNonWordChar()
masmu May 14, 2024
5dbdf8c
Implemented SubWordRight, SubWordLeft, SelectSubWordRight, SelectSubW…
masmu May 14, 2024
78fcf2f
Updated WordLeft() and WordRight() behavior to be in line with SubWor…
masmu May 14, 2024
35630aa
Merge pull request #2665 from masmu/feature/sub-words
JoeKar May 22, 2024
343812b
Change color of commands in shell syntax file
niten94 May 22, 2024
4911a56
Add commands in shell syntax file
niten94 May 22, 2024
e9bd1b3
Merge pull request #3270 from niten94/sh-break-continue
JoeKar May 22, 2024
dd913df
Reordered prompt done callback to avoid accessing out of bound histor…
Neko-Box-Coder Jun 2, 2024
46e55c8
Fixed trailing line spaces being ignored by word- or subword-jumps (#…
masmu Jun 4, 2024
9eb8782
Rework FindMatchingBrace() interface and implementation (#3319)
dmaluka Jun 4, 2024
f4d576b
Allow action chaining of 'FindNext' and 'FindPrevious'
masmu Jun 8, 2024
19c69f9
Fix Cursor{Up,Down} after DeleteLine and CutLine
dmaluka Jun 8, 2024
df8d528
Fix Cursor{Up,Down} after CopyLine
dmaluka Jun 8, 2024
8bc6756
Fix CopyLine at the last empty line of buffer
dmaluka Jun 8, 2024
52ed431
Make lastCutTime actually work
dmaluka Jun 9, 2024
2860efb
CutLine: remove unneeded if check
dmaluka Jun 9, 2024
830768b
Reorganize Copy and CopyLine actions
dmaluka Jun 8, 2024
a317aef
Reorganize Cut and CutLine actions
dmaluka Jun 9, 2024
c1bbd7b
CutLine: cosmetic refactoring
dmaluka Jun 9, 2024
9f7bdb1
Cosmetic change: move Cut above CutLine
dmaluka Jun 9, 2024
fdacb28
CopyLine, CutLine, DeleteLine: respect selection
dmaluka Jun 9, 2024
e6825f0
CutLine: make infobar message more useful
dmaluka Jun 9, 2024
04143c7
Make Cut, Copy, CopyLine don't mess with CutLine's multi line cuts
dmaluka Jun 9, 2024
33a1bb1
CutLine: return if cliboard read failed
dmaluka Jun 9, 2024
25f71ee
DuplicateLine: move selection duplication to separate Duplicate action
dmaluka Jun 9, 2024
6f724bc
DuplicateLine: respect selections
dmaluka Jun 8, 2024
9face74
Update Zig syntax to handle ZON (Zig Object Notation) files. (#3329)
alexrp Jun 9, 2024
a85696d
Don't use tcell's Rune() for non-KeyRune events
dmaluka Jun 10, 2024
25c7fa5
De-duplicate code for KeyEvent creation
dmaluka Jun 10, 2024
5540cae
Merge pull request #3337 from dmaluka/keyrune-usage-fix
JoeKar Jun 10, 2024
bad1a4b
Update README.md to add brew install on MacOS (#3338)
notnout Jun 11, 2024
68d6f43
CutLine: remove lastCutTime feature
dmaluka Jun 12, 2024
650c0a8
Update README.md to include nix install and flox install (#3340)
bryanhonof Jun 12, 2024
55f45ce
Fix highlighting of `load` and `reference` directives in Cake syntax.…
alexrp Jun 13, 2024
bf65847
help/keybindings: document CutLine behavior
dmaluka Jun 13, 2024
352580a
detect .pyw files (#3346)
Andriamanitra Jun 14, 2024
c965447
tools: Improve `package-deb.sh` to check for fpm first and return the…
JoeKar Jun 12, 2024
fc3a5cd
tools: Improve `cross-compile.sh`
JoeKar Jun 12, 2024
c701ba6
nightly: Use GitHub Actions for scheduled builds and artifact uploads
JoeKar Jun 9, 2024
ced6d94
Merge pull request #3334 from JoeKar/feature/action-nightly
JoeKar Jun 15, 2024
602acff
Fix non-working mouse click on top-left and top-right cells
dmaluka Jun 16, 2024
badaba6
Fix non-working mouse wheel scrolling on the top line of the screen
dmaluka Jun 16, 2024
0a6b32d
TabList: HandleEvent: small refactoring
dmaluka Jun 16, 2024
26ae1b9
Move sigterm channel to internal/util
niten94 Jun 17, 2024
dc62dd9
autosave: don't save unmodified buffer (#3356)
dmaluka Jun 17, 2024
f05d358
Receive SIGINT only in RunInteractiveShell
niten94 Jun 17, 2024
3fb34cf
Merge pull request #3355 from dmaluka/tab-mouse-events-fix
dmaluka Jun 18, 2024
f0f4afa
Added a way to install the program in ALT Linux (#3348)
Krator3 Jun 19, 2024
a3e25e3
docs: Improve plugin documentation (#3240)
glupi-borna Jun 19, 2024
f5a9744
tools/build-version.go: Improve error verbosity
JoeKar Jun 17, 2024
d98fafd
tools/build-version.go: Remove the `git fetch` step
JoeKar Jun 20, 2024
57375e0
workflows/nightly: Allow manual trigger for better testability
JoeKar Jun 17, 2024
f475220
workflows/test: Bump version of `setup` & `checkout` actions
JoeKar Jun 17, 2024
c58ed0e
workflows: Perform the `setup` uncached
JoeKar Jun 17, 2024
531c7d8
workflow: Fetch with a `fetch-depth` of 0 and `fetch-tags` true
JoeKar Jun 19, 2024
0fa4a3a
Merge pull request #3354 from JoeKar/feature/action-nightly
JoeKar Jun 20, 2024
882b98f
Fix typo in README.md (#3361)
mdom Jun 21, 2024
a84aa22
Return error with start in RunInteractiveShell
niten94 Jun 22, 2024
dc77592
Merge pull request #3357 from niten94/shell-sigint-recv
dmaluka Jun 28, 2024
bbf6ec2
Implemented 'ResetSearch' to allow a search to be resetted
masmu Jun 8, 2024
a10624c
Fixing tabmove not working properly when there's a split in pane (#3371)
Neko-Box-Coder Jul 7, 2024
1f71667
Fix termpane not closing automatically after terminal job finished (#…
dmaluka Jul 15, 2024
762e31f
Merge pull request #3333 from masmu/feature/reset-search
JoeKar Jul 16, 2024
1ae2db3
Merge branch 'zyedidia:master' into WOA-Build
creeperlv Jul 16, 2024
781f057
Improve Undo & Redo actions return values
dmaluka Jun 14, 2024
fc5d83f
Improve RemoveMultiCursor & RemoveAllMultiCursors actions return values
dmaluka Jun 15, 2024
e2e8baf
Improve misc actions return values
dmaluka Jun 15, 2024
7e09a92
Make it clear that ClearStatus is the same as ClearInfo
dmaluka Jun 16, 2024
2793c37
Fix SkipMultiCursor behavior when there is no selection
dmaluka Jun 15, 2024
aa9c476
Improve RemoveMultiCursor behavior
dmaluka Jun 15, 2024
5c8bf6b
Improve RemoveAllMultiCursors behavior
dmaluka Jun 15, 2024
765889f
Fix execution of {Spawn,Remove}MultiCursor in chained actions
dmaluka Jun 15, 2024
0373a63
Refactor action execution code
dmaluka Jun 15, 2024
f8e532b
Adding selection for ParagraphPrevious and ParagraphNext. (#3353)
hchac Jul 20, 2024
d173e52
Merge pull request #3352 from dmaluka/action-return-values
dmaluka Jul 20, 2024
e042bb3
release: Use GitHub Actions for manually triggered builds and artifac…
JoeKar Jul 21, 2024
b8772b6
Use `//` comments for `.json` (#3388)
injust Jul 30, 2024
2259fd1
Add Shift-Page Up/Down keybindings (#3407)
injust Jul 31, 2024
658c20f
undo/redo: Don't change remembered cursor location
dmaluka Aug 4, 2024
0d51035
undo/redo: Remove no longer needed teCursor temp var
dmaluka Aug 4, 2024
1fae584
tools/cross-compile.sh: Remove unused variables
JoeKar Aug 5, 2024
a9c359a
tools/cross-compile.sh: Make VERSION configurable
JoeKar Aug 5, 2024
d744872
nightly: Call `tools/cross-compile.sh` with `nightly` as argument
JoeKar Aug 5, 2024
21bb61c
Merge pull request #3418 from JoeKar/fix/nightly-assets
JoeKar Aug 8, 2024
be69b25
Adding missing deselect when calling RemoveAllMultiCursors (#3428)
Neko-Box-Coder Aug 15, 2024
3737979
Merge pull request #3416 from dmaluka/undo-cursor-fix
dmaluka Aug 15, 2024
e0f5361
calcHash: remove unneeded h.Write() error checks
dmaluka Aug 17, 2024
c0f6b65
calcHash: use correct line endings
dmaluka Aug 17, 2024
352fd2b
buffer/settings: On `fastdirty` off set to on in case of "large file"
JoeKar Jul 21, 2024
93efc9e
buffer/settings: Don't use Modified() before we updated origHash
dmaluka Aug 18, 2024
7fe98cc
calcHash: Remove checking file size
dmaluka Aug 18, 2024
d31095f
buffer/settings: Add comment why do we need to zero origHash
dmaluka Aug 18, 2024
0b15b57
buffer: Set fastdirty=true for large file when reopening
dmaluka Aug 18, 2024
f88ac6d
Merge pull request #3430 from dmaluka/calchash-fixes
JoeKar Aug 18, 2024
fd3a002
Add `matchbraceleft` option (#3432)
dmaluka Aug 18, 2024
9afcb80
action/command: Let `reload` really reload the `settings.json`
JoeKar Jun 18, 2024
7f6e5bc
action/command: On `reload` check and inform about errors
JoeKar Jul 22, 2024
c51f848
action/command: On `reload` prevent overwriting `settings.json`
JoeKar Jul 21, 2024
c67a30e
action/command: On `reload` prevent overwriting volatile settings
JoeKar Aug 11, 2024
62c1c66
buffer/settings: On `filetype` change remove the following steps
JoeKar Jul 16, 2024
521b63a
buffer/settings: On `filetype` change reload parsed local settings only
JoeKar Jun 17, 2024
c741e36
action/command: Prevent setting of unchanged option
JoeKar Jul 23, 2024
395d848
buffer/settings: Prevent setting of unchanged option
JoeKar Jul 23, 2024
4663927
config: Refactor parsed option handling
JoeKar Jul 23, 2024
f661b64
config/settings: Remove duplicating `DefaultGlobalSettings()`
JoeKar Aug 11, 2024
0552959
action/command: Prevent overwriting settings set locally or by plugin
JoeKar Jul 26, 2024
724e294
action/command: On `reload` prevent overwriting local settings
JoeKar Aug 8, 2024
a3071b1
action/command: Refactor `reload` & the `filetype` change
JoeKar Aug 12, 2024
10511c9
buffer/buffer: Store `fileformat` in `LocalSettings` on auto detection
JoeKar Aug 8, 2024
0542765
action/command: Simplify `ResetCmd`
JoeKar Aug 8, 2024
a678d42
plugins/comment: Don't write to `b.Settings` directly
JoeKar Aug 11, 2024
832c7de
config: Remove unused `GetAutoTime()`
JoeKar Jun 19, 2024
4170df8
config: Use `float64` within the `autosave` processing
JoeKar Jun 19, 2024
8b31dc7
config: Rework `autosave` to be rearmed upon change
JoeKar Jun 24, 2024
33b7c9d
config: Don't truncate `float64` to `int`
JoeKar Jul 15, 2024
b80ea93
config: Correct typo in `validatePositiveValue()`
JoeKar Jul 15, 2024
7dc78b7
Merge pull request #3343 from JoeKar/fix/volatile-after-reinit
JoeKar Aug 19, 2024
a09c98a
Update micro.json (#3433)
Aug 19, 2024
63ffc40
Fix Ocaml syntax highlighting (#3427)
LordOfTrident Aug 19, 2024
fa9bc6b
Small fix for VHDL syntax (#3375)
m-kru Aug 19, 2024
f74eb23
winget as windows installation in README.md (#3248)
stone-w4tch3r Aug 19, 2024
cc195b6
syntax/json: Add comment support to the syntax highlighting (#3434)
JoeKar Aug 19, 2024
1fc1c2d
Merge branch 'zyedidia:master' into WOA-Build
creeperlv Aug 25, 2024
04c5770
metainfo: Release v2.0.14
JoeKar Aug 27, 2024
968f5ba
tools: Revert `tgz` to `tar.gz` in `cross-compile.sh` (#3446)
JoeKar Aug 28, 2024
e6b20b2
Adding SpawnCursorAtLoc for plugin to use (#3441)
Neko-Box-Coder Aug 31, 2024
f23c2b6
Raku syntax: Add .rakutest/.nqp extensions. Rework filename regex. (#…
juanfra684 Aug 31, 2024
cc67b80
Improve Haskell syntax highlighting (#3373)
Andriamanitra Aug 31, 2024
47fb91e
add more css commands (#3436)
mystieneko Aug 31, 2024
2b44fc3
Makefile: Fetch tags with `--force` (#3448)
JoeKar Aug 31, 2024
d8f7928
Add an OpenSCAD syntax file (#3410)
jmcorey Sep 4, 2024
2308bc5
Fix rust syntax file to recognize byte strings and c strings. (#3452)
jmcorey Sep 5, 2024
5428b3f
Add Swift shebang to syntax (#3451)
frkd-dev Sep 5, 2024
6e60ded
highlighter/parser: Make nested rules optional
JoeKar Sep 7, 2024
5554cd1
highlighter/parser: Switch creation of empty rules to struct literal
JoeKar Sep 9, 2024
a9b513a
syntax: Remove empty rules in regions
JoeKar Sep 7, 2024
debef6e
help/colors: Remove empty rules in regions
JoeKar Sep 7, 2024
f391b59
plugins/literate: Remove empty rules in regions
JoeKar Sep 7, 2024
596da97
syntax/syntax_converter: Remove empty rules in regions
JoeKar Sep 7, 2024
8c52d24
Merge pull request #3458 from JoeKar/feature/empty-rules
JoeKar Sep 9, 2024
f22252e
Mark quick install script as third-party (#3469)
JonathanBerkeley Sep 12, 2024
d6d0b26
Fix non-working raw escape bindings after restarting the screen (#3468)
dmaluka Sep 12, 2024
e6d4e37
README: remove TOC in favor to GitHub's TOC (#3467)
alexandear Sep 12, 2024
2e44db1
Implemented new actions `FirstTab`, `LastTab`, `FirstSplit` and `Last…
masmu Jul 24, 2024
5f83661
Fixes a bug where new `BufPanes` are not being inserted into the righ…
masmu Aug 17, 2024
a3211dc
Build: set 1.17 as minimum supported Go version (#3461)
alexandear Sep 16, 2024
1539da7
test: simplify cmd/micro tests (#3470)
alexandear Sep 16, 2024
ca60120
Merge pull request #3335 from dmaluka/line-actions-cleanup
dmaluka Sep 16, 2024
9eaeb19
Merge pull request #3403 from masmu/refactor/tab-actions
dmaluka Sep 16, 2024
4f4a13a
Implemented `SkipMultiCursorBack` as a counterpart to `SkipMultiCurso…
masmu Sep 16, 2024
4d2ddc7
Makefile: Simplify `build-tags` build target
JoeKar Sep 12, 2024
6e46ae3
Makefile: Remove "-s -w" from `build-dbg` target
JoeKar Sep 12, 2024
90525a6
Makefile: Make all builds explicitly fully static by default (disable…
JoeKar Sep 12, 2024
6722cc8
tools/cross-compile: Mark "Linux 64 fully static" to be same as "Linu…
JoeKar Sep 11, 2024
fcc7421
Makefile: Fix native darwin/macOS builds with forced CGO
JoeKar Sep 17, 2024
3f1e5ea
README: Remove superflous whitespace
JoeKar Sep 18, 2024
71da59f
Merge pull request #3466 from JoeKar/fix/linux-dynamic2static
JoeKar Sep 19, 2024
9cd1ce9
tool/info-plist: decrease indentation and simplify (#3479)
alexandear Sep 22, 2024
3b3fe63
Exposing replacement functions for deprecated IOUtil functions (#3393)
Neko-Box-Coder Sep 22, 2024
ac73f18
Create nftables.yaml (#3325)
theredcmdcraft Oct 6, 2024
4baac3d
Fix SIGINT killing micro when saving with sudo
dmaluka Oct 6, 2024
af88b4d
Fix error reporting when saving with sudo failed
dmaluka Oct 6, 2024
d60413f
Merge pull request #3495 from dmaluka/sudo-sigint-fix
JoeKar Oct 12, 2024
26f0806
action/command: Add optional flag `-hsplit` & `-vsplit` to `help`
JoeKar Oct 13, 2024
2c62d4b
action/command: Allow multiple `help` pages to be opened
JoeKar Oct 13, 2024
1023c8d
Document a few more undocumented colorscheme groups
dmaluka Oct 18, 2024
acabf2b
action/command: Align `vsplit` & `hsplit` to `tab`'s multiopen handling
JoeKar Oct 13, 2024
ff4c5c8
runtime/help: Align `tab`'s documentation to `vsplit`
JoeKar Oct 14, 2024
47b84f7
config/settings: Add option `helpsplit` for permanent `help` split type
JoeKar Oct 15, 2024
39b2b26
action/command: Precise `HelpCmd()` documentation
JoeKar Oct 16, 2024
07f8cfb
Merge pull request #3502 from JoeKar/feature/help-split
JoeKar Oct 20, 2024
d96eb00
Merge branch 'zyedidia:master' into WOA-Build
creeperlv Oct 20, 2024
a6d1a9c
Add targets for Windows Arm64 in cross-compile.sh and nightly-release.sh
creeperlv Oct 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't initialize plugins in buffer test and rtfiles test
Adding InitPlugins() to tests has caused noisy error logs when running
the buffer_test.go test (although the test result is still PASS):

2024/03/23 15:14:30 Plugin does not exist: autoclose at autoclose : &{autoclose autoclose <nil> [runtime/plugins/autoclose/autoclose.lua] false true}
2024/03/23 15:14:30 Plugin does not exist: comment at comment : &{comment comment <nil> [runtime/plugins/comment/comment.lua] false true}
2024/03/23 15:14:30 Plugin does not exist: diff at diff : &{diff diff <nil> [runtime/plugins/diff/diff.lua] false true}
2024/03/23 15:14:30 Plugin does not exist: ftoptions at ftoptions : &{ftoptions ftoptions <nil> [runtime/plugins/ftoptions/ftoptions.lua] false true}
...

These errors are caused simply by the fact that plugins are initialized
but not loaded. Adding config.LoadAllPlugins() to buffer_test.go "fixes"
this problem.

However, at the moment it doesn't seem a good idea to load plugins in
buffer_test.go, since buffer_test.go doesn't properly initialize Lua. It
only does ulua.L = lua.NewState() but doesn't do the other stuff that
init() in cmd/micro/initlua.go does. As a result, plugins will not be
able to do anything correctly.

So in order to initialize Lua correctly we need to be inside cmd/micro/,
so we cannot do it in buffer_test.go or any other tests except
micro_test.go.
  • Loading branch information
dmaluka committed Apr 3, 2024
commit d67ce731ed32586edb913b5752a0a1fdaedc718b
1 change: 0 additions & 1 deletion internal/buffer/buffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ type operation struct {
func init() {
ulua.L = lua.NewState()
config.InitRuntimeFiles()
config.InitPlugins()
config.InitGlobalSettings()
config.GlobalSettings["backup"] = false
config.GlobalSettings["fastdirty"] = true
Expand Down
1 change: 0 additions & 1 deletion internal/config/rtfiles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (

func init() {
InitRuntimeFiles()
InitPlugins()
}

func TestAddFile(t *testing.T) {
Expand Down