AstroNvim / astrocommunity

A community repository of common plugin specifications
GNU General Public License v3.0
1.2k stars 241 forks source link

Can you support Objective-c language? #775

Closed FrizzleFur closed 8 months ago

FrizzleFur commented 8 months ago

Is your feature related to a problem?

Yes, I am using Objective-c, while the cpp & swift pack seems not suitable.

Describe the new feature

support Objective-c language pack

Additional context

No response

Uzaaft commented 8 months ago

@FrizzleFur If you can give me the LSP, and some suitable Plugins for Objective-C, I can add a pack for it :)

mehalter commented 8 months ago

Why is the cpp pack not suitable? clangd supports objective C fully and also that pack installs the treesitter parser for objective c

FrizzleFur commented 8 months ago

Why is the cpp pack not suitable? clangd supports objective C fully and also that pack installs the treesitter parser for objective c

well, when I try to coding in oc file, the code reference is not working well.

FrizzleFur commented 8 months ago

@FrizzleFur If you can give me the LSP, and some suitable Plugins for Objective-C, I can add a pack for it :)

I have no idea on that, right now.

Uzaaft commented 8 months ago

Why is the cpp pack not suitable? clangd supports objective C fully and also that pack installs the treesitter parser for objective c

well, when I try to coding in oc file, the code reference is not working well.

As in not working at all?

Uzaaft commented 8 months ago

@FrizzleFur The extensions are .h, .m, .mm, .M

FrizzleFur commented 8 months ago

@FrizzleFur The extensions are .h, .m, .mm, .M

can not infer the UIKit api in .m

Uzaaft commented 8 months ago

Can you give me an example project and I´ll take a look @FrizzleFur

Uzaaft commented 8 months ago

Just tested, and it works for me. :) Tried a random obj c example with ui kit: https://github.com/xiaofei86/UIKitDynamics

Uzaaft commented 8 months ago

Im going to go ahead and close this.