Skip to content

Commit

Permalink
fix(hyprls): autostart with hyprlang filetype
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Jun 21, 2024
1 parent f43135c commit d902573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspconfig/server_configurations/hyprls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit d902573

Please sign in to comment.