-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bug: prettierd not installing when using prettier extras #406
Comments
I was actually overwiting Maybe you also override it in your personal config? Check the commit above to see how to fix it |
Either you should include |
Yep, that works too |
OK, the thing I don't understand then is how do all the various |
check the docs for |
Hey, I am also having the same issue - fresh install of LazyVim following the docs and added these lines:
Everything besides prettierd gets automatically installed. Manually installing prettierd through mason doesn't seem to help - it still does not get picked up by null ls. Does this mean I have to follow the steps here? If so - what is the point of the prettier extra? Sorry for hijacking the thread, seemed similar to my issue. |
same as what I mentioned before. You're overriding ensure_installed etc in your own config |
I am not sure about this - I did a quick grep in my config and didn't find any LSP related {
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"bash",
"css",
"scss",
"html",
"javascript",
"jsdoc",
"json",
"json5",
"lua",
"tsx",
"typescript",
"vim",
},
-- ...other ts options
},
} There are some examples in the |
I'd try with a clean set of config without any of your changes and only vanilla LazyVim. See if that works. |
Prettierd is not an lsp. Null-ls will always be shown as not starting automatically and in single file mode, that's all normal. |
Ah, I see. Thank you both for the help and thank you folke for making LazyVim - it is awesome! |
Revert gitsigns keymaps but fix vimdiff and fugitive conflict
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.8.3
Operating system/version
Linux
Describe the bug
I saw you added extras for ESLint and Prettier so I uninstalled them and moved my configuration to using them, commit here.
I restart and open a few JS/TS files and the ESLint LSP installs fine and works/fixes a few issues. Prettierd though doesn't install...that's not what I would expect given:
Is it maybe the case that I need to order my plugin imports in a certain fashion or that the merging only happens for top level map values or the merging only happens once?
I've also noticed the dependency string for mason is just
"mason.nvim"
in some places, is that correct?Steps To Reproduce
.
Expected Behavior
I'd expect
prettierd
to be installed.Repro
The text was updated successfully, but these errors were encountered: