From ec4efea7452501db622ee32f41d9db1cfcb94683 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Thu, 11 Jan 2024 13:16:09 +0100 Subject: [PATCH] added svelte language support --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 7ce5503..a5b1b76 100644 --- a/init.lua +++ b/init.lua @@ -386,7 +386,7 @@ vim.keymap.set('n', 'sr', require('telescope.builtin').resume, { desc = vim.defer_fn(function() require('nvim-treesitter.configs').setup { -- Add languages to be installed here that you want installed for treesitter - ensure_installed = { 'lua', 'python', 'rust', 'javascript', 'typescript', 'vimdoc', 'vim' }, + ensure_installed = { 'lua', 'python', 'rust', 'javascript', 'typescript', 'vimdoc', 'vim', 'svelte' }, -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) auto_install = false, @@ -518,6 +518,7 @@ local servers = { rust_analyzer = {}, tsserver = {}, pyright = {}, + svelte = {}, lua_ls = { Lua = { workspace = { checkThirdParty = false },