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

feat(extras.lang): Add kotlin #2890

Merged
merged 5 commits into from
May 20, 2024

Conversation

arthur-mountain
Copy link
Contributor

@arthur-mountain arthur-mountain commented Mar 31, 2024

Description:

Adding kotlin support


The plugins was added

  1. mason

  1. tree-sitter
  • kotlin

  1. nvim-lspconfig
  • kotlin-language-server

  1. nvim-lint(optional)
  • ktlint

  1. conform(optional)
  • ktlint

  1. none-ls(optional)

  1. nvim-dap(optional)

  1. mini.comment/nvim-ts-context-commentstring
  • I also opened a pr for kotlin support in nvim-ts-context-commentstring cause I found the commentstring is empty

@arthur-mountain arthur-mountain changed the title feat(extra.lang): Add kotlin feat(extras.lang): Add kotlin Mar 31, 2024
1. Remove kotlin language server from mason

2. Add optinal is true, only enabled if the user has explicitly enabled
the extra plugin.

3. Remove duplicate dependencies cause they are already defined in the
plugin.

4. Add none-ls as optional
@arthur-mountain arthur-mountain force-pushed the feat/add-kotlin-into-extra-lang branch from 07555bc to 22c09aa Compare April 3, 2024 19:36
Copy link
Contributor

@dpetka2001 dpetka2001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me from a LazyVim configuration point of view. I don't do Kotlin however, so am unable to test the configuration. It would be really helpful if you yourself and other users (that do Kotilin) if possible could share their experience with this PR in their local configuration.

Again, I'm just a simple user, so the maintainer has the final say.

@arthur-mountain
Copy link
Contributor Author

@dpetka2001

I truly appreciate your feedback and assistance!

I'm also not an expert in Kotlin; it just so happened that I wrote some projects with Kotlin, which led me to this PR.

I hope it can be helpful to users of kotlin.

I also hope to receive feedback from users experienced in Kotlin.

Thank you very much for your help.

@idelice
Copy link

idelice commented May 19, 2024

+1

@folke folke merged commit 94c9f4c into LazyVim:main May 20, 2024
@folke
Copy link
Collaborator

folke commented May 20, 2024

Thanks!

@arthur-mountain arthur-mountain deleted the feat/add-kotlin-into-extra-lang branch May 23, 2024 14:39
folke pushed a commit that referenced this pull request Jun 6, 2024
)

### Description
I am the author of this
[PR](#2890).

While reviewing my own code and checking the LazyVim official website, I
noticed some inconsistencies 😓 , so I created a small PR to address
them:

### Changes
1.Each optional plugin has a comment message indicating that the plugin
is optional, but DAP does not (as shown in the image). Since the
official website already has an "optional" in title.
**I removed the comment messages regarding "optional" to avoid
confusion**.
<img width="300" alt="Screenshot 2024-05-23 at 10 31 38 PM"
src="https://github.com/LazyVim/LazyVim/assets/82575487/441979fc-20dd-4599-a91d-f27bc0841d79">


---

2. I changed the DAP to use local variables for DAP to maintain
consistency, even though both require statements reference the same
module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants