added svelte language support

This commit is contained in:
Baipyrus 2024-01-11 13:16:09 +01:00
parent acbf18629e
commit ec4efea745

View File

@ -386,7 +386,7 @@ vim.keymap.set('n', '<leader>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 },