From 3f0d9ddefbe5db23c89695ac150c2aa05d28b003 Mon Sep 17 00:00:00 2001 From: Access Date: Fri, 14 Oct 2022 13:10:35 +0800 Subject: [PATCH] fix: update qml filetype same as treesitter (#2168) --- lua/lspconfig/server_configurations/qml_lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lspconfig/server_configurations/qml_lsp.lua b/lua/lspconfig/server_configurations/qml_lsp.lua index 832e9787cf..0f334a3216 100644 --- a/lua/lspconfig/server_configurations/qml_lsp.lua +++ b/lua/lspconfig/server_configurations/qml_lsp.lua @@ -3,7 +3,7 @@ local util = require 'lspconfig.util' return { default_config = { cmd = { 'qml-lsp' }, - filetypes = { 'qml' }, + filetypes = { 'qmljs' }, root_dir = util.root_pattern '*.qml', }, docs = {