From 50016f5c16dc803f2315e544e0e9273c0a6edfd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 16 Dec 2023 18:19:49 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(nvim):=20add=20js?= =?UTF-8?q?=20and=20jsreact=20to=20graphql=20ft?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/lang/web/graphql.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/lang/web/graphql.lua b/.config/nvim/lua/plugins/extras/lang/web/graphql.lua index 744ffbff..8c211346 100644 --- a/.config/nvim/lua/plugins/extras/lang/web/graphql.lua +++ b/.config/nvim/lua/plugins/extras/lang/web/graphql.lua @@ -11,10 +11,9 @@ return { "neovim/nvim-lspconfig", dependencies = {}, opts = { - -- make sure mason installs the server servers = { graphql = { - filetypes = { "graphql", "typescript", "typescriptreact" }, + filetypes = { "graphql", "javascript", "javascriptreact", "typescript", "typescriptreact" }, }, }, },