Skip to content

Commit

Permalink
chore: further improve comment
Browse files Browse the repository at this point in the history
Co-authored-by: Justin M. Keyes <[email protected]>
  • Loading branch information
chrisgrieser and justinmk authored Jan 13, 2025
1 parent b8d5ba6 commit 5222570
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/lspconfig/configs/gh_actions_ls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ return {
root_dir = function(filename)
return filename:find('/%.github/workflows/.+%.ya?ml') and util.root_pattern('.github') or nil
end,
-- Disabling "single file support" is a hack to avoid enabling this LS for
-- every random yaml file, so `root_dir()` can control the enablement.
single_file_support = false,

capabilities = {
Expand Down

0 comments on commit 5222570

Please sign in to comment.