lite-plugins icon indicating copy to clipboard operation
lite-plugins copied to clipboard

help in a regexp for symbol

Open cesarmarinhorj opened this issue 1 year ago • 7 comments

I copied language_jennel to language_janet to make a Janet language plugin. but I cant resolve the symbol regexp.

A symbol can be: :symbol :my-symbol :just/another

thanks!!!

cesarmarinhorj avatar May 10 '24 18:05 cesarmarinhorj

have you tried ":[%w_-/]*"

(I've got no experience with either languages) (language_jennel.lua doesn't seem part of this repository.)

SwissalpS avatar May 10 '24 23:05 SwissalpS

works in: :types :nodes

but not in: :any/types :any/nodes :any-of/test-in-tests

just first letters part works

cesarmarinhorj avatar May 11 '24 11:05 cesarmarinhorj

after ready, I want submit here, can I?

cesarmarinhorj avatar May 11 '24 11:05 cesarmarinhorj

works in: :types :nodes

but not in: :any/types :any/nodes :any-of/test-in-tests

just first letters part works

It would help if we could see your code as it is so far, you could submit a draft-PR then once it works, change it to 'ready for review'.

SwissalpS avatar May 11 '24 11:05 SwissalpS

how can I send file? here or by a pull request?

cesarmarinhorj avatar May 11 '24 12:05 cesarmarinhorj

it is better to do a PR (pull request) than to post files.

SwissalpS avatar May 11 '24 12:05 SwissalpS

I made it! sorry by delay. is my first open source contribution! 8)

cesarmarinhorj avatar May 11 '24 12:05 cesarmarinhorj