-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(gh_actions_ls): use root_dir
to decide whether to attach
#3558
Conversation
This saves the user the extra setup work of copypasting the `vim.filetype.add` snippet, making this language server work out of the box. Implementation of this suggestion: https://github.com/neovim/nvim-lspconfig/pull/3551/files#r1912833011
I agree that this is probably a sensible default and less manual maintenance for users. Although personally, I am not a fan of the runtime check and will likely continue using the special filetype as it keeps things tidier. |
Co-authored-by: glepnir <[email protected]>
Agreed. I have never seen a |
d'oh. That was meant for the |
Oh sorry I saw In any case, avoiding the need for users to manually call |
Co-authored-by: Justin M. Keyes <[email protected]>
cc @disrupted
This saves the user the extra setup work of copypasting the
vim.filetype.add
snippet, making this language server work out of the box.Follow-up to #3551, on this suggestion: https://github.com/neovim/nvim-lspconfig/pull/3551/files#r1912833011