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
:Prettier doesn't do anything without null-ls integrated #29
Comments
Can you share a minimal reproducible example? |
temp.vim set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath=&runtimepath
call plug#begin()
Plug 'nvim-lua/plenary.nvim' "null-ls depends on this
Plug 'neovim/nvim-lspconfig' "prettier depends on this
Plug 'jose-elias-alvarez/null-ls.nvim' "comment out this one and it doesn't work
Plug 'MunifTanjim/prettier.nvim'
call plug#end()
lua <<EOF
local prettier = require("prettier")
prettier.setup({
bin = 'prettier', -- or `'prettierd'` (v0.23.3+)
filetypes = {
"css",
"graphql",
"javascript",
"javascriptreact",
"json",
"less",
"scss",
"typescript",
"typescriptreact",
},
})
EOF And then I run: nvim -u temp.vim index.js |
|
I see. Do you want to keep it that way? null-ls is gonna be archived soon too. |
We would eventually move away from |
In the meantime, I suggest that For me, right now, it fails silently, and that's one of the worst ways to fail 😄 |
doesnt do anything for me with null-ls |
Hi, as per the title running
:Prettier
doesn't seem to do anything without null-ls integrationI don't want prettier integrated in to lsp, I just want it separately. Is it possible to make it work without lsp integration?
The text was updated successfully, but these errors were encountered: