From 9243584bc25ea647749ccb5a5ceaaa8760c6c43f Mon Sep 17 00:00:00 2001 From: Youtube Date: Mon, 13 Feb 2023 11:12:08 -0400 Subject: [PATCH] Changed sumneko_lua to lua_ls and add markdown_inline to nvim_treesitter --- .config/nvim/lua/josean/plugins/lsp/lspconfig.lua | 2 +- .config/nvim/lua/josean/plugins/lsp/mason.lua | 2 +- .config/nvim/lua/josean/plugins/treesitter.lua | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/josean/plugins/lsp/lspconfig.lua b/.config/nvim/lua/josean/plugins/lsp/lspconfig.lua index 78b94a3..9fc69cb 100644 --- a/.config/nvim/lua/josean/plugins/lsp/lspconfig.lua +++ b/.config/nvim/lua/josean/plugins/lsp/lspconfig.lua @@ -90,7 +90,7 @@ lspconfig["emmet_ls"].setup({ }) -- configure lua server (with special settings) -lspconfig["sumneko_lua"].setup({ +lspconfig["lua_ls"].setup({ capabilities = capabilities, on_attach = on_attach, settings = { -- custom settings for lua diff --git a/.config/nvim/lua/josean/plugins/lsp/mason.lua b/.config/nvim/lua/josean/plugins/lsp/mason.lua index a03755a..a1dec3e 100644 --- a/.config/nvim/lua/josean/plugins/lsp/mason.lua +++ b/.config/nvim/lua/josean/plugins/lsp/mason.lua @@ -26,7 +26,7 @@ mason_lspconfig.setup({ "html", "cssls", "tailwindcss", - "sumneko_lua", + "lua_ls", "emmet_ls", }, -- auto-install configured servers (with lspconfig) diff --git a/.config/nvim/lua/josean/plugins/treesitter.lua b/.config/nvim/lua/josean/plugins/treesitter.lua index 8168caf..9ba6aaa 100644 --- a/.config/nvim/lua/josean/plugins/treesitter.lua +++ b/.config/nvim/lua/josean/plugins/treesitter.lua @@ -24,6 +24,7 @@ treesitter.setup({ "html", "css", "markdown", + "markdown_inline", "svelte", "graphql", "bash",