From Matěj Cepl to ~martanne/devel
Fixes: https://github.com/martanne/vis/issues/1212 --- lua/plugins/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index 5bd1ff07..21c724a9 100644 --- a/lua/plugins/filetype.lua +++ b/lua/plugins/filetype.lua @@ -358,7 +358,7 @@ vis.ftdetect.filetypes = { }, python = { utility = { "^python%d?" }, ext = { "%.sc$", "%.py[iw]?$" },[message trimmed]
From Matěj Cepl to ~mcepl/m2crypto
Stolen from mypy. --- .editorconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..1e8be100 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ root = true [message trimmed]
From Matěj Cepl to ~martanne/devel
USFM (Unified Standard Format Markers) is a plain text-based format widely used for translating Bibles. I plan to develop lexer for it, and possibly even some editing tools. --- lua/plugins/filetype.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index 5bd1ff07..fe0fd3aa 100644 --- a/lua/plugins/filetype.lua +++ b/lua/plugins/filetype.lua @@ -465,6 +465,9 @@ vis.ftdetect.filetypes = { vala = { ext = { "%.vala$" } [message trimmed]
From Matěj Cepl to ~martanne/devel
On Thu Sep 26, 2024 at 4:13 PM CEST, Florian Fischer wrote: > Simply changing the file in a single WIN_OPEN event has one of two > possible problems. This was humbling experience: just for fun I have presented the last version we developed to ChatGPT for review. And even on this rather trivial and simple code, it manage to find some improvements [1]. Most improvements are only cosmetic and better language, but that conversion to number is actually not a bad idea. Some suggestions I have rejected: --- init.lua 2024-10-05 21:52:16.996356875 +0200 +++ openai_init.lua 2024-10-05 21:52:32.339774905 +0200 @@ -1,7 +1,7 @@
From Matěj Cepl to ~mcepl/m2crypto
ok
From Matěj Cepl to ~mcepl/m2crypto
ok
From Matěj Cepl to ~mcepl/m2crypto
References: https://todo.sr.ht/~mcepl/m2crypto/362 --- src/SWIG/_bio.i | 6 ++++-- src/SWIG/_rsa.i | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/SWIG/_bio.i b/src/SWIG/_bio.i index 308d2f9d..276a782d 100644 --- a/src/SWIG/_bio.i +++ b/src/SWIG/_bio.i @@ -311,7 +311,9 @@ int bio_should_write(BIO* a) { static BIO_METHOD * BIO_meth_new( int type, const char *name ) { [message trimmed]
From Matěj Cepl to ~mcepl/m2crypto
--- .build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.build.yml b/.build.yml index 3fe3ef70..048a4462 100644 --- a/.build.yml +++ b/.build.yml @@ -38,11 +38,13 @@ tasks: cd m2crypto printf "GIT_REF: %s\n" "${GIT_REF}" python3 -mdocutils --strict README.rst >/dev/null if [[ "$GIT_REF" =~ master ]] ; then python3 -mdocutils README.rst \[message trimmed]
From Matěj Cepl to ~martanne/devel
On Thu Sep 26, 2024 at 4:58 PM CEST, Florian Fischer wrote: > They do work! Have you tried my patch? Actually, they do! Weird … See https://git.cepl.eu/cgit/vis/vis-open-extend/tree/init.lua (and it depends on having https://lists.sr.ht/~martanne/devel/patches/55192 included in your vis for vis:file_exists function). Thank you so much for leading me through this maze, but it could really use some better documentation. Best,
From Matěj Cepl to ~sircmpwn/sr.ht-discuss
On Thu Sep 26, 2024 at 12:48 PM CEST, Genevieve Clifford wrote: > Is there a way of specifying in the YAML build specification that > builds should only run on pushes to certain branches? There is nothing, but you are including in that YAML just a regular shell scripts, so you can do something like https://git.sr.ht/~mcepl/m2crypto/tree/master/item/.build.yml#L37 where I build README.html only for the `master` branch. Best, Matěj --