From 5037654799c31da15c1fc3c1325e884cc1ef382b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fa=C3=A7=20Eldenk?= Date: Mon, 1 Apr 2024 10:48:16 -0500 Subject: [PATCH] feat: add kotlin language support with basic features --- lua/lazyvim/plugins/extras/lang/kotlin.lua | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lua/lazyvim/plugins/extras/lang/kotlin.lua diff --git a/lua/lazyvim/plugins/extras/lang/kotlin.lua b/lua/lazyvim/plugins/extras/lang/kotlin.lua new file mode 100644 index 00000000..0e69f4f6 --- /dev/null +++ b/lua/lazyvim/plugins/extras/lang/kotlin.lua @@ -0,0 +1,26 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + opts = function(_, opts) + vim.list_extend(opts.ensure_installed, { + "kotlin", + }) + end, + }, + { + "williamboman/mason.nvim", + opts = function(_, opts) + vim.list_extend(opts.ensure_installed, { + "kotlin-language-server", + }) + end, + }, + { + "neovim/nvim-lspconfig", + opts = { + servers = { + kotlin_language_server = {}, + }, + }, + }, +}