Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Conflicting formatters? #617

Discussion options

You must be logged in to vote

So the log level display is a bug that should be fixed by 6d90daf. Using your config, I can correctly see the debug output when running :NullLsLog or directly opening the file. That output is showing that all of your defined formatters are running in sequence on a JavaScript file. For example, given the following content (including the trailing newlines):

console.log( "hi" )      



Running vim.lsp.buf.formatting() with your config results in the following debug output:

[TRACE Tue Jan 25 17:30:56 2022] .../site/pack/packer/start/null-ls.nvim/lua/null-ls/rpc.lua:118: received LSP request for method textDocument/formatting
[TRACE Tue Jan 25 17:30:56 2022] ...ack/packer/start/null-ls.nvim/…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ctranstrum
Comment options

@ctranstrum
Comment options

@jose-elias-alvarez
Comment options

@ctranstrum
Comment options

Answer selected by ctranstrum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants