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

Detect Babashka .bb file extension as Clojure #38

Open
axvr opened this issue Aug 6, 2023 · 5 comments
Open

Detect Babashka .bb file extension as Clojure #38

axvr opened this issue Aug 6, 2023 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers highlighting Affects syntax highlighting

Comments

@axvr
Copy link
Member

axvr commented Aug 6, 2023

No description provided.

@axvr axvr added enhancement New feature or request highlighting Affects syntax highlighting labels Aug 6, 2023
@axvr
Copy link
Member Author

axvr commented Aug 7, 2023

Also detect .clj_kondo extension for clj-kondo hooks.

@russtoku
Copy link

russtoku commented Sep 27, 2024

Is this something as simple as adding *.clj_kondo and *.bb to ftdetect/clojure.vim?

And ftplugin/clojure.vim, too?

@axvr
Copy link
Member Author

axvr commented Nov 8, 2024

Hi, yes it is, but when merging upstream to Vim, I may also need to manually add the bb shebang to the Vim source code too to detect babashka files without a file extension.

@russtoku
Copy link

russtoku commented Nov 8, 2024

Would it be OK if I work on this and submit a PR?

@axvr
Copy link
Member Author

axvr commented Nov 8, 2024

Yes, of course :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers highlighting Affects syntax highlighting
Projects
None yet
Development

No branches or pull requests

2 participants