From d9025737339f2d68f23222e7c124156321736254 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Fri, 21 Jun 2024 09:16:22 -0400 Subject: [PATCH] fix(hyprls): autostart with hyprlang filetype --- lua/lspconfig/server_configurations/hyprls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lspconfig/server_configurations/hyprls.lua b/lua/lspconfig/server_configurations/hyprls.lua index 1a29023778..f967127cd8 100644 --- a/lua/lspconfig/server_configurations/hyprls.lua +++ b/lua/lspconfig/server_configurations/hyprls.lua @@ -3,7 +3,7 @@ local util = require 'lspconfig.util' return { default_config = { cmd = { 'hyprls', '--stdio' }, - filetypes = { '*.hl', 'hypr*.conf', '.config/hypr/*.conf' }, + filetypes = { 'hyprlang', '*.hl', 'hypr*.conf', '.config/hypr/*.conf' }, root_dir = util.find_git_ancestor, single_file_support = true, },