diff options
| author | Micah Halter <micah@mehalter.com> | 2024-06-22 02:24:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-22 14:24:49 +0800 |
| commit | 3ff0322f35393648e34e49fa4dbd94a034311e1f (patch) | |
| tree | f00ac84f49a12792898699308b4b3ddb7d77d4d9 /lua | |
| parent | fix(fsautocomplete): lint fix (#3214) (diff) | |
| download | nvim-lspconfig-3ff0322f35393648e34e49fa4dbd94a034311e1f.tar nvim-lspconfig-3ff0322f35393648e34e49fa4dbd94a034311e1f.tar.gz nvim-lspconfig-3ff0322f35393648e34e49fa4dbd94a034311e1f.tar.bz2 nvim-lspconfig-3ff0322f35393648e34e49fa4dbd94a034311e1f.tar.lz nvim-lspconfig-3ff0322f35393648e34e49fa4dbd94a034311e1f.tar.xz nvim-lspconfig-3ff0322f35393648e34e49fa4dbd94a034311e1f.tar.zst nvim-lspconfig-3ff0322f35393648e34e49fa4dbd94a034311e1f.zip | |
fix(hyprls): autostart with hyprlang filetype (#3215)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/hyprls.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/hyprls.lua b/lua/lspconfig/server_configurations/hyprls.lua index 1a290237..f967127c 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, }, |
